aboutsummaryrefslogtreecommitdiff
path: root/lib/easy.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-03-05 23:45:36 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-03-05 23:45:41 +0100
commit8aa04e9a24932b830bc5eaf6838dea5a3329341e (patch)
tree836ec01cc0ad75e5e158cf980217ea00b9ac8cf9 /lib/easy.c
parent32a28dc28d54c73d9db2424763c45da7696dc0ac (diff)
Revert "pause: force-drain the transfer on unpause"
This reverts commit fa0216b294af4c7113a9040ca65eefc7fc18ac1c (from #5000) Clearly that didn't solve the problem correctly. Reported-by: Christopher Reid Reopens #4966 Fixes #5044
Diffstat (limited to 'lib/easy.c')
-rw-r--r--lib/easy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/easy.c b/lib/easy.c
index 1a6912748..454621076 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -1033,7 +1033,6 @@ CURLcode curl_easy_pause(struct Curl_easy *data, int action)
to have this handle checked soon */
if((newstate & (KEEP_RECV_PAUSE|KEEP_SEND_PAUSE)) !=
(KEEP_RECV_PAUSE|KEEP_SEND_PAUSE)) {
- data->state.drain++;
Curl_expire(data, 0, EXPIRE_RUN_NOW); /* get this handle going again */
if(data->multi)
Curl_update_timer(data->multi);