mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
79798a2363
If setrlimit() failed, max_out wasn't set in set_max_file_descriptors() ending in a state where we don't use ULIMIT_BUFFER for things like tor private key files. Also fix the set_max_file_descriptors() documentation. Fixes #16274 Signed-off-by: David Goulet <dgoulet@ev0ke.net>
6 lines
281 B
Plaintext
6 lines
281 B
Plaintext
o Minor bugfix (open file limit):
|
|
- Fix set_max_file_descriptors() to set by default the max open file
|
|
limit to the current limit in case setrlimit() fails so we at least
|
|
have a usable value; Fixes #16274; bugfix on tor-0.2.0.10-alpha~71;
|
|
Patch by dgoulet.
|