diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9f03af7..9e07a4ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,7 +57,7 @@ jobs: steps: - name: Install dependencies (GNU/Linux) if: runner.os == 'linux' - run: sudo apt-get install --yes clang-format + run: sudo apt-get install --yes clang-format libcurl4-openssl-dev # See https://github.com/actions/runner-images/issues/8659 - name: Workaround Clang issue (GNU/Linux) diff --git a/src/http/stream_curl.cc b/src/http/stream_curl.cc index 78b559fa..e5ea86cc 100644 --- a/src/http/stream_curl.cc +++ b/src/http/stream_curl.cc @@ -254,11 +254,6 @@ auto Stream::send() -> std::future { handle_curl(curl_easy_setopt(this->internal->handle, CURLOPT_HTTPHEADER, this->internal->headers)); - // This tells libcurl the maximum time any cached certificate store it has in - // memory may be kept and reused for new connections. - handle_curl(curl_easy_setopt(this->internal->handle, CURLOPT_CA_CACHE_TIMEOUT, - 604800L)); - handle_curl(curl_easy_setopt(this->internal->handle, CURLOPT_WRITEFUNCTION, callback_on_body)); handle_curl(