diff options
author | Eric Wong <e@80x24.org> | 2023-10-25 00:29:38 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-10-25 07:28:41 +0000 |
commit | 6fe457251172f2f59a4e0a89be2a56913e88f2ad (patch) | |
tree | fded62a46fc0eb483c67f17f25f7371409a6f3dd /lib | |
parent | 89124fb85602eff40fe0dd608937f54cc8977592 (diff) | |
download | public-inbox-6fe457251172f2f59a4e0a89be2a56913e88f2ad.tar.gz |
Yet another drop-in replacement for psgi_return.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/WwwCoderepo.pm | 2 |
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 |