From c707642017505f967ff828382e4b924baf7bb208 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 8 May 2017 16:05:23 +0200 Subject: multi: use a fixed array of timers instead of malloc ... 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. --- lib/easy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/easy.c') 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; } -- cgit v1.2.1