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

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 11 different diffs reported by users for this test.

Count Diff
1 (9%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-5.6.29/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.29/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (9%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/w-30/php-5.6.29/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 /root/w-30/php-5.6.29/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (9%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/install/php-5.6.29/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 /root/install/php-5.6.29/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (9%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/.aaa/php56/php-5.6.29/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 /root/.aaa/php56/php-5.6.29/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (9%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/build/php-5.6.29_SunOS5.10_sparcv9.001/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/local/build/php-5.6.29_SunOS5.10_sparcv9.001/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/local/build/php-5.6.29_SunOS5.10_sparcv9.001/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/build/php-5.6.29_SunOS5.10_sparcv9.001/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
008+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/build/php-5.6.29_SunOS5.10_sparcv9.001/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
009+ PHP Warning: stream_socket_accept(): accept failed: Error 0 in /usr/local/build/php-5.6.29_SunOS5.10_sparcv9.001/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
010+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/build/php-5.6.29_SunOS5.10_sparcv9.001/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
1 (9%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /pkg/src/WWW/apache/php-5.6.29/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 /pkg/src/WWW/apache/php-5.6.29/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 /pkg/src/WWW/apache/php-5.6.29/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 /pkg/src/WWW/apache/php-5.6.29/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (9%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /mnt/data/install/php-5.6.29/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.29/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.29/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.29/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (9%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /merebuild/src/php-5.6.29/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 /merebuild/src/php-5.6.29/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 /merebuild/src/php-5.6.29/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 /merebuild/src/php-5.6.29/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (9%)
001+ PHP Warning: stream_socket_accept(): Failed setting RSA key in /opt/work/php-5.6.29/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.29/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /opt/work/php-5.6.29/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 /opt/work/php-5.6.29/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
005+
006+ Warning: stream_socket_client(): SSL: Connection reset by peer in /opt/work/php-5.6.29/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
007+
008+ Warning: stream_socket_client(): Failed to enable crypto in /opt/work/php-5.6.29/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 /opt/work/php-5.6.29/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 /opt/work/php-5.6.29/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (9%)
001+ PHP Warning: stream_socket_accept(): Failed setting RSA key in /opt/work/php-5.6.29/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.29/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.29/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.29/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.29/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.29/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.29/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.29/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
1 (9%)
001+ Cannot load Zend Extension Manager - it was built with configuration 1.2.0, whereas running engine is API220131226,NTS
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /tmp/php-5.6.29/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 /tmp/php-5.6.29/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12