Skip to content

Add support for systemd-managed Unix SEQPACKET sockets#14

Merged
molguin92 merged 1 commit intocloudflare:mainfrom
wes-fournier:wfournier/systemd-managed-seqpacket
Apr 9, 2026
Merged

Add support for systemd-managed Unix SEQPACKET sockets#14
molguin92 merged 1 commit intocloudflare:mainfrom
wes-fournier:wfournier/systemd-managed-seqpacket

Conversation

@wes-fournier
Copy link
Copy Markdown
Contributor

Addresses #13

Adds systemd_listen_unix_seqpacket, which listens on a systemd named socket in the same way as systemd_listen_unix.

The only wrinkle here is that UnixSeqpacketListener does not implement FromRawFd - it provides a from_raw_fd function but returns a Result instead of a raw file descriptor. I added a TryFromRawFd trait to unify the different interfaces.

Copy link
Copy Markdown
Contributor

@molguin92 molguin92 left a comment

Choose a reason for hiding this comment

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

LGTM. Just left a single nit pertaining to documentation on the new function.

Comment thread src/listener.rs
Comment thread src/tokio_ecdysis/mod.rs
@wes-fournier wes-fournier force-pushed the wfournier/systemd-managed-seqpacket branch from 753bec8 to 59b89e1 Compare April 9, 2026 16:55
@molguin92 molguin92 merged commit 58262c7 into cloudflare:main Apr 9, 2026
4 checks passed
nicholasraimbault added a commit to nicholasraimbault/skytale that referenced this pull request Apr 21, 2026
…pace

Supersedes Dependabot PRs #324 (ecdysis) and #325 (tokio) — those two
fail cargo-vet because Dependabot doesn't update supply-chain/config.toml.
Bundling the lockfile bump with the matching exemption updates avoids
the chicken-and-egg.

Cargo.lock:
- ecdysis 1.0.1 -> 1.1.0 (SEQPACKET socket support per cloudflare/ecdysis#14)
- tokio 1.50.0 -> 1.51.1 (bug fixes: semaphore forget, UDP SO_ERROR surfacing)
- cascading transitive bumps: tokio-macros 2.6.0->2.7.0, socket2 0.6.2->0.6.3,
  mio 1.1.1->1.2.0, libc 0.2.182->0.2.185

supply-chain/config.toml:
- add exemptions.tokio = "1.51.1" (existing 1.50.0 is audited but
  cargo-vet flags the new version as unvetted)
- roll exemptions forward: tokio-macros, socket2, mio, libc, ecdysis

cargo vet and cargo check --workspace pass locally.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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