Skip to content

Correct drainPendingOpeners javadoc and document SETTINGS-raise test scope - #2295

Merged
hyperxpro merged 1 commit into
mainfrom
fix/h2-drain-javadoc
Jul 31, 2026
Merged

hyperxpro merged 1 commit into
mainfrom
fix/h2-drain-javadoc

Conversation

@hyperxpro

Copy link
Copy Markdown
Member

Motivation:

The offerPendingOpener javadoc claims drainPendingOpeners "only re-offers" a queued opener on a draining connection, which it never does, and the SETTINGS-raise test does not record what it pins.

Modification:

Reword the javadoc: the opener stays queued because tryAcquireStream refuses once draining/closed.
Comment raisedLimitDrainsMultiplePendingOpenersInOrder with its scope and the sibling test for slot accounting.

Result:

Comments only, no behaviour change.

@hyperxpro
hyperxpro merged commit 7a164fd into main Jul 31, 2026
17 checks passed
@hyperxpro
hyperxpro deleted the fix/h2-drain-javadoc branch July 31, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant