From f4aa66bfa1ab7c6de7ee8e043384e50b6948ca00 Mon Sep 17 00:00:00 2001 From: Paul J R Date: Fri, 26 Oct 2012 05:01:39 +1100 Subject: [PATCH] removing some debugging from the git-http-backend core stuff --- gwvpmini/gwvpmini_gitbackend.php | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) 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); } -- 1.7.0.4