about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-12-26 09:58:02 +0000
committerEric Wong <e@80x24.org>2016-12-26 10:06:14 +0000
commitae7bb15b33e870c5823e4f31dda527474c57b42b (patch)
treef3b00410d4b7429c9a684ac1cdb04bb2731cd279 /lib
parent65ed2d84d4d87c7c94dee9e880f694a8607a4d1c (diff)
downloadpublic-inbox-ae7bb15b33e870c5823e4f31dda527474c57b42b.tar.gz
It is never used, and inappropriate to support in generic code.

HTTPD::Async already sets non-blocking, and it's better to do it
in -httpd-specific code since we know our -httpd can handle it.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/Spawn.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/PublicInbox/Spawn.pm b/lib/PublicInbox/Spawn.pm
index 41b08a33..e543be54 100644
--- a/lib/PublicInbox/Spawn.pm
+++ b/lib/PublicInbox/Spawn.pm
@@ -190,8 +190,6 @@ sub popen_rd {
         my ($cmd, $env, $opts) = @_;
         pipe(my ($r, $w)) or die "pipe: $!\n";
         $opts ||= {};
-        my $blocking = $opts->{Blocking};
-        IO::Handle::blocking($r, $blocking) if defined $blocking;
         $opts->{1} = fileno($w);
         my $pid = spawn($cmd, $env, $opts);
         return unless defined $pid;