mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
ext/sockets: adding windows SO_EXCLUSIVEADDRUSE constant.
Close GH-13030
This commit is contained in:
parent
1d641f6c6d
commit
b02f95adae
1
NEWS
1
NEWS
@ -102,6 +102,7 @@ SOAP:
|
||||
|
||||
Sockets:
|
||||
. Removed the deprecated inet_ntoa call support. (David Carlier)
|
||||
. Added the SO_EXECLUSIVEADDRUSE windows constant. (David Carlier)
|
||||
|
||||
Sodium:
|
||||
. Add support for AEGIS-128L and AEGIS-256 (jedisct1)
|
||||
|
@ -329,6 +329,9 @@ PHP 8.4 UPGRADE NOTES
|
||||
. The IntlDateFormatter class exposes now the new PATTERN constant
|
||||
reflecting udat api's UDAT_PATTERN.
|
||||
|
||||
- Sockets:
|
||||
. SO_EXCLUSIVEADDRUSE (Windows only).
|
||||
|
||||
- XML:
|
||||
. Added XML_OPTION_PARSE_HUGE to allow large inputs in xml_parse and
|
||||
xml_parse_into_struct.
|
||||
|
@ -1748,6 +1748,13 @@ const SO_DETACH_FILTER = UNKNOWN;
|
||||
*/
|
||||
const SO_DETACH_BPF = UNKNOWN;
|
||||
#endif
|
||||
#if defined(SO_EXCLUSIVEADDRUSE)
|
||||
/**
|
||||
* @var int
|
||||
* @cvalue SO_EXCLUSIVEADDRUSE
|
||||
*/
|
||||
const SO_EXCLUSIVEADDRUSE = UNKNOWN;
|
||||
#endif
|
||||
#if defined(TCP_QUICKACK)
|
||||
/**
|
||||
* @var int
|
||||
|
5
ext/sockets/sockets_arginfo.h
generated
5
ext/sockets/sockets_arginfo.h
generated
@ -1,5 +1,5 @@
|
||||
/* This is a generated file, edit the .stub.php file instead.
|
||||
* Stub hash: a64427da8198261f528a38c5bf90c673eb5b8282 */
|
||||
* Stub hash: f1bb7ebc6cd2353fc3bac6ad5d3c5644036e3aeb */
|
||||
|
||||
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_socket_select, 0, 4, MAY_BE_LONG|MAY_BE_FALSE)
|
||||
ZEND_ARG_TYPE_INFO(1, read, IS_ARRAY, 1)
|
||||
@ -1009,6 +1009,9 @@ static void register_sockets_symbols(int module_number)
|
||||
#if defined(SO_DETACH_BPF)
|
||||
REGISTER_LONG_CONSTANT("SO_DETACH_BPF", SO_DETACH_BPF, CONST_PERSISTENT);
|
||||
#endif
|
||||
#if defined(SO_EXCLUSIVEADDRUSE)
|
||||
REGISTER_LONG_CONSTANT("SO_EXCLUSIVEADDRUSE", SO_EXCLUSIVEADDRUSE, CONST_PERSISTENT);
|
||||
#endif
|
||||
#if defined(TCP_QUICKACK)
|
||||
REGISTER_LONG_CONSTANT("TCP_QUICKACK", TCP_QUICKACK, CONST_PERSISTENT);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user