Skip to content

fix: relax PATH_CHALLENGE validation#460

Open
larseggert wants to merge 1 commit intoquic-interop:masterfrom
larseggert:fix-path-validation
Open

fix: relax PATH_CHALLENGE validation#460
larseggert wants to merge 1 commit intoquic-interop:masterfrom
larseggert:fix-path-validation

Conversation

@larseggert
Copy link
Contributor

The previous check required every PATH_CHALLENGE to have a matching PATH_RESPONSE, which was too strict because:

  • Some PATH_CHALLENGE frames may be lost in transit
  • The server may send multiple challenges for redundancy (per RFC 9000 §8.2)
  • On the final path, the peer may close the connection successfully without responding to a late-arriving PATH_CHALLENGE

Also add Python 3.14 support, because it was missing.

The previous check required every PATH_CHALLENGE to have a matching
PATH_RESPONSE, which was too strict because:
- Some PATH_CHALLENGE frames may be lost in transit
- The server may send multiple challenges for redundancy (per RFC 9000 §8.2)
- On the final path, the peer may close the connection successfully
  without responding to a late-arriving PATH_CHALLENGE

Also add Python 3.14 support, because it was missing.
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