Skip to content

Conversation

@kazuho
Copy link
Member

@kazuho kazuho commented Sep 18, 2025

#576 added special treatment for state exhaustion, or tried to.

However it is dead code, because when err is QUICLY_ERROR_STATE_EXHAUSTION, the branch if (QUICLY_ERROR_IS_QUIC_TRANSPORT(err)) will be taken.

This pull request swaps the the order of if..else so that the special handling takes effect.

`QUICLY_ERROR_STATE_EXHAUSTION` would fall in the
`QUICLY_ERROR_IS_QUIC_APPLICATION` category, so handle it at the start
of the if clause
@kazuho kazuho merged commit 4e1d58c into master Sep 18, 2025
5 checks passed
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.

3 participants