mirror of
https://github.com/curl/curl.git
synced 2026-07-26 01:27:15 +03:00
ws: clarify an error message
Instead of: "[WS] frame length longer than 64 signed not supported" Use: "[WS] frame length longer than 63 bit not supported" Closes #18654
This commit is contained in:
parent
4e8dfe2093
commit
fd61ed062b
1 changed files with 1 additions and 1 deletions
2
lib/ws.c
2
lib/ws.c
|
|
@ -453,7 +453,7 @@ static CURLcode ws_dec_read_head(struct ws_decoder *dec,
|
|||
break;
|
||||
case 10:
|
||||
if(dec->head[2] > 127) {
|
||||
failf(data, "[WS] frame length longer than 64 signed not supported");
|
||||
failf(data, "[WS] frame length longer than 63 bit not supported");
|
||||
return CURLE_RECV_ERROR;
|
||||
}
|
||||
dec->payload_len = ((curl_off_t)dec->head[2] << 56) |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue