summaryrefslogtreecommitdiff
path: root/lib/easy.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-05-08 16:05:23 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-05-08 16:56:11 +0200
commitc707642017505f967ff828382e4b924baf7bb208 (patch)
treea22887794171be02b53814f7ec5018e896b1c39b /lib/easy.c
parent0dace7ec1b9a844ca5b3b51030589592665ef5b7 (diff)
downloadcurl-bagder/timer-id.tar.gz
multi: use a fixed array of timers instead of mallocbagder/timer-id
... since the total amount is low this is faster, easier and reduces memory overhead. Also, Curl_expire_done() can now mark an expire timeout as done so that it never times out.
Diffstat (limited to 'lib/easy.c')
-rw-r--r--lib/easy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/easy.c b/lib/easy.c
index d4add46cc..46c0a9911 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -1044,7 +1044,7 @@ CURLcode curl_easy_pause(struct Curl_easy *data, int action)
if(!result &&
((newstate&(KEEP_RECV_PAUSE|KEEP_SEND_PAUSE)) !=
(KEEP_RECV_PAUSE|KEEP_SEND_PAUSE)) )
- Curl_expire(data, 0, EXPIRE_UNPAUSE); /* get this handle going again */
+ Curl_expire(data, 0, EXPIRE_RUN_NOW); /* get this handle going again */
return result;
}