From 2597020d22ed6bcac9a9527f0fe9b235309d5a62 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 13 Jun 2008 21:16:10 +0000 Subject: 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. --- lib/multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/multi.c b/lib/multi.c index 9349ee6c6..3b7831680 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; -- cgit v1.2.3