[PATCH] wireproto: use base64 instead of hex for known/getbundle

Sune Foldager cryo at cyanite.org
Tue May 3 10:46:20 CDT 2011


On Tue, May 03, 2011 at 10:17:22 -0500, Matt Mackall wrote:
>On Tue, 2011-05-03 at 16:46 +0200, Sune Foldager wrote:
>> On Tue, May 03, 2011 at 09:27:33AM -0500, Matt Mackall wrote:
>> >
>> >My concern here is that we want to make sure the new mode is heavily
>> >field-tested. If it only triggers for pathological cases, that won't
>> >happen.
>>
>> Makes sense... we could also make a config option (on the server), and
>> have it send both max and min size (it already sends max now).. might be
>> a bit excessive, though.
>
>Probably just want a way to turn it off entirely on the server for
>debugging.

Alright, this can be done by making the maxheadersize configurable, and then
setting it to 0. We could call it server.maxheadersize or server.maxhttpheadersize?
I can make a patch for it.


More information about the Mercurial-devel mailing list