Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(s2n-quic-dc): rename source_stream_port to source_queue_id #2526

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

camshaft
Copy link
Contributor

@camshaft camshaft commented Mar 11, 2025

Description of changes:

This change renames the source_stream_port to source_queue_id. This change is required to communicate the sender's queue_id, which is then included in any responses from the receiver.

Call-outs:

Note that this does change the wire format, but only for UDP streams, which are unstable currently. The TCP-based streams do not use source_stream_port at all.

The other thing to note is that split-socket streams are also broken by this change. This only applies to non-linux environments, which don't have reuse-port BPF routing capabilities. Once the recv socket pools are wired up, that will be the only supported mode of operation.

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

@camshaft camshaft force-pushed the camshaft/dc-source-queue-id branch from 107e623 to d7cedc7 Compare March 11, 2025 22:42
@camshaft camshaft marked this pull request as ready for review March 11, 2025 22:47
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