comparison src/http/v3/ngx_http_v3.h @ 8247:e9891e8ee975 quic

Configurable transport parameters. - integer parameters can be configured using the following directives: quic_max_idle_timeout quic_max_ack_delay quic_max_packet_size quic_initial_max_data quic_initial_max_stream_data_bidi_local quic_initial_max_stream_data_bidi_remote quic_initial_max_stream_data_uni quic_initial_max_streams_bidi quic_initial_max_streams_uni quic_ack_delay_exponent quic_active_migration quic_active_connection_id_limit - only following parameters are actually sent: active_connection_id_limit initial_max_streams_uni initial_max_streams_bidi initial_max_stream_data_bidi_local initial_max_stream_data_bidi_remote initial_max_stream_data_uni (other parameters are to be added into ngx_quic_create_transport_params() function as needed, should be easy now) - draft 24 and draft 27 are now supported (at compile-time using quic_version macro)
author Vladimir Homutov <vl@nginx.com>
date Fri, 20 Mar 2020 13:47:44 +0300
parents 268f4389130d
children c9c3a73df6e8
comparison
equal deleted inserted replaced
8246:0d9bc77ae30d 8247:e9891e8ee975
35 #define NGX_HTTP_V3_FRAME_MAX_PUSH_ID 0x0d 35 #define NGX_HTTP_V3_FRAME_MAX_PUSH_ID 0x0d
36 36
37 #define NGX_HTTP_V3_PARAM_MAX_TABLE_CAPACITY 0x01 37 #define NGX_HTTP_V3_PARAM_MAX_TABLE_CAPACITY 0x01
38 #define NGX_HTTP_V3_PARAM_MAX_HEADER_LIST_SIZE 0x06 38 #define NGX_HTTP_V3_PARAM_MAX_HEADER_LIST_SIZE 0x06
39 #define NGX_HTTP_V3_PARAM_BLOCKED_STREAMS 0x07 39 #define NGX_HTTP_V3_PARAM_BLOCKED_STREAMS 0x07
40
41
42 typedef struct {
43 ngx_quic_tp_t quic;
44 } ngx_http_v3_srv_conf_t;
40 45
41 46
42 typedef struct { 47 typedef struct {
43 ngx_http_connection_t hc; 48 ngx_http_connection_t hc;
44 49