From 0e3a0662c71ebda049f204b97da15344dabc4e13 Mon Sep 17 00:00:00 2001 From: afinitus <98845821+afinitus@users.noreply.github.com> Date: Fri, 23 Oct 2026 10:47:27 -0400 Subject: [PATCH] Fix UPGRADING/NEWS: so_linger is not applied to unix sockets Only so_rcvbuf and so_sndbuf were extended to unix and unix datagram sockets; so_linger remains TCP-only, as agreed in GH-23584 review. Co-Authored-By: Claude Opus 5.5 --- NEWS | 4 ++-- UPGRADING | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index 6bb8496271f8..8316fa4495b3 100644 --- a/NEWS +++ b/NEWS @@ -137,8 +137,8 @@ PHP NEWS and SQLite3Result::finalize()). (Ilia Alshanetsky) - Streams: - . Applied the so_linger, so_rcvbuf and so_sndbuf context options to unix - sockets. (David Carlier) + . Applied the so_rcvbuf and so_sndbuf context options to unix sockets. + (David Carlier) - Standard: . Fixed bug #60110 (fclose(), file_put_contents(), copy() do not return false diff --git a/UPGRADING b/UPGRADING index 39f8d9bbc0ba..fbcc9307a678 100644 --- a/UPGRADING +++ b/UPGRADING @@ -77,8 +77,8 @@ PHP 8.7 UPGRADE NOTES locale, and a TypeError if it contains a non-string value. - Streams: - . The so_linger, so_rcvbuf and so_sndbuf stream socket context options are - now also applied to unix and unix datagram sockets. + . The so_rcvbuf and so_sndbuf stream socket context options are now also + applied to unix and unix datagram sockets. ======================================== 3. Changes in SAPI modules