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

Matt Mackall mpm at selenic.com
Tue May 3 10:50:40 CDT 2011


On Tue, 2011-05-03 at 17:46 +0200, Sune Foldager wrote:
> 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.

[adding Steve back into the cc:]

Let's go with maxhttpheadersize.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list