Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic_connection.h @ 9196:6c8595b77e66
QUIC: path aware in-flight bytes accounting.
On-packet acknowledgement is made path aware, as per RFC 9000, Section 9.4:
Packets sent on the old path MUST NOT contribute to congestion control
or RTT estimation for the new path.
To make this possible in a single congestion control context, the first packet
to be sent after the new path has been validated, which includes resetting the
congestion controller and RTT estimator, is now remembered in the connection.
Packets sent previously, such as on the old path, are not taken into account.
Note that although the packet number is saved per-connection, the added checks
affect application level packets only. For non-application level packets,
which are only processed prior to the handshake is complete, the remembered
packet number remains set to zero.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 12 Dec 2023 20:21:12 +0400 |
parents | ff452f283aa9 |
children |
comparison
equal
deleted
inserted
replaced
9195:ff452f283aa9 | 9196:6c8595b77e66 |
---|---|
264 #endif | 264 #endif |
265 | 265 |
266 ngx_quic_streams_t streams; | 266 ngx_quic_streams_t streams; |
267 ngx_quic_congestion_t congestion; | 267 ngx_quic_congestion_t congestion; |
268 | 268 |
269 uint64_t rst_pnum; /* first on validated path */ | |
270 | |
269 off_t received; | 271 off_t received; |
270 | 272 |
271 ngx_uint_t error; | 273 ngx_uint_t error; |
272 enum ssl_encryption_level_t error_level; | 274 enum ssl_encryption_level_t error_level; |
273 ngx_uint_t error_ftype; | 275 ngx_uint_t error_ftype; |