From a48b0aeb6ebace96e4da61738641b87ff4240c5f Mon Sep 17 00:00:00 2001 From: Paul J R Date: Thu, 25 Oct 2012 16:36:56 +1100 Subject: [PATCH] need to understand how git and cgi interact across versions... whether its "heres a bunch of post data, heres a response, end of request" or "post data, response, more postdata, response, end request" --- gwvpmini/gwvpmini_gitbackend.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gwvpmini/gwvpmini_gitbackend.php b/gwvpmini/gwvpmini_gitbackend.php index 3f57c58..27ccee7 100644 --- a/gwvpmini/gwvpmini_gitbackend.php +++ b/gwvpmini/gwvpmini_gitbackend.php @@ -339,7 +339,7 @@ function gwvpmini_callGitBackend($username, $repo) $from_client_data = fread($fh,8192); // TODO: BIG TODO: must rewrite this bit. I need to read the entire client bit if its posting in one piece so i can then decode. - // if the client sends more then 8192, i could be very well screwed. + // if the client sends more then 8192, i could be very well screwed. must handle content-length on read... if(isset($headers["Content-Encoding"])) { if($headers["Content-Encoding"] == "gzip") { -- 1.7.0.4