Solve and understand HTTP Error 414: Request-URI Too Large

Mads Kiilerich mads at kiilerich.com
Tue Aug 26 16:43:25 UTC 2014


On 08/26/2014 01:44 PM, Daniel Siepmann wrote:
> Hello everyone,
>
> the error "HTTP Error 414: Request-URI Too Large" occurs regularly on 
> our project.
> We develop new features in their own branches and some colleagues 
> don't close them.
> If someone in our team doesn't pull often, he will get the error "HTTP 
> Error 414: Request-URI Too Large".
>
> We raised the limits on our web server, but I want to understand why 
> this problem exists.
> How does mercurial generate the URLs for a pull-Request? Why does this 
> url become longer and longer over time?
> And is there a way to solve this problem instead of raising the limits 
> on server side?
>
> Currently we just pull the important branches to "solve" the problem. 
> But that's just a workaround.

http://selenic.com/hg/rev/510cafe72004  is another workaround for the 
bad use of Mercurial - it will make the request half as big.

/Mads



More information about the Mercurial mailing list