comparison src/event/ngx_event_quic.h @ 8055:924882f42dea quic

QUIC: do not artificially delay sending queued frames. This interacts badly with retransmissions of lost packets and can provoke spurious client retransmits.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 19 Aug 2020 13:24:54 +0300
parents 455a8536eaa7
children 57e5393e5d40
comparison
equal deleted inserted replaced
8054:355e079c5eee 8055:924882f42dea
46 #define NGX_QUIC_TIME_GRANULARITY 1 /* ms */ 46 #define NGX_QUIC_TIME_GRANULARITY 1 /* ms */
47 47
48 #define NGX_QUIC_CC_MIN_INTERVAL 1000 /* 1s */ 48 #define NGX_QUIC_CC_MIN_INTERVAL 1000 /* 1s */
49 49
50 #define NGX_QUIC_MIN_INITIAL_SIZE 1200 50 #define NGX_QUIC_MIN_INITIAL_SIZE 1200
51
52 /* if we have so much data, send immediately */
53 /* TODO: configurable ? */
54 #define NGX_QUIC_MIN_DATA_NODELAY 512 /* bytes */
55 51
56 #define NGX_QUIC_STREAM_SERVER_INITIATED 0x01 52 #define NGX_QUIC_STREAM_SERVER_INITIATED 0x01
57 #define NGX_QUIC_STREAM_UNIDIRECTIONAL 0x02 53 #define NGX_QUIC_STREAM_UNIDIRECTIONAL 0x02
58 54
59 #define NGX_QUIC_STREAM_BUFSIZE 65536 55 #define NGX_QUIC_STREAM_BUFSIZE 65536