From: Eric Wong Date: Wed, 25 Oct 2023 00:29:34 +0000 (+0000) Subject: repo_snapshot: psgi_yield X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81e82a7fc391059a799f7799d3ae579cc8462ee2;p=thirdparty%2Fpublic-inbox.git repo_snapshot: psgi_yield Another drop-in replacement for psgi_return. --- diff --git a/lib/PublicInbox/RepoSnapshot.pm b/lib/PublicInbox/RepoSnapshot.pm index ebcbbd815..6b7441b00 100644 --- a/lib/PublicInbox/RepoSnapshot.pm +++ b/lib/PublicInbox/RepoSnapshot.pm @@ -58,7 +58,7 @@ sub ver_check { # git->check_async callback "--git-dir=$ctx->{git}->{git_dir}", 'archive', "--prefix=$ctx->{snap_pfx}/", "--format=$ctx->{snap_fmt}", $treeish]); - $qsp->psgi_return($ctx->{env}, undef, \&archive_hdr, $ctx); + $qsp->psgi_yield($ctx->{env}, undef, \&archive_hdr, $ctx); } }