input/curl: clear the "paused" flag before resuming
curl_easy_pause(CURLPAUSE_CONT) may have added enough data to go into pause again.
This commit is contained in:
parent
856b0e6886
commit
edffc56600
@ -198,8 +198,8 @@ input_curl_resume(gpointer data)
|
||||
struct input_curl *c = data;
|
||||
|
||||
if (c->paused) {
|
||||
curl_easy_pause(c->easy, CURLPAUSE_CONT);
|
||||
c->paused = false;
|
||||
curl_easy_pause(c->easy, CURLPAUSE_CONT);
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user