mirror of
https://github.com/curl/curl.git
synced 2026-05-30 05:47:28 +03:00
build: make HTTP_ONLY build options also disable websockets
Closes #20525
This commit is contained in:
parent
4fb5c916fd
commit
f659b82c2a
3 changed files with 5 additions and 1 deletions
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
|
|
@ -234,7 +234,7 @@ jobs:
|
|||
tflags: '--min=930'
|
||||
generate: >-
|
||||
-DENABLE_DEBUG=ON -DENABLE_ARES=ON
|
||||
-DCURL_ENABLE_SSL=OFF -DHTTP_ONLY=ON -DCURL_DISABLE_WEBSOCKETS=ON
|
||||
-DCURL_ENABLE_SSL=OFF -DHTTP_ONLY=ON
|
||||
-DCURL_DISABLE_NTLM=ON -DCURL_DISABLE_ALTSVC=ON -DENABLE_UNIX_SOCKETS=OFF
|
||||
-DCURL_USE_LIBSSH2=OFF -DCURL_USE_LIBSSH=OFF -DUSE_NGHTTP2=OFF
|
||||
-DCURL_USE_GSSAPI=OFF -DUSE_LIBIDN2=OFF -DCURL_USE_LIBPSL=OFF -DUSE_LIBRTMP=OFF
|
||||
|
|
|
|||
|
|
@ -525,6 +525,7 @@ if(HTTP_ONLY)
|
|||
set(CURL_DISABLE_SMTP ON)
|
||||
set(CURL_DISABLE_TELNET ON)
|
||||
set(CURL_DISABLE_TFTP ON)
|
||||
set(CURL_DISABLE_WEBSOCKETS ON)
|
||||
endif()
|
||||
|
||||
if(WINDOWS_STORE)
|
||||
|
|
|
|||
|
|
@ -263,6 +263,9 @@
|
|||
# ifndef CURL_DISABLE_TFTP
|
||||
# define CURL_DISABLE_TFTP
|
||||
# endif
|
||||
# ifndef CURL_DISABLE_WEBSOCKETS
|
||||
# define CURL_DISABLE_WEBSOCKETS
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue