mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 14:23:04 +01:00
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>
5 lines
281 B
Text
5 lines
281 B
Text
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.
|