1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

ext/sockets: adding Linux's TCP_USER_TIMEOUT constant.

Set TCP_USER_TIMEOUT to cap (ms) how long TCP will wait for ACKs on in-flight data
before aborting the connection; prevents stuck/half-open sessions and
enables faster failover vs default retransmission timeouts.

Co-authored-by: David Carlier <devnexen@gmail.com>

close GH-20708
This commit is contained in:
James Lucas
2025-12-15 21:23:44 +11:00
committed by David Carlier
parent b6f786a7ca
commit 46e55dd97c
7 changed files with 116 additions and 2 deletions

View File

@@ -94,6 +94,9 @@ PHP 8.6 UPGRADE NOTES
10. New Global Constants
========================================
- Sockets:
. TCP_USER_TIMEOUT (Linux only).
========================================
11. Changes to INI File Handling
========================================