]> git.ipfire.org Git - thirdparty/git.git/commit - http-walker.c
Fix broken slot reuse when fetching alternates
authorNick Hengeveld <nickh@reactrix.com>
Wed, 15 Mar 2006 16:59:52 +0000 (08:59 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 15 Mar 2006 17:10:41 +0000 (09:10 -0800)
commitc982647310fc5acd0bd6ebc408e70470447b387f
tree3ce860bebbc9a530e96cc5785fa59b9ed2d7e6c9
parentea75cb7284f79250bebb6dd48c6161b0f1b4c1c6
Fix broken slot reuse when fetching alternates

When fetching alternates, http-fetch may reuse the slot to fetch non-http
alternates if http-alternates does not exist.  When doing so, it now needs
to update the slot's finished status so run_active_slot waits for the
non-http alternates request to finish.

Signed-off-by: Nick Hengeveld <nickh@reactrix.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
http-fetch.c