diff options
author | David Goulet <dgoulet@torproject.org> | 2018-02-02 10:15:28 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-02-02 14:48:41 -0500 |
commit | 51839f47650463f59bd2cc84da05d5bc535d699d (patch) | |
tree | 0d75973ecb70a578e0c9db02fe1643e0afaabf61 /changes/ticket25122 | |
parent | a2aaf9509ba578f4e7705b506ee9a0f764d24ff2 (diff) | |
download | tor-51839f47650463f59bd2cc84da05d5bc535d699d.tar.gz tor-51839f47650463f59bd2cc84da05d5bc535d699d.zip |
geoip: Hook the client history cache into the OOM handler
If the cache is using 20% of our maximum allowed memory, clean 10% of it. Same
behavior as the HS descriptor cache.
Closes #25122
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'changes/ticket25122')
-rw-r--r-- | changes/ticket25122 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changes/ticket25122 b/changes/ticket25122 new file mode 100644 index 0000000000..2921811b22 --- /dev/null +++ b/changes/ticket25122 @@ -0,0 +1,4 @@ + o Minor feature (geoip cache): + - Make our OOM handler aware of the geoip client history cache so it + doesn't fill up the memory which is especially important for IPv6 and + our DoS mitigation subsystem. Closes ticket 25122. |