Skip to content

Conversation

maddeleine
Copy link
Contributor

@maddeleine maddeleine commented Apr 18, 2025

Release Summary:

Resolved issues:

resolves #2600

Description of changes:

Added event to trigger when a packet is dropped because the packet space hasn't been created yet. I added this into handle_initial, handle_cleartext_initial, handle_handshake, and handle_application.

Call-outs:

Testing:

It appears this event actually occurs in a dc quic handshake test. Evidently the server receives a handshake packet but doesn't have the handshake packet space at this point. Maybe this is expected? Seems like this test is meant to fail the handshake anyways. Any insights on this would be helpful.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@WesleyRosenblum
Copy link
Contributor

It appears this event actually occurs in a dc quic handshake test. Evidently the server receives a handshake packet but doesn't have the handshake packet space at this point. Maybe this is expected? Seems like this test is meant to fail the handshake anyways. Any insights on this would be helpful.

For this test, the client is sending ConnectionClose frames (due to an expected error) in the packet spaces that still exist (Handshake and OneRtt). Since the server has already discarded Handshake space, that packet is dropped, so this should be OK.

@maddeleine maddeleine merged commit 9ed7d73 into main Apr 22, 2025
125 of 126 checks passed
@maddeleine maddeleine deleted the emit_event branch April 22, 2025 20:51
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.

Emit an event when a packet is dropped due to the packet space not existing yet.
2 participants