mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
lib: disable websockets early if no http
To prevent inconsistent `CURL_DISABLE_WEBSOCKETS` states between source
files.
Follow-up to 8edc0338f3 #20351
Closes #20526
This commit is contained in:
parent
f659b82c2a
commit
4b3af7fb67
2 changed files with 3 additions and 6 deletions
|
|
@ -289,6 +289,9 @@
|
|||
# define CURL_DISABLE_HEADERS_API 1
|
||||
# define CURL_DISABLE_HSTS 1
|
||||
# define CURL_DISABLE_HTTP_AUTH 1
|
||||
# ifndef CURL_DISABLE_WEBSOCKETS
|
||||
# define CURL_DISABLE_WEBSOCKETS /* no WebSockets without HTTP present */
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* ================================================================ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue