Skip to content

Fix UPGRADING/NEWS: so_linger is not applied to unix sockets - #3

Merged
afinitus merged 1 commit into
masterfrom
fix/so-linger-unix-docs
Oct 23, 2026
Merged

afinitus merged 1 commit into
masterfrom
fix/so-linger-unix-docs

Conversation

@afinitus

Copy link
Copy Markdown
Owner

The UPGRADING and NEWS entries for 87b2d5d say so_linger, so_rcvbuf and so_sndbuf are now applied to unix sockets, but main/streams/xp_socket.c still only reads so_linger for TCP (PHP_STREAM_XPORT_IS_TCP), as agreed in the phpGH-23584 review. Drop so_linger from both entries so the docs match the code.

Only so_rcvbuf and so_sndbuf were extended to unix and unix datagram
sockets; so_linger remains TCP-only, as agreed in phpGH-23584 review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@afinitus
afinitus merged commit e30e4d6 into master Oct 23, 2026
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.

1 participant