RFR: 8371475: HttpClient: Implement CUBIC congestion controller [v3]
Daniel Fuchs
dfuchs at openjdk.org
Mon Nov 17 15:28:05 UTC 2025
On Mon, 17 Nov 2025 12:41:39 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
>> Should we assert that congestionWindow is >= minimumWindow after this operation?
>
> It cannot overflow when used correctly (i.e. when packetBytes < congestionWindow, and congestionWindow < 2 * MAX_BYTES_IN_FLIGHT).
if congestionWindow >= minimumWindow is an invariant, maybe we should assert it whenever we change congestionWindow.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28195#discussion_r2534518143
More information about the net-dev
mailing list