about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/WwwCoderepo.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/WwwCoderepo.pm b/lib/PublicInbox/WwwCoderepo.pm
index 68c4c86d..6e19fc02 100644
--- a/lib/PublicInbox/WwwCoderepo.pm
+++ b/lib/PublicInbox/WwwCoderepo.pm
@@ -277,7 +277,7 @@ sub refs_foo { # /$REPO/refs/{heads,tags} endpoints
         $ctx->{-heads} = 1 if $pfx eq 'refs/heads';
         my $qsp = PublicInbox::Qspawn->new([@EACH_REF, $pfx ],
                                         { GIT_DIR => $ctx->{git}->{git_dir} });
-        $qsp->psgi_return($ctx->{env}, undef, \&_refs_parse_hdr, $ctx);
+        $qsp->psgi_yield($ctx->{env}, undef, \&_refs_parse_hdr, $ctx);
 }
 
 sub srv { # endpoint called by PublicInbox::WWW