From: Daniel Stenberg Date: Fri, 13 Jun 2008 21:16:10 +0000 (+0000) Subject: In checkPendPipeline() we can't be setting the TIMER_CONNECT correctly as that X-Git-Tag: upstream/7.37.1~7721 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2597020d22ed6bcac9a9527f0fe9b235309d5a62;p=platform%2Fupstream%2Fcurl.git In checkPendPipeline() we can't be setting the TIMER_CONNECT correctly as that is for the TCP connect. I changed it to TIMER_PRETRANSFER which seems to be what was intended here. --- diff --git a/lib/multi.c b/lib/multi.c index 9349ee6..3b78316 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1980,7 +1980,7 @@ static int checkPendPipeline(struct connectdata *conn) while(pipeLen < MAX_PIPELINE_LENGTH && curr) { Curl_llist_move(conn->pend_pipe, curr, conn->send_pipe, conn->send_pipe->tail); - Curl_pgrsTime(curr->ptr, TIMER_CONNECT); + Curl_pgrsTime(curr->ptr, TIMER_PRETRANSFER); ++result; /* count how many handles we moved */ curr = conn->pend_pipe->head; ++pipeLen;