From bb8a6a435a4b7707e9fb0329c49671f495262016 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 16 Oct 2021 01:01:03 +0000 Subject: httpd/async: switch to level-triggered epoll We'll save ourselves some code here and let the kernel do more work, instead. --- lib/PublicInbox/Qspawn.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/PublicInbox/Qspawn.pm') diff --git a/lib/PublicInbox/Qspawn.pm b/lib/PublicInbox/Qspawn.pm index a1ff65b6..53d0ad55 100644 --- a/lib/PublicInbox/Qspawn.pm +++ b/lib/PublicInbox/Qspawn.pm @@ -192,7 +192,6 @@ sub event_step { sub rd_hdr ($) { my ($self) = @_; # typically used for reading CGI headers - # we must loop until EAGAIN for EPOLLET in HTTPD/Async.pm # We also need to check EINTR for generic PSGI servers. my $ret; my $total_rd = 0; -- cgit v1.2.3-24-ge0c7