author | Junio C Hamano <gitster@pobox.com> | |
Tue, 29 Mar 2011 17:24:59 +0000 (10:24 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 29 Mar 2011 19:21:28 +0000 (12:21 -0700) | ||
commit | cf2ad8e64175bcf4b2bb693a9e4c0a89076111dd | |
tree | adbe0bcb88663beea23c4a880195d800186646e0 | tree | snapshot |
parent | 3e63b21aced116badd30a279c479535449a63560 | commit | diff |
enable "no-done" extension only when serving over smart-http
Do not advertise no-done capability when upload-pack is not serving over
smart-http, as there is no way for this server to know when it should stop
reading in-flight data from the client, even though it is necessary to
drain all the in-flight data in order to unblock the client.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Do not advertise no-done capability when upload-pack is not serving over
smart-http, as there is no way for this server to know when it should stop
reading in-flight data from the client, even though it is necessary to
drain all the in-flight data in order to unblock the client.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
upload-pack.c | diff | blob | history |