mirror of
https://github.com/curl/curl.git
synced 2026-08-24 19:53:46 +03:00
WebSockets: make support official (non-experimental)
Inverts the configure/cmake options to instead provide options that disable WebSockets and have them (ws + wss) enabled by default. Closes #14936
This commit is contained in:
parent
cfae354a9a
commit
d78e129d50
26 changed files with 108 additions and 107 deletions
|
|
@ -3184,7 +3184,7 @@ CURLcode Curl_vsetopt(struct Curl_easy *data, CURLoption option, va_list param)
|
|||
case CURLOPT_PREREQDATA:
|
||||
data->set.prereq_userp = va_arg(param, void *);
|
||||
break;
|
||||
#ifdef USE_WEBSOCKETS
|
||||
#ifndef CURL_DISABLE_WEBSOCKETS
|
||||
case CURLOPT_WS_OPTIONS: {
|
||||
bool raw;
|
||||
arg = va_arg(param, long);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue