From: Shawn Pearce Date: Thu, 30 Mar 2017 20:42:09 GMT Subject: Re: [PATCH] http.postbuffer: make a size_t Message-ID: In-Reply-To: <20170330202917.24281-1-dturner@twosigma.com> On Thu, Mar 30, 2017 at 1:29 PM, David Turner 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.