]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: set TCP_DEFER_ACCEPT on everything but NNTP
authorEric Wong <e@80x24.org>
Mon, 24 Jun 2019 02:52:53 +0000 (02:52 +0000)
committerEric Wong <e@80x24.org>
Mon, 24 Jun 2019 05:26:27 +0000 (05:26 +0000)
commit4e1a84c2a97c319862c960a34e3a7a8bf31d5274
tree15ff2c3a3d241bec1ab34eccca73444c2fcdbf85
parentce8cdcd68fd899d28b5d7c0354883b0cb33fc4d6
daemon: set TCP_DEFER_ACCEPT on everything but NNTP

This Linux-specific option can save us some wakeups during
the TLS negotiation phase, and it can help with ordinary HTTP,
too.

Plain NNTP (and in the future, POP3) are the only things which
require the server send messages, first.
lib/PublicInbox/Daemon.pm
t/httpd-corner.t
t/httpd.t
t/nntpd-tls.t