From fd533491c3dd1ca032deaddc66a42423354e828f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 24 Jun 2019 02:52:23 +0000 Subject: httpd/async: remove EINTR check This pipe is always non-blocking when run under public-inbox-httpd and it won't fail with EINTR in that case --- lib/PublicInbox/HTTPD/Async.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/HTTPD') diff --git a/lib/PublicInbox/HTTPD/Async.pm b/lib/PublicInbox/HTTPD/Async.pm index f32ef009..3eb7f75a 100644 --- a/lib/PublicInbox/HTTPD/Async.pm +++ b/lib/PublicInbox/HTTPD/Async.pm @@ -57,7 +57,7 @@ sub main_cb ($$$) { } # fall through to close below... } elsif (!defined $r) { - return restart_read($self) if $!{EAGAIN} || $!{EINTR}; + return restart_read($self) if $!{EAGAIN}; } # Done! Error handling will happen in $fh->close -- cgit v1.2.3-24-ge0c7