]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/GitHTTPBackend.pm
git-http-backend: do not drop connection on successful finish
[public-inbox.git] / lib / PublicInbox / GitHTTPBackend.pm
index 020b08869699af7cf9301d27b1282795cfaefd99..abb70dfa667e44792cd5c22b769618437a7e9cd2 100644 (file)
@@ -259,10 +259,7 @@ sub serve_smart {
                if (defined $pid) {
                        my $e = $pid == waitpid($pid, 0) ?
                                $? : "PID:$pid still running?";
-                       if ($e) {
-                               err($env, "git http-backend ($git_dir): $e");
-                               drop_client($env);
-                       }
+                       err($env, "git http-backend ($git_dir): $e") if $e;
                }
                return unless $res;
                my $dumb = serve_dumb($cgi, $git, $path);