Mercurial > hg > nginx
diff src/http/v3/ngx_http_v3.h @ 8454:032cb35ce758 quic
HTTP/3: http3_max_field_size directive to limit string size.
Client streams may send literal strings which are now limited in size by the
new directive. The default value is 4096.
The directive is similar to HTTP/2 directive http2_max_field_size.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 29 Jun 2020 15:56:14 +0300 |
parents | c8cabb5d45f5 |
children | c9538aef3211 |
line wrap: on
line diff
--- a/src/http/v3/ngx_http_v3.h Fri Jun 26 11:58:00 2020 +0300 +++ b/src/http/v3/ngx_http_v3.h Mon Jun 29 15:56:14 2020 +0300 @@ -47,9 +47,12 @@ #define NGX_HTTP_V3_STREAM_SERVER_DECODER 5 #define NGX_HTTP_V3_MAX_KNOWN_STREAM 6 +#define NGX_HTTP_V3_DEFAULT_MAX_FIELD_SIZE 4096 + typedef struct { ngx_quic_tp_t quic; + size_t max_field_size; } ngx_http_v3_srv_conf_t;