Mercurial > hg > nginx
comparison src/event/ngx_event_quic.h @ 8415:125cbfa77013 quic
Renamed max_packet_size to max_udp_payload_size, from draft-28.
No functional changes.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 29 May 2020 12:56:08 +0300 |
parents | 7ea34e13937f |
children | 6633f17044eb |
comparison
equal
deleted
inserted
replaced
8414:49a98760afd2 | 8415:125cbfa77013 |
---|---|
17 | 17 |
18 #define NGX_QUIC_MAX_SHORT_HEADER 25 /* 1 flags + 20 dcid + 4 pn */ | 18 #define NGX_QUIC_MAX_SHORT_HEADER 25 /* 1 flags + 20 dcid + 4 pn */ |
19 #define NGX_QUIC_MAX_LONG_HEADER 56 | 19 #define NGX_QUIC_MAX_LONG_HEADER 56 |
20 /* 1 flags + 4 version + 2 x (1 + 20) s/dcid + 4 pn + 4 len + token len */ | 20 /* 1 flags + 4 version + 2 x (1 + 20) s/dcid + 4 pn + 4 len + token len */ |
21 | 21 |
22 #define NGX_QUIC_DEFAULT_MAX_PACKET_SIZE 65527 | 22 #define NGX_QUIC_MAX_UDP_PAYLOAD_SIZE 65527 |
23 #define NGX_QUIC_DEFAULT_ACK_DELAY_EXPONENT 3 | 23 #define NGX_QUIC_DEFAULT_ACK_DELAY_EXPONENT 3 |
24 #define NGX_QUIC_DEFAULT_MAX_ACK_DELAY 25 | 24 #define NGX_QUIC_DEFAULT_MAX_ACK_DELAY 25 |
25 | 25 |
26 #define NGX_QUIC_RETRY_TIMEOUT 3000 | 26 #define NGX_QUIC_RETRY_TIMEOUT 3000 |
27 #define NGX_QUIC_RETRY_LIFETIME 30000 | 27 #define NGX_QUIC_RETRY_LIFETIME 30000 |
44 typedef struct { | 44 typedef struct { |
45 /* configurable */ | 45 /* configurable */ |
46 ngx_msec_t max_idle_timeout; | 46 ngx_msec_t max_idle_timeout; |
47 ngx_msec_t max_ack_delay; | 47 ngx_msec_t max_ack_delay; |
48 | 48 |
49 size_t max_packet_size; | 49 size_t max_udp_payload_size; |
50 size_t initial_max_data; | 50 size_t initial_max_data; |
51 size_t initial_max_stream_data_bidi_local; | 51 size_t initial_max_stream_data_bidi_local; |
52 size_t initial_max_stream_data_bidi_remote; | 52 size_t initial_max_stream_data_bidi_remote; |
53 size_t initial_max_stream_data_uni; | 53 size_t initial_max_stream_data_uni; |
54 ngx_uint_t initial_max_streams_bidi; | 54 ngx_uint_t initial_max_streams_bidi; |