summaryrefslogtreecommitdiff
path: root/ext/sockets/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fixed test (it failed on 32-bit Linux and worked on 64-bit Linux just ↵Dmitry Stogov2015-10-071-2/+2
| | | | because of luck).
* fixed language dependent Windows socket testsChristoph M. Becker2015-06-082-3/+3
|
* Use "float" and "integer" in typehint and zpp errorsAndrea Faulds2014-12-214-5/+5
|
* Fix skipif test hereRasmus Lerdorf2014-11-101-65/+66
|
* fix expected warning in testAnatol Belski2014-08-311-4/+4
|
* Finish ext/socketsXinchen Hui2014-05-184-7/+7
|
* Merge branch 'PHP-5.5'Gustavo Lopes2013-07-163-0/+85
|\ | | | | | | | | | | | | * PHP-5.5: NEWS for 710150c and e2744f1 socket: support unix paths in the abstract namespace socket: fix bug #65260 (SCM_RIGHTS)
| * socket: support unix paths in the abstract namespaceGustavo Lopes2013-07-152-0/+84
| | | | | | | | Those starting with '\0'.
| * socket: fix bug #65260 (SCM_RIGHTS)Gustavo Lopes2013-07-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The data for messages of type SOL_SOCKET/SCM_RIGHTS was not being passed correctly. There were actually two bugs: (1) the number of file descriptors being passed was being read incorrectly (the length of the cmsg array was being read instead of that of its 'data' element), as a result it was generally being reported as always three elements ('level', 'type' and 'data') and (2) the allocated block for writing the file descriptors was being acessed incorrectly because a 1-based counter was being used as if it was 0-based. Any of these two bugs would probably be enough to cause heap corruption.
* | Merge branch 'PHP-5.5'Stanislav Malyshev2013-06-231-0/+40
|\ \ | |/ | | | | | | * PHP-5.5: Implements feature Bug #63472 ability to set SO_BINDTODEVICE on socket.
| * Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2013-06-231-0/+40
| |\ | | | | | | | | | | | | | | | | | | | | | * PHP-5.4: Implements feature Bug #63472 ability to set SO_BINDTODEVICE on socket. Conflicts: ext/sockets/sockets.c
| | * Implements feature Bug #63472 ability to set SO_BINDTODEVICE on socket.Damjan Cvetko2013-06-231-0/+40
| | |
* | | OopsSara Golemon2013-04-301-1/+1
| | |
* | | Harden loopback testsSara Golemon2013-04-304-24/+50
|/ / | | | | | | | | These tests depend on being able to bind port 31337. Try a range of ports until one binds or we give up trying.
* | skip if no IPv6 supportXinchen Hui2013-03-053-2/+11
| |
* | Fix tests temporaryXinchen Hui2013-03-053-8/+18
| | | | | | | | seems IPV6_PKTINFO are not avaiable in some OS
* | Skip test on AppleXinchen Hui2013-03-051-1/+4
| |
* | Revert "Fixed Bug #64340 (sockets tests failed) Patch by Reeze"Xinchen Hui2013-03-051-5/+0
| | | | | | | | | | | | build break, will only leave the test script fix first This reverts commit f2246f352fc01295c370728d68a9bcd2bb546652.
* | Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-03-031-0/+3
|\ \ | |/
| * Fix test (skip on unable to create socket)Xinchen Hui2013-03-031-0/+3
| |
* | Fixed Bug #64340 (sockets tests failed) Patch by ReezeXinchen Hui2013-03-031-0/+5
| | | | | | | | Add __APPLE_USE_RFC_3542 for OS X 10.7 because IPv6 options are incompatible with RFC 2292.
* | Fix test on Windows.Gustavo Lopes2013-02-031-2/+4
| | | | | | | | | | | | Windows complains of invalid parameters because the socket is not bound. The test expected the error to be EAGAIN/EWOULDBLOCK. Moved the call down, after the socket is bound.
* | send/recvmsg() support for WindowsGustavo Lopes2013-02-023-9/+123
| |
* | Support sticky IPV6_PKTINFOGustavo Lopes2013-02-021-0/+31
| |
* | Fix mcast_ipv6_send testGustavo Lopes2013-02-021-2/+2
| |
* | Add test for CMSG_RIGHTSGustavo Lopes2013-02-021-0/+100
| |
* | Add test for CMSG_CREDENTIALS messageGustavo Lopes2013-02-021-0/+89
| |
* | Add test and slightly tweak anotherGustavo Lopes2013-02-022-0/+103
| |
* | Add test for recvmsg()Gustavo Lopes2013-02-021-0/+86
| |
* | Ignore warnings on EAGAIN/EWOULDBLOCK/EINPROGRESSGustavo Lopes2013-02-023-7/+6
|/ | | | See bug #63570
* Fix tests (Windows)Gustavo Lopes2013-02-023-3/+65
|
* Fix overbroad skipif includeGustavo Lopes2013-02-021-4/+2
|
* Mark this test as requiring internet connecion.Remi Collet2013-01-311-0/+3
|
* Fix failed test: sys_errlist[116] have changed on recent glibc (Fedora 18)Remi Collet2013-01-311-1/+1
| | | | | old: Stale NFS file handle new: Stale file handle
* fix failing test on Linux buildRemi Collet2012-12-191-1/+1
|
* Revert the previous test fixAnatoliy Belsky2012-12-031-1/+1
| | | | The fail seems to be due to network error
* Fix test with a slightly different warning in TSAnatoliy Belsky2012-12-031-1/+1
|
* Bug #49341: Add SO_REUSEPORT support for socket_set_option()Igor Wiedler2012-12-021-0/+15
| | | | | This is a BSD-only feature, and it will only be available on BSD. On other platforms the constant will simply not be set.
* Bug #63000: MCAST_JOIN_GROUP on OSX is brokenLars Strojny2012-09-191-0/+22
| | | | | | | | | | | | The multicast support in PHP 5.4 makes use of MCAST_JOIN_GROUP if it is present. The problem is that OSX 10.7 added the constant, but did not correctly implement the feature. This causes the setsockopt call to fail. The solution to the problem is to not use MCAST_JOIN_GROUP on OSX. For reference, this was also done in VLC: * http://trac.videolan.org/vlc/ticket/6104#comment:19
* Fixed test bug #62312 (warnings changed one more time)Anatoliy Belsky2012-07-091-2/+2
|
* Fixed the common misspelling of the word occurred (occured -> occurred)Marc Easen2012-06-303-6/+6
|
* Fixed bug #62312 ext\sockets\tests\socket_import_stream-4.phpt failsAnatoliy Belsky2012-06-142-1/+109
|
* Fixed bug #61638 Test ext\sockets\tests\unixloop.phpt failsAnatoliy Belsky2012-04-101-0/+3
|
* Fixed bug #61637 ext\sockets\tests\socket_sentto_recvfrom_unix.phptAnatoliy Belsky2012-04-101-0/+3
|
* Fixed bug #61635 ext\sockets\tests\socket_select-wrongparams-1.phptAnatoliy Belsky2012-04-102-5/+29
|
* Merge branch 'PHP-5.3' into PHP-5.4Anatoliy Belsky2012-04-101-0/+3
|\ | | | | | | | | | | | | | | * PHP-5.3: Fixed bug #61634 Test ext\sockets\tests\socket_listen-wrongparams.phpt fails Fixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt fails Fixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt fails Fixed bug 61621 Test fail in ext/standard/tests/dir
| * Fixed bug #61634 Test ext\sockets\tests\socket_listen-wrongparams.phpt failsAnatoliy Belsky2012-04-101-0/+3
| |
| * Fixed bug #61633 Test ext\sockets\tests\socket_create_pair-wrongparams.phpt ↵Anatoliy Belsky2012-04-102-0/+41
| | | | | | | | fails
| * Fixed bug #61632 Test ext\sockets\tests\socket_create_listen.phpt failsAnatoliy Belsky2012-04-102-0/+24
| |
| * fixed typoXinchen Hui2011-09-071-1/+1
| |