mirror of
https://abf.rosa.ru/djam/tor.git
synced 2025-02-23 09:32:47 +00:00
20 lines
1,017 B
Diff
20 lines
1,017 B
Diff
*** src/feature/dirclient/dirclient.c.orig 2021-10-06 22:45:19.000000000 +0300
|
|
--- src/feature/dirclient/dirclient.c 2021-12-26 03:13:52.719851014 +0300
|
|
***************
|
|
*** 1959,1966 ****
|
|
/* 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);
|
|
log_fn_ratelim(&warning_limit, LOG_WARN, LD_HTTP,
|
|
"Unable to decompress HTTP body (tried %s%s%s, on %s).",
|
|
description1,
|
|
--- 1959,1965 ----
|
|
/* 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) {
|
|
! 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,
|