From: Eric Wong Date: Wed, 3 Jul 2024 10:52:02 +0000 (+0000) Subject: qspawn: avoid redundantly setting O_NONBLOCK X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8289957a008160348612d79fd0564a95636024dd;p=thirdparty%2Fpublic-inbox.git qspawn: avoid redundantly setting O_NONBLOCK PublicInbox::InputPipe::consume already sets it when it sees a pipe or socket. --- diff --git a/lib/PublicInbox/Qspawn.pm b/lib/PublicInbox/Qspawn.pm index 0bf857c6c..cde45b423 100644 --- a/lib/PublicInbox/Qspawn.pm +++ b/lib/PublicInbox/Qspawn.pm @@ -245,7 +245,6 @@ sub _yield_start { # may run later, much later... my ($self) = @_; if ($self->{psgi_env}->{'pi-httpd.async'}) { my $rpipe = $self->{rpipe}; - $rpipe->blocking(0); PublicInbox::InputPipe::consume($rpipe, \&ipipe_cb, $self); } else { require PublicInbox::GetlineResponse;