diff options
author | Eric Wong <e@80x24.org> | 2019-06-24 02:52:23 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-06-24 05:26:26 +0000 |
commit | fd533491c3dd1ca032deaddc66a42423354e828f (patch) | |
tree | 57de6f08504b09951024558876cf62fce0615299 /lib/PublicInbox/HTTPD/Async.pm | |
parent | ca05b93cddfa2cc495451410222af3753bfe1b4e (diff) | |
download | public-inbox-fd533491c3dd1ca032deaddc66a42423354e828f.tar.gz |
This pipe is always non-blocking when run under public-inbox-httpd and it won't fail with EINTR in that case
Diffstat (limited to 'lib/PublicInbox/HTTPD/Async.pm')
-rw-r--r-- | lib/PublicInbox/HTTPD/Async.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 |