mirror of
https://github.com/curl/curl.git
synced 2026-08-26 19:53:31 +03:00
parent
118f446ad5
commit
42843af0b8
7 changed files with 12 additions and 12 deletions
|
|
@ -3535,7 +3535,7 @@ static CURLcode http_on_response(struct Curl_easy *data,
|
|||
#endif
|
||||
|
||||
#ifdef USE_WEBSOCKETS
|
||||
/* All >=200 HTTP status codes are errors when wanting websockets */
|
||||
/* All >=200 HTTP status codes are errors when wanting WebSockets */
|
||||
if(data->req.upgr101 == UPGR101_WS) {
|
||||
failf(data, "Refused WebSockets upgrade: %d", k->httpcode);
|
||||
result = CURLE_HTTP_RETURNED_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue