aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-06-13 21:16:10 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-06-13 21:16:10 +0000
commit2597020d22ed6bcac9a9527f0fe9b235309d5a62 (patch)
tree0b89e8e89bdb3d43fa89301b6e5c8e746fee5bb7 /lib
parent2d0fea2650cc65f827ad9c02ef1aca8f0d3afa8f (diff)
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/multi.c2
1 files changed, 1 insertions, 1 deletions
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;