Test: /ext/openssl/tests/bug46127.phpt - Version 5.6.26        

Bug #46127 [PATCH] php_openssl_tcp_sockop_accept forgets to set context on accepted stream
Submitted: 2008-09-19 15:50:36 Modified: 2008-11-16 23:23:38
From: mark Assigned: pajoye
Status: Closed Package: OpenSSL related
PHP Version: 5.3CVS-2008-11-11 OS: *

There are 10 different diffs reported by users for this test.

Count Diff
2 (17%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/jones/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/jones/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/jones/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/jones/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
008+ /home/jones/src/php-5.6.26/main/streams/streams.c(530) : Stream of type 'tcp_socket/ssl' 0x8bf846c (path:(null)) was not closed
2 (17%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /mnt/data/install/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /mnt/data/install/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /mnt/data/install/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /mnt/data/install/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ Xdebug requires Zend Engine API version 220060519.
001- Sending bug 46127
002+ The Zend Engine API version 220131226 which is installed, is newer.
003+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
004+
005+
006+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
007+
008+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
004+
005+ ** ERROR: process timed out **
1 (8%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/jones/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/jones/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/jones/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/jones/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
008+ /home/jones/src/php-5.6.26/main/streams/streams.c(530) : Stream of type 'tcp_socket/ssl' 0x8b87da4 (path:(null)) was not closed
1 (8%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:64321 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /usr/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 7
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
006+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /usr/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
007+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/src/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
1 (8%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:64321 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /usr/local/src/source/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 7
001- Sending bug 46127
002+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /usr/local/src/source/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
003+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/source/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/source/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/source/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ PHP Warning: stream_socket_accept(): Failed setting RSA key in /opt/work/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
001- Sending bug 46127
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /opt/work/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
003+
004+ Warning: stream_socket_client(): SSL: Connection reset by peer in /opt/work/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /opt/work/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /opt/work/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
009+
010+ Warning: fgets() expects parameter 1 to be resource, boolean given in /opt/work/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
011+ PHP Warning: stream_socket_accept(): accept failed: Success in /opt/work/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
012+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /opt/work/php-5.6.26/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
1 (8%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/memcached.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/memcache.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/mongodb.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/mongodb.so: cannot open shared object file: No such file or directory in Unknown on line 0