mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
h2: SETTINGS: allow 16M-1 peer max frame size
We only allow 8M-1 when we should allow 16M-1 without blowing a PROTOCOL ERROR.
This commit is contained in:
parent
cbd58fa458
commit
55599fef71
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ lws_h2_settings(struct lws *wsi, struct http2_settings *settings,
|
|||
"Frame size < initial");
|
||||
return 1;
|
||||
}
|
||||
if (b > 0x007fffff) {
|
||||
if (b > 0x00ffffff) {
|
||||
lws_h2_goaway(nwsi, H2_ERR_PROTOCOL_ERROR,
|
||||
"Settings Frame size above max");
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue