]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: use FreeBSD accept filters on non-NNTP
authorEric Wong <e@80x24.org>
Mon, 24 Jun 2019 02:52:54 +0000 (02:52 +0000)
committerEric Wong <e@80x24.org>
Mon, 24 Jun 2019 05:26:27 +0000 (05:26 +0000)
commitfbcd2b5eb401a8e1811d803cef9b1c156acb50f6
tree508abd361276280bd5d53be46f92b4167309d215
parent4e1a84c2a97c319862c960a34e3a7a8bf31d5274
daemon: use FreeBSD accept filters on non-NNTP

Similar to TCP_DEFER_ACCEPT on Linux, FreeBSD has a 'dataready'
accept filter which we can use to reduce wakeups when doing
TLS negotiation or plain HTTP.  There's also a 'httpready'
which we can use for plain HTTP connections.
lib/PublicInbox/Daemon.pm
t/httpd-corner.t
t/httpd.t
t/nntpd-tls.t