Mercurial > hg > nginx
changeset 8534:985f9351dd87 quic
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.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 31 Aug 2020 18:42:26 +0300 |
parents | 62b58f0a4711 |
children | eb5aa85294e9 |
files | src/http/v3/ngx_http_v3_encode.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/v3/ngx_http_v3_encode.c Tue Sep 01 17:20:42 2020 +0300 +++ b/src/http/v3/ngx_http_v3_encode.c Mon Aug 31 18:42:26 2020 +0300 @@ -145,7 +145,7 @@ + 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 @@ + 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 @@ + len; } - *p = 0x08; + *p = 0; p = (u_char *) ngx_http_v3_encode_prefix_int(p, index, 3); *p = 0;