mirror of
https://github.com/curl/curl.git
synced 2026-08-11 07:01:36 +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
|
|
@ -482,7 +482,7 @@ CURLcode Curl_hyper_stream(struct Curl_easy *data,
|
|||
|
||||
k->deductheadercount =
|
||||
(100 <= http_status && 199 >= http_status) ? k->headerbytecount : 0;
|
||||
#ifdef USE_WEBSOCKETS
|
||||
#ifndef CURL_DISABLE_WEBSOCKETS
|
||||
if(k->upgr101 == UPGR101_WS) {
|
||||
if(http_status == 101) {
|
||||
/* verify the response */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue