[PATCH 0 of 5] QUIC congestion control fixes

2023-08-01 Thread Roman Arutyunyan
Hello, Several fixes in QUIC congestion control found while testing under load. The biggest issue here is probe-congestion deadlock which caused connection hang. -- Roman Arutyunyan ___ nginx-devel mailing list nginx-devel@nginx.org https://mailman.ngi

[PATCH 1 of 5] QUIC: avoid accessing freed frame

2023-08-01 Thread Roman Arutyunyan
# HG changeset patch # User Roman Arutyunyan # Date 1690874404 -14400 # Tue Aug 01 11:20:04 2023 +0400 # Node ID 5b91a40f2dd249000e9208a0152dc5cc0c6ea0c4 # Parent 4f078be6e2ed08643371a3956f5f18f2357a38db QUIC: avoid accessing freed frame. Previously the field pnum of a potentially freed fra

[PATCH 3 of 5] QUIC: fixed PTO expiration condition

2023-08-01 Thread Roman Arutyunyan
# HG changeset patch # User Roman Arutyunyan # Date 1690874519 -14400 # Tue Aug 01 11:21:59 2023 +0400 # Node ID 741deb8ff8257914312ab134f3a0b69256c661f4 # Parent a53bbd94a0fa436535ee3bbcb6176befdf47c68a QUIC: fixed PTO expiration condition. Previously, PTO handler analyzed the first packet

[PATCH 2 of 5] QUIC: eliminated spurious recovery period

2023-08-01 Thread Roman Arutyunyan
# HG changeset patch # User Roman Arutyunyan # Date 1690874486 -14400 # Tue Aug 01 11:21:26 2023 +0400 # Node ID a53bbd94a0fa436535ee3bbcb6176befdf47c68a # Parent 5b91a40f2dd249000e9208a0152dc5cc0c6ea0c4 QUIC: eliminated spurious recovery period. The initial value for recovery_start used to

[PATCH 5 of 5] QUIC: ignore blocked status in congestion event handlers

2023-08-01 Thread Roman Arutyunyan
# HG changeset patch # User Roman Arutyunyan # Date 1690874694 -14400 # Tue Aug 01 11:24:54 2023 +0400 # Node ID 80df0852e7ed58631025398694da6dd4dab42611 # Parent cd0ef56b0f1afaa54d7d2756dad2182628445e04 QUIC: ignore blocked status in congestion event handlers. Sometimes, while congestion w

[PATCH 4 of 5] QUIC: fixed probe-congestion deadlock

2023-08-01 Thread Roman Arutyunyan
# HG changeset patch # User Roman Arutyunyan # Date 1690873324 -14400 # Tue Aug 01 11:02:04 2023 +0400 # Node ID cd0ef56b0f1afaa54d7d2756dad2182628445e04 # Parent 741deb8ff8257914312ab134f3a0b69256c661f4 QUIC: fixed probe-congestion deadlock. When probe timeout expired while congestion wind