From: Paul J R Date: Thu, 25 Oct 2012 05:36:56 +0000 (+1100) Subject: need to understand how git and cgi interact across versions... whether X-Git-Url: http://git.pjr.cc/?a=commitdiff_plain;h=a48b0aeb6ebace96e4da61738641b87ff4240c5f;p=gwvp-mini.git 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" --- 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") {