Yet another drop-in replacement for psgi_return.
---
 lib/PublicInbox/WwwCoderepo.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

Reply via email to