Change listen() backlog from -1 to 128.
authorEmil Mikulic <emikulic@gmail.com>
Sun, 8 Jul 2012 11:45:22 +0000 (21:45 +1000)
committerEmil Mikulic <emikulic@gmail.com>
Tue, 6 Aug 2013 08:31:08 +0000 (18:31 +1000)
commit316b3013b0ee2aa689dc167828f3c73574dc9e0b
treef4176bd1b3369695a7bd8edc7b1979e7cc7bb421
parente6b8b9084cfa502097469dff8651451131c2fe25
Change listen() backlog from -1 to 128.

Without this change, I get occasional second-long pauses (TCP SYN
retransmit delay) when the darkstat http server is running on
NetBSD 5.1.2, because it interprets -1 as 1 and ignores simultaneous
connection attempts.
http.c