Skip to content

Conversation

Mark-Simulacrum
Copy link
Collaborator

Release Summary:

  • feat(s2n-quic-dc): Expose HandshakingPath to access entry/error after handshake completes

Resolved issues:

n/a

Description of changes:

This refactors the HandshakingPath to allow consumers of the DcPathCreated event to store a copy of the path locally, allowing subsequent access after various events are handled (e.g., to pull out the path secret ID for logging).

This also adjusts error propagation out of the HandshakingPath to preserve more detail about errors, again propagating that into the HandshakingPath for consumers to access if desired. This also avoids panics in a few cases in favor of failing just the one handshake.

Call-outs:

n/a

Testing:

Just refactoring (mostly exposing more types), no particular tests added.

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

This refactors the HandshakingPath to allow consumers of the
DcPathCreated event to store a copy of the path locally, allowing
subsequent access after various events are handled (e.g., to pull out
the path secret ID for logging).

This also adjusts error propagation out of the HandshakingPath to
preserve more detail about errors, again propagating that into the
HandshakingPath for consumers to access if desired. This also avoids
panics in a few cases in favor of failing just the one handshake.
@maddeleine maddeleine merged commit edf4df0 into aws:main Jun 24, 2025
118 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.

2 participants