Stream: git-wasmtime

Topic: wasmtime / PR #14518 reset P2 TCP sockets closed with unr...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2026 at 20:52):

macovedj opened PR #14518 from macovedj:p2-tcp-close-unread-rst to bytecodealliance:main:

Closing a P2 TCP socket with unread received data currently shuts down its retained streams before closing the native descriptor. The peer can therefore observe a clean EOF instead of the connection reset expected when closing a socket with unread data.

This PR resets connected sockets with unread data before their retained streams drop, using zero linger plus connect(AF_UNSPEC) on Linux/Android and disconnectx on Apple targets.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2026 at 20:52):

macovedj requested alexcrichton for a review on PR #14518.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2026 at 20:52):

macovedj requested wasmtime-wasi-reviewers for a review on PR #14518.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 03 2026 at 20:52):

macovedj requested wasmtime-default-reviewers for a review on PR #14518.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 04 2026 at 01:48):

github-actions[bot] added the label wasi on PR #14518.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 05 2026 at 21:29):

pchickey commented on PR #14518:

Like #14461 I would need @badeend to take a look at this


Last updated: Oct 11 2026 at 04:10 UTC