We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bab3f94 commit 4bff6a4Copy full SHA for 4bff6a4
cmake/FindLibCURL.cmake
@@ -54,10 +54,10 @@ function(get_libcurl)
54
set(CURL_ENABLE_SSL ON)
55
endif()
56
57
- # vcpkg tool only needs HTTP(S) downloads; disable other protocols and
58
- # high-surface features in the embedded libcurl to reduce attack surface.
59
- # Keep FILE support in case file:// URLs are ever needed.
60
- set(CURL_DISABLE_FTP ON)
+ # vcpkg tool only needs HTTP(S) downloads and uploads (including FTP).
+ # Disable other protocols and high-surface features in the embedded libcurl
+ # to reduce the attack surface.
+ # Keep FILE support enabled for file:// URLs if ever needed.
61
set(CURL_DISABLE_GOPHER ON)
62
set(CURL_DISABLE_IMAP ON)
63
set(CURL_DISABLE_IPFS ON)
0 commit comments