Skip to content

wasi-sockets: Allow TCP connect from a Bound state.#9502

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
badeend:tcp-bind-connect
Oct 23, 2024
Merged

wasi-sockets: Allow TCP connect from a Bound state.#9502
alexcrichton merged 1 commit intobytecodealliance:mainfrom
badeend:tcp-bind-connect

Conversation

@badeend
Copy link
Member

@badeend badeend commented Oct 23, 2024

Typically, bind is only used on listener sockets. But it is perfectly fine to bind client sockets too.
Wasmtime was unnecessarily restrictive here.

Fixes WebAssembly/wasi-libc#540 encountered by @pavelsavara while trying to get the dotnet testsuite to run.

@badeend badeend requested a review from a team as a code owner October 23, 2024 12:50
@badeend badeend requested review from alexcrichton and removed request for a team October 23, 2024 12:50
@github-actions github-actions bot added the wasi Issues pertaining to WASI label Oct 23, 2024
@alexcrichton alexcrichton added this pull request to the merge queue Oct 23, 2024
Merged via the queue into bytecodealliance:main with commit 7dfe174 Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

wasi Issues pertaining to WASI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

wasi-sockets: TCP connect from a Bound state.

2 participants