]> granicus.if.org Git - curl/commitdiff
In checkPendPipeline() we can't be setting the TIMER_CONNECT correctly as that
authorDaniel Stenberg <daniel@haxx.se>
Fri, 13 Jun 2008 21:16:10 +0000 (21:16 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Jun 2008 21:16:10 +0000 (21:16 +0000)
is for the TCP connect. I changed it to TIMER_PRETRANSFER which seems to be
what was intended here.

lib/multi.c

index 9349ee6c628579a8cceeb4af7cf79853b5b86f00..3b78316800a9eb9ff75ff06874060bf4b54e97bc 100644 (file)
@@ -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;