rvolosatovs opened PR #5633 from fix/blocking-sockets
to main
:
This commit is a follow-up on f81a663da7846ebf8a41282ef60b1eaf3c834e89, (https://github.com/bytecodealliance/wasmtime/pull/3729)
in which pre-opened socket support was added, but sockets opened by
wasmtime were made to default to non-blocking mode and pre-opened
sockets passed to wasmtime vialistenfd
were explicitly set to
non-blocking mode.Avoid explicitly setting the mode and use OS default mode in the
former case or whichever mode was pre-configured in the latter.Note, that Windows, POSIX and Berkeley sockets are blocking by default.
haraldh submitted PR review.
rvolosatovs requested wasmtime-core-reviewers for a review on PR #5633.
rvolosatovs requested fitzgen for a review on PR #5633.
rvolosatovs updated PR #5633.
fitzgen requested pchickey for a review on PR #5633.
Last updated: Nov 22 2024 at 16:03 UTC