Skip to content

Conversation

@larseggert
Copy link
Contributor

Separate the fast path (msghdr_x-based) and slow path (msghdr-based) implementations to prepare for runtime dispatch between them.

Broken out of #2463 as suggested by @djc.

@djc
Copy link
Member

djc commented Jan 22, 2026

Can you rebase this and get CI passing?

Separate the fast path (`msghdr_x`-based) and slow path (`msghdr`-based)
implementations to prepare for runtime dispatch between them.

Broken out of quinn-rs#2463 as suggested by @djc.
@larseggert larseggert force-pushed the refactor/split-send-recv-paths branch from e9bb301 to e9350d0 Compare January 22, 2026 14:18
@thomaseizinger
Copy link
Contributor

I haven't tested the feasibility of this idea but I am wondering at what point it will be simpler to not just split the code in quinn-udp by Windows & UNIX but actually have different files for e.g. different operating systems / kernels. We can still share code between them through other modules in case duplication is a concern.

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