mirror of
https://github.com/curl/curl.git
synced 2026-04-15 01:01:41 +03:00
mime: fix unpausing of readers
When unpausing a transfer, check if the reader pause state differs in addition to the "keepon" flags. Reported-by: 包布丁 Fixes #18848 Closes #19178
This commit is contained in:
parent
76d2852550
commit
40f7cd2bdd
6 changed files with 68 additions and 14 deletions
|
|
@ -1442,6 +1442,7 @@ CURLcode Curl_creader_unpause(struct Curl_easy *data)
|
|||
|
||||
while(reader) {
|
||||
result = reader->crt->cntrl(data, reader, CURL_CRCNTRL_UNPAUSE);
|
||||
CURL_TRC_READ(data, "unpausing %s -> %d", reader->crt->name, result);
|
||||
if(result)
|
||||
break;
|
||||
reader = reader->next;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue