Revision tags: php-5.5.14RC1, php-5.4.30RC1 |
|
#
c1965f58 |
| 05-Jun-2014 |
Dmitry Stogov |
Use reference counting instead of zval duplication
|
Revision tags: php-5.6.0beta4, php-5.4.29, php-5.5.13 |
|
#
c0bd24b5 |
| 17-May-2014 |
Pierre Joye |
Z_TYPE_PP > Z_TYPE_P
|
#
489da59b |
| 17-May-2014 |
Xinchen Hui |
Refactoring socket (only compilable now)
|
Revision tags: php-5.5.13RC1, php-5.6.0beta3, php-5.4.29RC1, php-5.6.0beta2, php-5.5.12, php-5.4.28, php-5.4.28RC1, php-5.5.12RC1, php-5.6.0beta1, php-5.4.27, php-5.5.11, php-5.5.11RC1, php-5.4.27RC1, php-5.5.10, php-5.4.26, php-5.6.0alpha3, php-5.4.26RC1, php-5.5.10RC1, php-5.6.0alpha2, php-5.5.9, php-5.4.25, php-5.5.9RC1, php-5.4.25RC1, php-5.6.0alpha1, php-5.5.8, php-5.4.24, php-5.4.24RC1, php-5.5.8RC1, php-5.5.7, php-5.4.23, php-5.3.28, php-5.5.7RC1, php-5.4.23RC1, php-5.4.22, php-5.5.6, php-5.4.22RC1, php-5.5.6RC1, php-5.4.21, php-5.5.5, php-5.4.21RC1, php-5.5.5RC1, php-5.5.4, php-5.4.20, php-5.5.4RC1, php-5.4.20RC1, php-5.5.3, php-5.4.19, php-5.5.2, php-5.4.18, php-5.5.2RC1, php-5.4.18RC2, php-5.5.1, php-5.4.18RC1, php-5.3.27, php-5.4.17, php-5.5.0, php-5.3.27RC1, php-5.4.17RC1, php-5.5.0RC3, php-5.3.26, php-5.4.16, php-5.5.0RC2, php-5.3.26RC1, php-5.4.16RC1 |
|
#
8687332e |
| 08-May-2013 |
Gustavo Lopes |
Fix bug #64506: fix build with --disable-ipv6
|
#
6f3c3862 |
| 08-May-2013 |
Gustavo Lopes |
Fix bug #64506: fix build with --disable-ipv6
|
Revision tags: php-5.5.0RC1, php-5.3.25, php-5.4.15, php-5.3.25RC1, php-5.5.0beta4, php-5.4.15RC1, php-5.4.14, php-5.3.24, php-5.5.0beta3, php-5.3.24RC1, php-5.4.14RC1, php-5.5.0beta2, php-5.5.0beta1, php-5.3.23, php-5.4.13, php-5.5.0alpha6, php-5.3.23RC1, php-5.4.13RC1, php-5.3.22, php-5.5.0alpha5, php-5.4.12, php-5.3.22RC2, php-5.4.12RC2 |
|
#
af1b90d6 |
| 03-Feb-2013 |
Gustavo Lopes |
Fix bug and hopefully build on WinSDK 6.1 There build was failing on rmtools on the sockets extension for two reasons: 1. IPV6_TCLASS and IPV6_RECVTCLASS not being defined. These
Fix bug and hopefully build on WinSDK 6.1 There build was failing on rmtools on the sockets extension for two reasons: 1. IPV6_TCLASS and IPV6_RECVTCLASS not being defined. These are probably recent additions to SDK. Windows 7 doesn't event seem to have complete support for IPV6_TCLASS, not accepting in WSASendMsg(). The parts that needed this constant were not guarded by #ifdefs. They are now. 2. The constants EWOULDBLOCK and EINPROGRESS not being defined. These were only defined in php_network.h, outside of the extension, and not all source files included this header. Nevertheless, a macro defined in php_sockets.h needed these constants. When this macro was used in files that did not include php_network.h, the compilation would fail. Surprisingly, the build did not fail when using the 7.1 Windows SDK (more likely, the CRT headers used in VC10), as somehow errno.h was being included through some other standard header. This would make the constant EWOULDBLOCK defined; however, it would be defined to the wrong value. In the winsock context, WSAEWOULDBLOCK should be used instead. Because we have difficulty using Windows-only constants in the code, we (re)define EWOULDBLOCK to WSAEWOULDBLOCK. This has the obvious disavantage we may miss problems like this again in the future.
show more ...
|
#
7066cc72 |
| 31-Jan-2013 |
Gustavo Lopes |
send/recvmsg() support for Windows
|
#
95f8d34f |
| 31-Jan-2013 |
Gustavo Lopes |
Revert "Payload of HOPLIMIT/TCLASS are 8-bit" This reverts commit 61a5ec7381ba5388a52926779fe3f58af0caea83. I checked Linux and OpenBSD and both use integers to write the IPV6_T
Revert "Payload of HOPLIMIT/TCLASS are 8-bit" This reverts commit 61a5ec7381ba5388a52926779fe3f58af0caea83. I checked Linux and OpenBSD and both use integers to write the IPV6_TCLASS messages and they don't force any endianness. This is despite RFC 3542 explicitly saying the first byte of cmsg_data will have the result. In any case, it doesn't make any difference in little-endian archs.
show more ...
|
#
f10baf14 |
| 30-Jan-2013 |
Gustavo Lopes |
Payload of HOPLIMIT/TCLASS are 8-bit
|
Revision tags: php-5.3.22RC1, php-5.4.12RC1, php-5.5.0alpha4, php-5.3.21, php-5.4.11, php-5.5.0alpha3, php-5.3.21RC1, php-5.4.11RC1 |
|
#
bd580db3 |
| 01-Jan-2013 |
Gustavo Lopes |
Build fixes; accept names for if_index
|
Revision tags: php-5.3.20, php-5.4.10, php-5.5.0alpha2, php-5.3.20RC1, php-5.4.10RC1, php-5.3.19, php-5.4.9, php-5.5.0alpha1 |
|
#
4414b33a |
| 11-Nov-2012 |
Gustavo Lopes |
Refactoring: move stuff to new conversions.c
|
Revision tags: php-5.3.19RC1, php-5.4.9RC1 |
|
#
66ea0245 |
| 06-Nov-2012 |
Gustavo Lopes |
Support sticky IPV6_PKTINFO
|
#
b18bd890 |
| 06-Nov-2012 |
Gustavo Lopes |
Rename some functions for consistency
|
#
8fb1aa61 |
| 06-Nov-2012 |
Gustavo Lopes |
Destroy ancillary registry on shutdown
|
#
5bf7b08e |
| 05-Nov-2012 |
Gustavo Lopes |
Check return of fstat()
|
#
190a0ed7 |
| 05-Nov-2012 |
Gustavo Lopes |
Fix build on Mac OS X By deactivating unsupported features on this OS.
|
#
7fc4671d |
| 05-Nov-2012 |
Gustavo Lopes |
Add test for CMSG_CREDENTIALS message
|
#
a85d7f28 |
| 04-Nov-2012 |
Gustavo Lopes |
Added support for AF_UNIX messages Added constants: SCM_RIGHTS, SCM_CREDENTIALS and SO_PASSCRED. The function socket_cmsg_space() was modified to support message types with vari
Added support for AF_UNIX messages Added constants: SCM_RIGHTS, SCM_CREDENTIALS and SO_PASSCRED. The function socket_cmsg_space() was modified to support message types with variable size. Its new signature is: int socket_cmsg_space(int $level, int $type, int $n) where $n is the number of repetable elements that the message is composed of.
show more ...
|
#
17540788 |
| 05-Nov-2012 |
Gustavo Lopes |
Added missing return statements
|
#
73ab2385 |
| 02-Nov-2012 |
Gustavo Lopes |
Support for IPV6_HOPLIMIT and IPV6_TCLASS
|
#
b27c22d6 |
| 02-Nov-2012 |
Gustavo Lopes |
Fix bug in from_zval_write_control_array()
|
#
b06f0047 |
| 02-Nov-2012 |
Gustavo Lopes |
Fix bug converting zval sockaddr The bug ocurred when the family was not specified but was instead guessed.
|
#
5e51c851 |
| 01-Nov-2012 |
Gustavo Lopes |
Wrap recvmsg() and sendmsg() This introduces two new functions: int socket_recvmsg(resource $socket, array &$msghdr, int $flags) int socket_sendmsg(resource $socket, array $msgh
Wrap recvmsg() and sendmsg() This introduces two new functions: int socket_recvmsg(resource $socket, array &$msghdr, int $flags) int socket_sendmsg(resource $socket, array $msghdr, int $flags) The arrays representing struct msghdr follow the native counterpart closely: structs are mapped to arrays, fields to array elements whose key is the name of the field without the prefix (e.g. "name" instead of "msg_name") and array are mapped to sequential numeric PHP arrays. Right now the only type of ancillary data supported is fot the level/type pair IPPROTO_IPV6/IPV6_PKTINFO. I also refactored out the name resolution functions and made sockets_strerror() a global function.
show more ...
|