The solution is to put this into the server side hgrc:
[experimental]
httppostargs = true


On Tue, Jul 23, 2024 at 5:48 PM Manuel Jacob <m...@manueljacob.de> wrote:

> Hi Ansis,
>
> Were you able to find the root cause of the problem? I’m asking because
> someone has reported a similar problem to the bug tracker:
> https://bz.mercurial-scm.org/show_bug.cgi?id=6896
>
> On 03/10/2021 15.45, Ansis Māliņš wrote:
> > Hello. I have a repository with lots of largefiles. Since recently,
> > people have trouble cloning it over HTTP. It fails at the step of
> > "getting changed largefiles". Cloning with --noupdate succeeds, but then
> > hg update default hangs Mercurial, and pressing Ctrl+C has it print "431
> > Too Many Headers" as it quits. The repository is a hg serve behind an
> > Nginx. Looking at the logs, I've determined that the error is coming
> > from hg serve and not Nginx. I have also determined that the issue only
> > occurs when Nginx is in the loop. Talking directly to hg serve succeeds.
> >
> > The relevant Nginx config is as follows:
> >
> > large_client_header_buffers 4 1m;
> > location /hg/ {
> >      proxy_pass http://127.0.0.1:8000/ <http://127.0.0.1:8000/>;
> >      client_max_body_size 10g;
> >      proxy_buffering off;
> >      proxy_request_buffering off;
> > }
> >
> > Where should I go from here?
> >
> > _______________________________________________
> > Mercurial mailing list
> > mercur...@mercurial-scm.org
> > https://www.mercurial-scm.org/mailman/listinfo/mercurial
>
>
_______________________________________________
Mercurial mailing list
Mercurial@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to