Skip to content

Add datagram demux protocol - #76

Open
tfpauly wants to merge 3 commits into
mainfrom
tfp/demux-protocol
Open

Add datagram demux protocol#76
tfpauly wants to merge 3 commits into
mainfrom
tfp/demux-protocol

Conversation

@tfpauly

@tfpauly tfpauly commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Add a small protocol that supports demuxing inbound datagrams based on patterns (such as QUIC connection IDs, etc)

requestingIndex: &requestingIndex
)
if let returnArray {
return returnArray

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity why does this return here even though there may be entries to match against? Is it because the from does not match?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is getting frames that are already sorted into the correct upper handler. We only pull new frames from lower when we run out of frames already enqueued.

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