← Back to team overview

dulwich-users team mailing list archive

Re: Traceback when testing the web server

 

On Tue, Mar 1, 2011 at 4:39 PM, Dave Borowitz <dborowitz@xxxxxxxxxx> wrote:
> On Tue, Mar 1, 2011 at 13:27, David Blewett <david@xxxxxxxxxxxxxxxx> wrote:
>> Indeed, that was the problem. I looked around and couldn't find a way
>> to disable this behavior in Git,
>
> Last I checked it was hard-coded over a certain (also hard-coded) threshold,
> unfortuantely.

I found this in the man page for git-config, but I'm not sure it's
what we're after:

       http.postBuffer
           Maximum size in bytes of the buffer used by smart HTTP transports
           when POSTing data to the remote system. For requests larger than
           this buffer size, HTTP/1.1 and Transfer-Encoding: chunked is used
           to avoid creating a massive pack file locally. Default is 1 MiB,
           which is sufficient for most requests.

I couldn't figure out where to set that, or what units it was using etc.

>> but I couldn't find any such
>> in a cursory look last night.
>
> I haven't even done that :). I would not be opposed to rolling our own, both
> because it doesn't seem very complicated and because Jelmer doesn't like
> adding required third-party dependencies.

Yeah, I think I could get something to work this week/weekend maybe.

Thanks,

David Blewett



Follow ups

References