quiche
quiche copied to clipboard
fix: send MAX_STREAMS when available <= 50% of initial for long lived connections
The current logic sends MAX_STREAMS too aggressively. As the next MAX_STREAMS value increases, the condition for whether or not to send MAX_STREAMS becomes unconditionally true. This change fixes that so that MAX_STREAMS is only sent when 50% or more streams have completed.