MFH: Fixed bug #46360 (TCP_NODELAY constant for socket_{get,set}_option)

This commit is contained in:
Arnaud Le Blanc 2008-10-22 18:59:33 +00:00
parent a8c8963bc0
commit 15aced54b0
2 changed files with 5 additions and 0 deletions

2
NEWS
View File

@ -18,6 +18,8 @@ PHP NEWS
- Fixed bug causing the algorithm parameter of mhash() to be modified. (Scott)
- Fixed bug #46360 (TCP_NODELAY constant for socket_{get,set}_option).
(bugs at trick dot vanstaveren dot us)
- Fixed bug #46238 (Segmentation fault on static call with empty string method).
(Felipe)
- Fixed bug #46205 (Closure - Memory leaks when ReflectionException is thrown).

View File

@ -661,6 +661,9 @@ PHP_MINIT_FUNCTION(sockets)
REGISTER_LONG_CONSTANT("SO_ERROR", SO_ERROR, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("SOL_SOCKET", SOL_SOCKET, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("SOMAXCONN", SOMAXCONN, CONST_CS | CONST_PERSISTENT);
#ifdef TCP_NODELAY
REGISTER_LONG_CONSTANT("TCP_NODELAY", TCP_NODELAY, CONST_CS | CONST_PERSISTENT);
#endif
REGISTER_LONG_CONSTANT("PHP_NORMAL_READ", PHP_NORMAL_READ, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("PHP_BINARY_READ", PHP_BINARY_READ, CONST_CS | CONST_PERSISTENT);