Skip to content

Conversation

Mark-Simulacrum
Copy link
Collaborator

Release Summary:

  • feat(s2n-quic-dc): Emit additional events for TCP connects

Resolved issues:

n/a

Description of changes:

This adds a set of events for stream opening, when dcQUIC owns the TCP connect() call. UDP streams likely want something similarly shaped but likely at least subtly different -- UDP connect() I think is either infallible or at least differently-fallible (e.g., exhausting our pool is perhaps a failure mode worth tracking there).

Call-outs:

The new events are attached to the endpoint rather than moving the ConnectionContext earlier -- that's not perfect, but it seems reasonable enough. I'm not super happy with not tracking some of the later failures (e.g., for sending the prelude) but that can come later and this is already a useful step.

Testing:

No tests added, but the modified code is run as part of our existing testing.

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

@Mark-Simulacrum Mark-Simulacrum force-pushed the dc-stream-connect-events branch from 3d429d0 to 2e9c33a Compare June 18, 2025 19:11
@maddeleine maddeleine merged commit 43178b1 into aws:main Jun 18, 2025
118 checks passed
@Mark-Simulacrum Mark-Simulacrum deleted the dc-stream-connect-events branch June 18, 2025 21:27
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