about summary refs log tree commit homepage
path: root/lib/PublicInbox/Qspawn.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/Qspawn.pm')
-rw-r--r--lib/PublicInbox/Qspawn.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/Qspawn.pm b/lib/PublicInbox/Qspawn.pm
index da7cd74f..6e245389 100644
--- a/lib/PublicInbox/Qspawn.pm
+++ b/lib/PublicInbox/Qspawn.pm
@@ -187,7 +187,7 @@ sub event_step {
         my ($self, $err) = @_; # $err: $!
         warn "psgi_{return,qx} $err" if defined($err);
         finish($self);
-        my ($fh, $qx_fh) = delete(@$self{qw(fh qx_fh)});
+        my ($fh, $qx_fh) = delete(@$self{qw(qfh qx_fh)});
         $fh->close if $fh; # async-only (psgi_return)
 }
 
@@ -242,7 +242,7 @@ sub psgi_return_init_cb {
                 # done reading headers, handoff to read body
                 my $fh = $wcb->($r); # scalar @$r == 2
                 $fh = $filter->attach($fh) if $filter;
-                $self->{fh} = $fh;
+                $self->{qfh} = $fh;
                 $async->async_pass($env->{'psgix.io'}, $fh,
                                         delete($self->{hdr_buf}));
         } else { # for synchronous PSGI servers