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

@@ -30,7 +30,6 @@
#include "config.h"
#include "Request.hxx"
#include "Global.hxx"
#include "Version.hxx"
#include "Handler.hxx"
#include "event/Call.hxx"
#include "util/RuntimeError.hxx"
@@ -124,12 +123,6 @@ CurlRequest::Resume() noexcept
curl_easy_pause(easy.Get(), CURLPAUSE_CONT);
if (IsCurlOlderThan(0x072000))
/* libcurl older than 7.32.0 does not update
its sockets after curl_easy_pause(); force
libcurl to do it now */
global.ResumeSockets();
global.InvalidateSockets();
}