Commit 2597020d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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.
parent 2d0fea26
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;