badeend opened PR #7512 from badeend:more-sockopts to bytecodealliance:main:
- Add support for the socket options:
is-listening(SO_ACCEPTCONN)keep-alive-count(TCP_KEEPCNT)keep-alive-idle-time(TCP_KEEPIDLE)keep-alive-interval(TCP_KEEPINTVL)- Tweak existing socket options:
- Rename
keep-alivetokeep-alive-enabled, since it is no longer the only "keep-alive"-related option.- Rename
(set-)unicast-hop-limitto(set-)hop-limit, because the "unicast" qualifier is redundant for TCP.- Be stricter in that
0is not a valid value for:
set-listen-backlog-sizeset-hop-limitset-receive-buffer-sizeset-send-buffer-size
badeend requested pchickey for a review on PR #7512.
badeend requested wasmtime-core-reviewers for a review on PR #7512.
alexcrichton submitted PR review:
Thanks! I think there may be a macOS-only failure to take a look at on CI though
badeend updated PR #7512.
alexcrichton has enabled auto merge for PR #7512.
alexcrichton merged PR #7512.
Last updated: Dec 13 2025 at 19:03 UTC