Socket timeout

Augie Fackler raf at durin42.com
Mon Sep 24 12:42:01 UTC 2018


(+greg who's been in our network code a lot recently)

> On Sep 24, 2018, at 05:34, Cédric Krier via Mercurial <mercurial at mercurial-scm.org> wrote:
> 
> On 2018-09-24 09:11, Anton Shestakov wrote:
>>> But could someone confirm how the socket
>>> timeout or server hanging are managed in mercurial?
>> 
>> That depends on your server setup. There are many ways to set up
>> hgweb, e.g. front server (apache httpd, nginx, lighttpd) and upstream
>> (uwsgi, gunicorn) or server module (mod_wsgi, mod_scgi), and most of
>> them manage sockets by their own logic.
> 
> My setup is using lighttpd with fcgi (using spawn-fcgi).
> 
> But the question is more related on the client side. After how long does
> the mercurial client stop waiting answers and raise a timeout error? Is
> it possible to configure such timeout.

Greg, have you observed anyplace we could configure some global timeouts like this user is requesting? It sounds reasonable to me...

> 
> -- 
> Cédric Krier - B2CK SPRL
> Email/Jabber: cedric.krier at b2ck.com
> Tel: +32 472 54 46 59
> Website: http://www.b2ck.com/
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial




More information about the Mercurial mailing list