diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-07-26 09:59:48 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-07-26 09:59:48 -0400 |
commit | fb7f90c181dc44ae9f23cb4d16cac25609463d9f (patch) | |
tree | 8dbd4fcac2b2a70c3089858efc219d3bd5b8879c /src/common/util.h | |
parent | 77459b97aac15949c5160ca8abb9af792f02ac73 (diff) | |
download | tor-fb7f90c181dc44ae9f23cb4d16cac25609463d9f.tar.gz tor-fb7f90c181dc44ae9f23cb4d16cac25609463d9f.zip |
Tweaks on 19435 fix:
* Raise limit: 16k isn't all that high.
* Don't log when limit exceded; log later on.
* Say "over" when we log more than we say we log.
* Add target version to changes file
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h index 837d2e9cf3..a6638aa39b 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -292,7 +292,7 @@ typedef struct ratelim_t { } ratelim_t; #define RATELIM_INIT(r) { (r), 0, 0 } -#define RATELIM_TOOMANY (16*1000) +#define RATELIM_TOOMANY (16*1000*1000) char *rate_limit_log(ratelim_t *lim, time_t now); |