[php-src] master: Merge branch 'PHP-8.6'

From: Date: Sat, 10 Oct 2026 07:12:30 +0000
Subject: [php-src] master: Merge branch 'PHP-8.6'
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-142145@lists.php.net to get a copy of this message
Author: Weilin Du (LamentXU123) Date: 2026-10-10T15:08:39+08:00 Commit: https://github.com/php/php-src/commit/5913fbc6a6be0b5f2f61cf790072e7407bdd370d Raw diff: https://github.com/php/php-src/commit/5913fbc6a6be0b5f2f61cf790072e7407bdd370d.diff Merge branch 'PHP-8.6' * PHP-8.6: Fix GH-24229: Use SHUT_WR when closing FastCGI connections (#24230) Changed paths: M main/fastcgi.c Diff: diff --git a/main/fastcgi.c b/main/fastcgi.c index a393283fcb0b..5a525a9d66be 100644 --- a/main/fastcgi.c +++ b/main/fastcgi.c @@ -1279,7 +1279,7 @@ void fcgi_close(fcgi_request *req, int force, int destroy) if (!force) { char buf[8]; - shutdown(req->fd, 1); + shutdown(req->fd, SHUT_WR); /* read any remaining data, it may be omitted */ while (recv(req->fd, buf, sizeof(buf), 0) > 0) {} }

« previous php.cvs (#142145) next »