summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic_connection.h
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2025-01-04 18:03:46 +0400
committerRoman Arutyunyan <arutyunyan.roman@gmail.com>2025-04-15 19:01:36 +0400
commitcd5e4fa1446dff86fafc3b6ffcc11afd527a024f (patch)
tree733ebd3485a88a96eacb5f500f10c6b63e0ca1e2 /src/event/quic/ngx_event_quic_connection.h
parent04c65ccd9a094c00f33bac3a7e0d43cc692409c8 (diff)
downloadnginx-cd5e4fa1446dff86fafc3b6ffcc11afd527a024f.tar.gz
nginx-cd5e4fa1446dff86fafc3b6ffcc11afd527a024f.tar.bz2
QUIC: do not increase underutilized congestion window.
As per RFC 9002, Section 7.8, congestion window should not be increased when it's underutilized.
Diffstat (limited to 'src/event/quic/ngx_event_quic_connection.h')
-rw-r--r--src/event/quic/ngx_event_quic_connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event/quic/ngx_event_quic_connection.h b/src/event/quic/ngx_event_quic_connection.h
index 824c92b57..acc09c142 100644
--- a/src/event/quic/ngx_event_quic_connection.h
+++ b/src/event/quic/ngx_event_quic_connection.h
@@ -169,6 +169,7 @@ typedef struct {
size_t window;
size_t ssthresh;
ngx_msec_t recovery_start;
+ ngx_uint_t idle; /* unsigned idle:1; */
} ngx_quic_congestion_t;