comparison src/http/v3/ngx_http_v3.h @ 7949: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
comparison
equal deleted inserted replaced
7948:c8cabb5d45f5 7949:032cb35ce758
45 #define NGX_HTTP_V3_STREAM_SERVER_ENCODER 3 45 #define NGX_HTTP_V3_STREAM_SERVER_ENCODER 3
46 #define NGX_HTTP_V3_STREAM_CLIENT_DECODER 4 46 #define NGX_HTTP_V3_STREAM_CLIENT_DECODER 4
47 #define NGX_HTTP_V3_STREAM_SERVER_DECODER 5 47 #define NGX_HTTP_V3_STREAM_SERVER_DECODER 5
48 #define NGX_HTTP_V3_MAX_KNOWN_STREAM 6 48 #define NGX_HTTP_V3_MAX_KNOWN_STREAM 6
49 49
50 #define NGX_HTTP_V3_DEFAULT_MAX_FIELD_SIZE 4096
51
50 52
51 typedef struct { 53 typedef struct {
52 ngx_quic_tp_t quic; 54 ngx_quic_tp_t quic;
55 size_t max_field_size;
53 } ngx_http_v3_srv_conf_t; 56 } ngx_http_v3_srv_conf_t;
54 57
55 58
56 typedef struct { 59 typedef struct {
57 ngx_http_connection_t hc; 60 ngx_http_connection_t hc;