diff options
author | Tay Ray Chuan <rctay89@gmail.com> | 2010-01-21 22:41:00 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-01-21 15:01:37 -0800 |
commit | 703e6e76a14825e5b0c960d525f34e607154b4f7 (patch) | |
tree | 0ed4cf1fe00410fc2ac705d2429edfed7eee5b4d /xdiff/xemit.c | |
parent | Merge branch 'jc/maint-refresh-index-is-optional-for-status' into maint (diff) | |
download | tgif-703e6e76a14825e5b0c960d525f34e607154b4f7.tar.xz |
retry request without query when info/refs?query fails
When "info/refs" is a static file and not behind a CGI handler, some
servers may not handle a GET request for it with a query string
appended (eg. "?foo=bar") properly.
If such a request fails, retry it sans the query string. In addition,
ensure that the "smart" http protocol is not used (a service has to be
specified with "?service=<service name>" to be conformant).
Signed-off-by: Tay Ray Chuan <rctay89@gmail.com>
Reported-and-tested-by: Yaroslav Halchenko <debian@onerussian.com>
Acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff/xemit.c')
0 files changed, 0 insertions, 0 deletions