Skip to content

Commit 5913fbc

Browse files
committed
Merge branch 'PHP-8.6'
* PHP-8.6: Fix GH-24229: Use SHUT_WR when closing FastCGI connections (#24230)
2 parents b07dd67 + 7d7daae commit 5913fbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎main/fastcgi.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,7 @@ void fcgi_close(fcgi_request *req, int force, int destroy)
12791279
if (!force) {
12801280
char buf[8];
12811281

1282-
shutdown(req->fd, 1);
1282+
shutdown(req->fd, SHUT_WR);
12831283
/* read any remaining data, it may be omitted */
12841284
while (recv(req->fd, buf, sizeof(buf), 0) > 0) {}
12851285
}

0 commit comments

Comments
 (0)