Skip to content

Tighten POSIX semantics for listen#831

Merged
alexcrichton merged 1 commit into
WebAssembly:mainfrom
alexcrichton:backlog-posix
Jul 17, 2026
Merged

Tighten POSIX semantics for listen#831
alexcrichton merged 1 commit into
WebAssembly:mainfrom
alexcrichton:backlog-posix

Conversation

@alexcrichton

Copy link
Copy Markdown
Collaborator

Handle the case when the backlog argument is less than 1 (0 or negative) by selecting an implementation-defined minimum, in this case 0. WASI rejects 0 but POSIX doesn't, and this helps get an upstream Python test passing.

@alexcrichton
alexcrichton requested a review from pchickey July 16, 2026 20:18
Handle the case when the `backlog` argument is less than 1 (0 or
negative) by selecting an implementation-defined minimum, in this case
0. WASI rejects 0 but POSIX doesn't, and this helps get an upstream
Python test passing.
@alexcrichton
alexcrichton enabled auto-merge (squash) July 17, 2026 17:14
@alexcrichton
alexcrichton merged commit c86c8d0 into WebAssembly:main Jul 17, 2026
35 checks passed
@alexcrichton
alexcrichton deleted the backlog-posix branch July 17, 2026 17:20
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