mirror of
https://github.com/nginx/nginx.git
synced 2026-11-20 07:02:58 +00:00
HTTP/2: ignore unknown flags in the SETTINGS message
This is required by RFC9113 section 4.1: "Unused flags MUST be ignored on receipt"
This commit is contained in:
parent
867aefddbc
commit
cc1bbc7f7e
1 changed files with 1 additions and 1 deletions
|
|
@ -2222,7 +2222,7 @@ ngx_http_v2_state_settings(ngx_http_v2_connection_t *h2c, u_char *pos,
|
|||
return ngx_http_v2_connection_error(h2c, NGX_HTTP_V2_PROTOCOL_ERROR);
|
||||
}
|
||||
|
||||
if (h2c->state.flags == NGX_HTTP_V2_ACK_FLAG) {
|
||||
if (h2c->state.flags & NGX_HTTP_V2_ACK_FLAG) {
|
||||
|
||||
if (h2c->state.length != 0) {
|
||||
ngx_log_error(NGX_LOG_INFO, h2c->connection->log, 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue