about summary refs log tree commit homepage
path: root/lib/PublicInbox/HTTPD
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-06-24 02:52:23 +0000
committerEric Wong <e@80x24.org>2019-06-24 05:26:26 +0000
commitfd533491c3dd1ca032deaddc66a42423354e828f (patch)
tree57de6f08504b09951024558876cf62fce0615299 /lib/PublicInbox/HTTPD
parentca05b93cddfa2cc495451410222af3753bfe1b4e (diff)
downloadpublic-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')
-rw-r--r--lib/PublicInbox/HTTPD/Async.pm2
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