X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FQspawn.pm;h=5d3ec30926cdb5be848c0a38df738428af4ecbc9;hb=5b92ed1384511d1a16813aabd7c902d93b87603b;hp=7984e35a80510ffdf09cbb7f5e325ecd9eb764a0;hpb=a12cd80b5821cf5cb2c8672aad0fba94c451f728;p=public-inbox.git diff --git a/lib/PublicInbox/Qspawn.pm b/lib/PublicInbox/Qspawn.pm index 7984e35a..5d3ec309 100644 --- a/lib/PublicInbox/Qspawn.pm +++ b/lib/PublicInbox/Qspawn.pm @@ -210,6 +210,13 @@ sub rd_hdr ($) { if ($@) { warn "parse_hdr: $@"; $ret = [ 500, [], [ "Internal error\n" ] ]; + } elsif (!defined($ret) && !$r) { + my $cmd = $self->{cmd} // [ '(?)' ]; + my $env = $self->{psgi_env}; + warn <{psgi_env}->{REQUEST_URI}) +EOM + $ret = [ 500, [], [ "Internal error\n" ] ]; } } else { # caller should notify us when it's ready: