mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-05 01:53:32 +01:00
68e430a6fb
Another part of 11792.
16 lines
683 B
Plaintext
16 lines
683 B
Plaintext
o Minor features (security, OOM):
|
|
- When closing an edge connection because we've run out of memory,
|
|
also count the amount of memory that any tunnelled directory
|
|
connection attached to that connection had consumed. Part of
|
|
ticket 11792.
|
|
|
|
- When considering whether we're running low on memory, consider
|
|
memory that was allocated as part of zlib buffers as well.
|
|
Count that memory as reclaimed by our OOM handler. Part of
|
|
ticket 11792.
|
|
|
|
- When handling out-of-memory conditions, also look at
|
|
non-tunnneled directory connections, and kill the ones that have
|
|
had data sitting on them for the longest. Part of ticket 11792.
|
|
|