X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=http-fetch.c;h=7de818b109bb057e089da8d086396196c958f444;hb=5bfc4f23bca0a89e50853b2bdaa6d0118045a9f6;hp=8fd9de081fc636dc2d5010caea9686caa901c91f;hpb=207a1f3ce9894ad6fab59077b9cec1adc70ed6c5;p=git.git diff --git a/http-fetch.c b/http-fetch.c index 8fd9de08..7de818b1 100644 --- a/http-fetch.c +++ b/http-fetch.c @@ -468,9 +468,13 @@ static void process_alternates_response(void *callback_data) alt_req->url); active_requests++; slot->in_use = 1; + if (slot->finished != NULL) + (*slot->finished) = 0; if (!start_active_slot(slot)) { got_alternates = -1; slot->in_use = 0; + if (slot->finished != NULL) + (*slot->finished) = 1; } return; }