summaryrefslogtreecommitdiff
path: root/t/t4115-apply-symlink.sh
diff options
context:
space:
mode:
authorNelson Benitez Leon <nelsonjesus.benitez@seap.minhap.es>2012-03-13 15:05:40 +0100
committerJunio C Hamano <gitster@pobox.com>2012-03-15 13:48:08 -0700
commit2217c38e5bdc2f8d8356f9a5560d0f2fd4e320c5 (patch)
tree55838ba55480a4a1d3ed93abe457eafce2288d25 /t/t4115-apply-symlink.sh
parent4896c4885e160383bfd460a5eaa9c75cb2f70fbc (diff)
downloadgit-2217c38e5bdc2f8d8356f9a5560d0f2fd4e320c5.tar.gz
http: Avoid limit of retrying request only twice
Current code, after receiving HTTP_REAUTH, only retried once, so couldn't do step 3 of the following sequence: 1. We make a request; proxy returns 407, because we didn't give it a password. We ask for the password and return HTTP_REAUTH. 2. We make another request; the proxy passes it to the actual server, who returns 401, because we didn't give an http password. We ask for the password and return HTTP_REAUTH. 3. We make a third request, but this time everybody is happy. Now we retry as long as we keep receiving HTTP_REAUTH, so the previous sequence correctly completes. Patch by Jeff King <peff@peff.net> Signed-off-by: Nelson Benitez Leon <nbenitezl@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4115-apply-symlink.sh')
0 files changed, 0 insertions, 0 deletions