diff options
author | David Goulet <dgoulet@torproject.org> | 2021-06-18 14:29:15 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-06-18 14:29:15 -0400 |
commit | 270398fa313bad3ff8f568f3290045572a9ca64a (patch) | |
tree | 730164d90c4dc41e3aeac382a73bc8e6c7cfb70d /src/feature/dirclient | |
parent | 3f73ab3f0dbd717c464c8fa899413d6a20df3587 (diff) | |
parent | 2c00ad36cd6808423821fc32a072a7f16e8509e5 (diff) | |
download | tor-270398fa313bad3ff8f568f3290045572a9ca64a.tar.gz tor-270398fa313bad3ff8f568f3290045572a9ca64a.zip |
Merge branch 'maint-0.4.6'
Diffstat (limited to 'src/feature/dirclient')
-rw-r--r-- | src/feature/dirclient/dirclient.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/feature/dirclient/dirclient.c b/src/feature/dirclient/dirclient.c index 74c6452061..a2b20621a0 100644 --- a/src/feature/dirclient/dirclient.c +++ b/src/feature/dirclient/dirclient.c @@ -1907,8 +1907,7 @@ dir_client_decompress_response_body(char **bodyp, size_t *bodylenp, /* If we're pretty sure that we have a compressed directory, and * we didn't manage to uncompress it, then warn and bail. */ if (!plausible && !new_body) { - const int LOG_INTERVAL = 3600; - static ratelim_t warning_limit = RATELIM_INIT(LOG_INTERVAL); + static ratelim_t warning_limit = RATELIM_INIT(60 * 60); log_fn_ratelim(&warning_limit, LOG_WARN, LD_HTTP, "Unable to decompress HTTP body (tried %s%s%s, on %s).", description1, |