Thread (5 messages) 5 messages, 4 authors, 2017-03-31

Re: [PATCH] http.postbuffer: make a size_t

From: Shawn Pearce <hidden>
Date: 2017-03-30 20:42:35

On Thu, Mar 30, 2017 at 1:29 PM, David Turner [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help