aboutsummaryrefslogtreecommitdiff
path: root/lib/easy.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-03-02 07:42:55 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-03-02 08:07:49 +0100
commit8cd4e6d81fbf2b179f996146b3b111694fd8716e (patch)
tree74ae49f0012b9dfa7d64aa60204fc00d91ebf791 /lib/easy.c
parentd7242f4757de67f02b13fac850c3472598f999ca (diff)
Revert "mime: latch last read callback status."
This reverts commit 87869e38d7afdec3ef1bb4965711458b088e254f. Fixes #5014 Closes #5015 Reopens #4833
Diffstat (limited to 'lib/easy.c')
-rw-r--r--lib/easy.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/easy.c b/lib/easy.c
index 85a882a97..1a6912748 100644
--- a/lib/easy.c
+++ b/lib/easy.c
@@ -983,14 +983,6 @@ CURLcode curl_easy_pause(struct Curl_easy *data, int action)
newstate |= ((action & CURLPAUSE_RECV)?KEEP_RECV_PAUSE:0) |
((action & CURLPAUSE_SEND)?KEEP_SEND_PAUSE:0);
- /* Unpause parts in active mime tree. */
- if((k->keepon & ~newstate & KEEP_SEND_PAUSE) &&
- (data->mstate == CURLM_STATE_PERFORM ||
- data->mstate == CURLM_STATE_TOOFAST) &&
- data->state.fread_func == (curl_read_callback) Curl_mime_read) {
- Curl_mime_unpause(data->state.in);
- }
-
/* put it back in the keepon */
k->keepon = newstate;