From: Eric Wong Date: Mon, 24 Jun 2019 02:52:23 +0000 (+0000) Subject: httpd/async: remove EINTR check X-Git-Tag: v1.2.0~156^2~37 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=fd533491c3dd1ca032deaddc66a42423354e828f;p=public-inbox.git 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 --- 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