From a2754d418dffb6188717d5e84d9bea59a2c9853b Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 11 Sep 2013 13:30:45 -0400 Subject: 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. --- changes/bug9716 | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 changes/bug9716 (limited to 'changes') diff --git a/changes/bug9716 b/changes/bug9716 new file mode 100644 index 000000000..5e3907717 --- /dev/null +++ b/changes/bug9716 @@ -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. -- cgit v1.2.3