lib/curl: drop support for CURL versions older than 7.32.0

For simplicity, this commit removes a workaround for an old CURL bug.
This commit is contained in:
Max Kellermann
2019-12-23 14:41:06 +01:00
parent 087874620f
commit a714bdb0ce
4 changed files with 2 additions and 18 deletions

View File

@@ -74,16 +74,6 @@ public:
SocketAction(CURL_SOCKET_TIMEOUT, 0);
}
/**
* This is a kludge to allow pausing/resuming a stream with
* libcurl < 7.32.0. Read the curl_easy_pause manpage for
* more information.
*/
void ResumeSockets() {
int running_handles;
curl_multi_socket_all(multi.Get(), &running_handles);
}
private:
void UpdateTimeout(long timeout_ms) noexcept;
static int TimerFunction(CURLM *global, long timeout_ms,