Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/vcpkg/base/downloads.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ namespace
2L); // Follow redirects, change request method based on HTTP response code.
// https://curl.se/libcurl/c/CURLOPT_FOLLOWLOCATION.html#CURLFOLLOWOBEYCODE
vcpkg_curl_easy_setopt(curl, CURLOPT_HTTPHEADER, request_headers.get());

//Fix for schannel missing certificate revocation list errors with proxy server.
vcpkg_curl_easy_setopt(curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_REVOKE_BEST_EFFORT);

// don't send headers to proxy CONNECT ; this intentionally fails on older versions of libcurl
vcpkg_curl_easy_setopt(
Expand Down