Re: [RFC PATCH] Add WEBDAV timeout to http-fetch.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Oct 7, 2006, 22:24 UTC
- Message-ID
- <7vvemvpxx1.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20061007193559.GA27920@poseidon.issaris.org>
Panagiotis Issaris <takis.issaris@uhasselt.be> writes:
Show 8 quoted lines
>> > Maybe the real solution is just to figure out and fix whatever is >> > going on with the WEBDAV server and forget this patch. >> >> I think it is prudent to protect the client from a broken server >> and it is independent from "fixing" the server side. It would >>[...] > Wouldn't most users ctrl-c the program before the two minute timeout occurs? > Especially since their appears to be nothing happening?
I think we are talking about the same thing -- after you kill it with C-c you would want to work it around. The question is how?
You would want to re-run with timeout value of 0 second (or WEBDAV disabled, if we can have such an option); if it works then you would want the tool to remember that you want to use that particular settings but probably only when talking to that remote.