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

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

Count Diff
2 (13%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /OpenSSL-upgrade/php-5.6.15/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 /OpenSSL-upgrade/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-5.6.15/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.15/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/jadmin/downloads/php-5.6.15/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/jadmin/downloads/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /dist/src/php-5.6.15/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 /dist/src/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/src/php-5.6.15/php-5.6.15/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.15/php-5.6.15/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.15/php-5.6.15/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.15/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/tool/php-5.6.15/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/src/tool/php-5.6.15/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/src/tool/php-5.6.15/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/tool/php-5.6.15/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/src/tool/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
009+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/local/src/tool/php-5.6.15/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/src/tool/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
1 (7%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/build/php-5.6.15_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.15_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.15_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.15_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.15_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.15_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.15_SunOS5.10_sparcv9.001/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
1 (7%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /php-5.6.15/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 /php-5.6.15/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 /php-5.6.15/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 /php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /p/php-5.6.15/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 /p/php-5.6.15/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 /p/php-5.6.15/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 /p/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
008+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /p/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
1 (7%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/pi/php-5.6.15/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/pi/php-5.6.15/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/pi/php-5.6.15/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/pi/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
008+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/pi/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
009+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/pi/php-5.6.15/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 /home/pi/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
1 (7%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/pi/php-5.6.15/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/pi/php-5.6.15/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/pi/php-5.6.15/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/pi/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ PHP Warning: stream_socket_accept(): Failed setting RSA key in /usr/src/php-5.6.15/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/src/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /usr/src/php-5.6.15/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/src/php-5.6.15/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/src/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
007+
008+ Warning: stream_socket_client(): Failed to enable crypto in /usr/src/php-5.6.15/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/src/php-5.6.15/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/src/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ PHP Warning: PHP Startup: mcrypt: Unable to initialize module
001- Sending bug 46127
002+ Module compiled with module API=20100525
003+ PHP compiled with module API=20131226
004+ These options need to match
005+ in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php-5.4.10/lib/php/extensions/no-debug-zts-20100525/apc.so' - /usr/local/php-5.4.10/lib/php/extensions/no-debug-zts-20100525/apc.so: undefined symbol: file_globals_id in Unknown on line 0
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/RESEAU/rheauja1/src/php-5.6.15/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 /home/RESEAU/rheauja1/src/php-5.6.15/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
011+
012+ ** ERROR: process timed out **
1 (7%)