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:
Daniel Stenberg 2025-09-21 00:09:09 +02:00
parent 4e8dfe2093
commit fd61ed062b
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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) |