From: Paul J R Date: Thu, 25 Oct 2012 18:01:39 +0000 (+1100) Subject: removing some debugging from the git-http-backend core stuff X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=f4aa66bfa1ab7c6de7ee8e043384e50b6948ca00;p=gwvp-mini.git removing some debugging from the git-http-backend core stuff --- diff --git a/gwvpmini/gwvpmini_gitbackend.php b/gwvpmini/gwvpmini_gitbackend.php index 5fe188a..8ea3511 100644 --- a/gwvpmini/gwvpmini_gitbackend.php +++ b/gwvpmini/gwvpmini_gitbackend.php @@ -335,7 +335,7 @@ function gwvpmini_callGitBackend($username, $repo) if(isset($headers["Content-Length"])) { $cl = $headers["Content-Length"]; while(strlen($from_client_data) < $cl) { - error_log("re-read ".strlen($from_client_data)); + error_log("re-read ".strlen($from_client_data)." of $cl"); $from_client_data .= fread($fh, $cl); } } else $from_client_data = fread($fh,8192); @@ -350,6 +350,8 @@ function gwvpmini_callGitBackend($username, $repo) } } if($from_client_data !== false) { + + // push the data from the client straight to backend fwrite($pipes[0], $from_client_data); //fwrite($fp, $from_client_data); }