# HG changeset patch # User Roman Arutyunyan # Date 1598888546 -10800 # Node ID 985f9351dd871ee8ab336441c6b09e08bd1b017a # Parent 62b58f0a4711856b7992ee7485132741ab8e385d HTTP/3: do not set the never-indexed literal bit by default. The "Literal Header Field Never Indexed" header field representation is not used in HTTP/2, and it makes little sense to make a distinction in HTTP/3. diff --git a/src/http/v3/ngx_http_v3_encode.c b/src/http/v3/ngx_http_v3_encode.c --- a/src/http/v3/ngx_http_v3_encode.c +++ b/src/http/v3/ngx_http_v3_encode.c @@ -145,7 +145,7 @@ ngx_http_v3_encode_header_lri(u_char *p, + len; } - *p = dynamic ? 0x60 : 0x70; + *p = dynamic ? 0x40 : 0x50; p = (u_char *) ngx_http_v3_encode_prefix_int(p, index, 4); *p = 0; @@ -171,7 +171,7 @@ ngx_http_v3_encode_header_l(u_char *p, n + value->len; } - *p = 0x30; + *p = 0x20; p = (u_char *) ngx_http_v3_encode_prefix_int(p, name->len, 3); ngx_strlow(p, name->data, name->len); @@ -213,7 +213,7 @@ ngx_http_v3_encode_header_lpbi(u_char *p + len; } - *p = 0x08; + *p = 0; p = (u_char *) ngx_http_v3_encode_prefix_int(p, index, 3); *p = 0;