need to understand how git and cgi interact across versions... whether
authorPaul J R <me@pjr.cc>
Thu, 25 Oct 2012 05:36:56 +0000 (16:36 +1100)
committerPaul J R <me@pjr.cc>
Thu, 25 Oct 2012 05:36:56 +0000 (16:36 +1100)
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

index 3f57c58..27ccee7 100644 (file)
@@ -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") {