mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Try using INT_MAX, not SOMAXCONN, to set listen() backlog.
Fall back to SOMAXCONN if INT_MAX doesn't work. We'd like to do this because the actual maximum is overrideable by the kernel, and the value in the header file might not be right at all. All implementations I can find out about claim that this is supported. Fix for 9716; bugfix on every Tor.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
o Bugfixes (performance):
|
||||
- Set the listen() backlog limit to the largest actually supported
|
||||
on the system, not to the value in a header file. Fixes bug 9716;
|
||||
bugfix on every released Tor.
|
||||
Reference in New Issue
Block a user