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 946871F69D for ; Thu, 19 Oct 2023 12:40:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1697719220; bh=yX6GQB7L4LCKPAiDKll9usbp1WvyT+QRbvIgIVm3lmQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=AhYUrkGC7sXWtrJV3h4nahgHwd2u/mxPeRNNxgU3KiJcQBsTIVNUmR8hD/IvU5/wy 3w1EUPO7kNYkVgO4fSFHxiAHGxZk0rhJAQttuwv5Z6edrT7HCC0SwP/ZJpSJpDZG9z 83mwo/UhtgZlpLzhicmnx2cg/c8E4xg70Zij4VNQ= From: Eric Wong To: spew@80x24.org Subject: [PATCH 11/18] repo_snapshot: psgi_yield Date: Thu, 19 Oct 2023 12:40:11 +0000 Message-ID: <20231019124018.2109632-11-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/RepoSnapshot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/RepoSnapshot.pm b/lib/PublicInbox/RepoSnapshot.pm index ebcbbd81..6b7441b0 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); } }