mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Add TCP_NOTSENT_LOWAT socket option
Can be used to limit the amount of unsent data per socket. Closes GH-8559.
This commit is contained in:
parent
c8c470a100
commit
1f4830f21a
3
NEWS
3
NEWS
@ -49,6 +49,9 @@ PHP NEWS
|
||||
. Fixed bug GH-7787 (Improve session write failure message for user error
|
||||
handlers). (ilutov)
|
||||
|
||||
- Sockets:
|
||||
. Added TCP_NOTSENT_LOWAT socket option. (David Carlier)
|
||||
|
||||
- Sodium:
|
||||
. Added sodium_crypto_stream_xchacha20_xor_ic(). (Scott)
|
||||
|
||||
|
@ -203,6 +203,7 @@ PHP 8.2 UPGRADE NOTES
|
||||
|
||||
- Sockets:
|
||||
. SO_INCOMING_CPU
|
||||
. TCP_NOTSENT_LOWAT
|
||||
|
||||
========================================
|
||||
11. Changes to INI File Handling
|
||||
|
@ -553,6 +553,9 @@ static PHP_MINIT_FUNCTION(sockets)
|
||||
#ifdef TCP_NODELAY
|
||||
REGISTER_LONG_CONSTANT("TCP_NODELAY", TCP_NODELAY, CONST_CS | CONST_PERSISTENT);
|
||||
#endif
|
||||
#ifdef TCP_NOTSENT_LOWAT
|
||||
REGISTER_LONG_CONSTANT("TCP_NOTSENT_LOWAT", TCP_NOTSENT_LOWAT, CONST_CS | CONST_PERSISTENT);
|
||||
#endif
|
||||
#ifdef TCP_DEFER_ACCEPT
|
||||
REGISTER_LONG_CONSTANT("TCP_DEFER_ACCEPT", TCP_DEFER_ACCEPT, CONST_CS | CONST_PERSISTENT);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user