hg push over https issue
Simon King
simon at simonking.org.uk
Fri Sep 28 09:53:39 UTC 2012
On Fri, Sep 28, 2012 at 6:10 AM, praveen_m86 <praveen_m86 at rediffmail.com> wrote:
>
> Thanks for the response.
>
> I understand the issue now, i am seeing the provisions to increase the
> apache connection timeout.
>
> hg push --ssh "/path/to/ssh -o ConnectTimeout=10"
That's changing the ssh timeout, not the apache timeout.
>
> is there any such option for https ?
There's nothing Mercurial can do to control Apache's behaviour. You
need to configure Apache itself for a longer timeout value (see
http://httpd.apache.org/docs/2.2/mod/core.html#timeout)
>
> Can a provision be made to rollback this interrupted transaction
> automatically ?, Instead of logging into the machine and recovering the
> repository?
>
http://stackoverflow.com/questions/4646776/apache-cgi-timeout-how-does-it-kill-and-or-notify-the-child
suggests that apache terminates the cgi process and doesn't give it
any chance to clean up, so the answer is probably no if you are using
CGI.
Simon
More information about the Mercurial
mailing list