Re: Git-aware HTTP transport
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- Aug 29, 2008, 05:11 UTC
- Message-ID
- <48B784FD.3080005@zytor.com>
- In-Reply-To
- <7vwsi0a2op.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
Show 12 quoted lines
> >>> Is there a way to detect bad clients that does not obey this rule without >>> server side states? >> No. Is that really a concern though? > > I was more concerned about a bad/broken client not giving up forever, and > not giving the server enough cue to give up, saying "I've conversed with > this guy long enough but haven't reached the conclusion yet --- there is > something wrong". Even without server side states, if we were to trust > clients, we can add "this is Nth round" to the protocol to help the server > detect "long enough" part, but that somehow does not feel right. >
We should be able to detect either inconsistency, or lack of forward progress, but as long as there is forward progress made there doesn't seem to be a strong need to terminate.
-hpa