mirror of https://github.com/moparisthebest/curl
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:
parent
2d0fea2650
commit
2597020d22
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue