mirror of
https://abf.rosa.ru/djam/tor.git
synced 2025-02-23 17:42:46 +00:00
0.4.5.11 and fix build
This commit is contained in:
parent
66e7503439
commit
7089e161f3
1 changed files with 20 additions and 0 deletions
20
tor-fix-build.patch
Normal file
20
tor-fix-build.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
*** 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,
|
Loading…
Add table
Reference in a new issue