From 02604bafe9e34e4aabeee63122daa2b7702a09b1 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 31 Jan 2019 08:17:15 +0000 Subject: qspawn: documentation updates This will become critical for future changes to display git commits, diffs, and trees. Use "qspawn.wcb" instead of "qspawn.response" to enhance readability. --- lib/PublicInbox/ViewVCS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/ViewVCS.pm') diff --git a/lib/PublicInbox/ViewVCS.pm b/lib/PublicInbox/ViewVCS.pm index 63731e92..1e8c31f2 100644 --- a/lib/PublicInbox/ViewVCS.pm +++ b/lib/PublicInbox/ViewVCS.pm @@ -54,7 +54,7 @@ sub stream_large_blob ($$$$) { my $qsp = PublicInbox::Qspawn->new($cmd); my @cl = ('Content-Length', $size); my $env = $ctx->{env}; - $env->{'qspawn.response'} = delete $ctx->{-wcb}; + $env->{'qspawn.wcb'} = delete $ctx->{-wcb}; $qsp->psgi_return($env, undef, sub { my ($r, $bref) = @_; if (!defined $r) { # error -- cgit v1.2.3-24-ge0c7