From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 593821F87C for ; Thu, 19 Oct 2023 12:40:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1697719221; bh=aaIZf5Ilg2q7KTmvwGTOwqpCoVQmFaw9jH8P89uih/4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bV6ll0t4DWiiTM1zl6QBYw/10nfl25POllF88jkpiaeRxjyVFKA76/PPTrEikQoaR HW4RI1rCBadBh1UK4D5Gcyq/eq8TuTWdvVD1j60Kf0MmrRMM4Uf1siG92V8hXEFSqy HNE8tMT9YstTtyHsKCTd+73RvRM/Z42K2yZP3714= From: Eric Wong To: spew@80x24.org Subject: [PATCH 15/18] www_coderepo: psgi_yield Date: Thu, 19 Oct 2023 12:40:15 +0000 Message-ID: <20231019124018.2109632-15-e@80x24.org> In-Reply-To: <20231019124018.2109632-1-e@80x24.org> References: <20231019124018.2109632-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: --- 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