mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 22:58:50 +01:00
Part of 11792. (Uses the zlib-endorsed formula for memory needs for inflate/deflate from "zconf.h".)
11 lines
482 B
Text
11 lines
482 B
Text
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.
|
|
|