about summary refs log tree commit homepage
path: root/lib/PublicInbox/GitHTTPBackend.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-09-17 08:31:21 +0000
committerEric Wong <e@80x24.org>2019-09-17 08:31:46 +0000
commitdce9ca5f952b0fe50caa2ac4e59c85139a17cfca (patch)
treefc356e3c39dbaf9d00b69ac5e75da41a239b05f7 /lib/PublicInbox/GitHTTPBackend.pm
parent685da5f572042faa54fb4479c222d4f2d258e2ed (diff)
downloadpublic-inbox-dce9ca5f952b0fe50caa2ac4e59c85139a17cfca.tar.gz
Naming $start_cb consistently helps avoid confusing new readers,
and some comments will help with understanding flow
Diffstat (limited to 'lib/PublicInbox/GitHTTPBackend.pm')
-rw-r--r--lib/PublicInbox/GitHTTPBackend.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/GitHTTPBackend.pm b/lib/PublicInbox/GitHTTPBackend.pm
index c9a7cff8..ec8e6516 100644
--- a/lib/PublicInbox/GitHTTPBackend.pm
+++ b/lib/PublicInbox/GitHTTPBackend.pm
@@ -204,7 +204,7 @@ sub serve_smart {
         $env{PATH_TRANSLATED} = "$git->{git_dir}/$path";
         my $rdr = input_prepare($env) or return r(500);
         my $qsp = PublicInbox::Qspawn->new([qw(git http-backend)], \%env, $rdr);
-        $qsp->psgi_return($env, $limiter, sub {
+        $qsp->psgi_return($env, $limiter, sub { # parse_hdr
                 my ($r, $bref) = @_;
                 my $res = parse_cgi_headers($r, $bref) or return; # incomplete
                 $res->[0] == 403 ? serve_dumb($env, $git, $path) : $res;