Mercurial > hg > nginx-quic
comparison src/http/v3/ngx_http_v3.h @ 8317:ae2e68f206f9 quic
HTTP/3: removed http3_max_field_size.
Instead, size of one large_client_header_buffers buffer is used.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 16 Feb 2021 18:50:01 +0300 |
parents | 6bd8ed493b85 |
children | 3057bae4dba7 |
comparison
equal
deleted
inserted
replaced
8316:13f7085b90d2 | 8317:ae2e68f206f9 |
---|---|
44 #define NGX_HTTP_V3_STREAM_SERVER_ENCODER 3 | 44 #define NGX_HTTP_V3_STREAM_SERVER_ENCODER 3 |
45 #define NGX_HTTP_V3_STREAM_CLIENT_DECODER 4 | 45 #define NGX_HTTP_V3_STREAM_CLIENT_DECODER 4 |
46 #define NGX_HTTP_V3_STREAM_SERVER_DECODER 5 | 46 #define NGX_HTTP_V3_STREAM_SERVER_DECODER 5 |
47 #define NGX_HTTP_V3_MAX_KNOWN_STREAM 6 | 47 #define NGX_HTTP_V3_MAX_KNOWN_STREAM 6 |
48 | 48 |
49 #define NGX_HTTP_V3_DEFAULT_MAX_FIELD_SIZE 4096 | |
50 #define NGX_HTTP_V3_DEFAULT_MAX_TABLE_CAPACITY 16384 | 49 #define NGX_HTTP_V3_DEFAULT_MAX_TABLE_CAPACITY 16384 |
51 #define NGX_HTTP_V3_DEFAULT_MAX_BLOCKED_STREAMS 16 | 50 #define NGX_HTTP_V3_DEFAULT_MAX_BLOCKED_STREAMS 16 |
52 #define NGX_HTTP_V3_DEFAULT_MAX_CONCURRENT_PUSHES 10 | 51 #define NGX_HTTP_V3_DEFAULT_MAX_CONCURRENT_PUSHES 10 |
53 | 52 |
54 /* HTTP/3 errors */ | 53 /* HTTP/3 errors */ |
84 ngx_quic_finalize_connection(c->quic->parent, code, reason) | 83 ngx_quic_finalize_connection(c->quic->parent, code, reason) |
85 | 84 |
86 | 85 |
87 typedef struct { | 86 typedef struct { |
88 ngx_quic_tp_t quic; | 87 ngx_quic_tp_t quic; |
89 size_t max_field_size; | |
90 size_t max_table_capacity; | 88 size_t max_table_capacity; |
91 ngx_uint_t max_blocked_streams; | 89 ngx_uint_t max_blocked_streams; |
92 ngx_uint_t max_concurrent_pushes; | 90 ngx_uint_t max_concurrent_pushes; |
93 } ngx_http_v3_srv_conf_t; | 91 } ngx_http_v3_srv_conf_t; |
94 | 92 |