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-alive
tokeep-alive-enabled
, since it is no longer the only "keep-alive"-related option.- Rename
(set-)unicast-hop-limit
to(set-)hop-limit
, because the "unicast" qualifier is redundant for TCP.- Be stricter in that
0
is not a valid value for:
set-listen-backlog-size
set-hop-limit
set-receive-buffer-size
set-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 23 2024 at 12:05 UTC