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.
This commit is contained in:
Daniel Stenberg 2008-06-13 21:16:10 +00:00
parent 2d0fea2650
commit 2597020d22
1 changed files with 1 additions and 1 deletions

View 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;