On Thu, Mar 30, 2017 at 1:29 PM, David Turner <dturner@xxxxxxxxxxxx> wrote: > Unfortunately, in order to push some large repos, the http postbuffer > must sometimes exceed two gigabytes. On a 64-bit system, this is OK: > we just malloc a larger buffer. I'm slightly curious what server you are pushing to that needs the entire thing buffered to compute a Content-Length, rather than using Transfer-Encoding: chunked. Most Git-over-HTTP should be accepting Transfer-Encoding: chunked when the stream exceeds postBuffer.