Skip to content

pipe: allow half-duplex operation#60986

Open
vtjnash wants to merge 1 commit intomasterfrom
jn/60959
Open

pipe: allow half-duplex operation#60986
vtjnash wants to merge 1 commit intomasterfrom
jn/60959

Conversation

@vtjnash
Copy link
Copy Markdown
Member

@vtjnash vtjnash commented Feb 10, 2026

Pipe are usually half-duplex on most OS and don't support shutdown, but a pipe also might be a unix domain socket, which is full-duplex.

Fix #60959
Assisted-by: Claude Opus 4.5 for tests
Closes #60961

Pipe are usually half-duplex on most OS and don't support `shutdown`,
but a pipe also might be a unix domain socket, which is full-duplex.

Fix #60959
Assisted-by: Claude Opus 4.5 for tests
@vtjnash vtjnash added io Involving the I/O subsystem: libuv, read, write, etc. backport 1.13 Change should be backported to release-1.13 labels Feb 10, 2026
@ararslan
Copy link
Copy Markdown
Member

Looks like this breaks FreeBSD

nested task error: IOError: shutdown: socket operation on non-socket (ENOTSOCK)

Which is not surprising I guess, given #42005 and its linked issues.

@KristofferC KristofferC mentioned this pull request Mar 3, 2026
56 tasks
@KristofferC KristofferC mentioned this pull request Mar 13, 2026
27 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 1.13 Change should be backported to release-1.13 io Involving the I/O subsystem: libuv, read, write, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unix domain sockets are prematurely closed after half-close

2 participants