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

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
3 (23%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/src/php-5.6.27/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/src/php-5.6.27/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
2 (15%)
001+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-5.6.27/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-5.6.27/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/local/src/php-5.6.27/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ Zend Optimizer requires Zend Engine API version 220060519.
001- Sending bug 46127
002+ The Zend Engine API version 220131226 which is installed, is newer.
003+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend Optimizer.
004+
005+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/memcache.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/php-5.6.27/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 /usr/local/php-5.6.27/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 (No route to host) in /usr/local/src/php-5.6.27/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.27/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 /home/henry/install/php-5.6.27/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 /home/henry/install/php-5.6.27/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 /home/dali/php-5.6.27/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 /home/dali/php-5.6.27/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 /dists/php/php-5.6.27/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 /dists/php/php-5.6.27/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (8%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /mnt/data/install/php-5.6.27/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.27/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.27/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.27/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 /usr/local/work/php-5.6.27/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 /usr/local/work/php-5.6.27/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/work/php-5.6.27/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
004+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/work/php-5.6.27/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
005+
006+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/work/php-5.6.27/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
007+
008+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/work/php-5.6.27/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
009+
010+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/work/php-5.6.27/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
011+
012+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/work/php-5.6.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/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.27/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11