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

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

Count Diff
3 (14%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/scardus/php/php-5.6.5/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/scardus/php/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
2 (10%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection timed out) in /home/staging/php-5.6.5/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/staging/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ eAccelerator requires Zend Engine API version 220090626.
001- Sending bug 46127
002+ The Zend Engine API version 220131226 which is installed, is newer.
003+ Contact eAccelerator at http://eaccelerator.net for a later version of eAccelerator.
004+
005+
006+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/php-5.6.5/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/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /var/sources/php-5.6.5/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 /var/sources/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/src/php-5.6.5/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.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/web/php-5.6.5/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/web/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-5.6.5/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.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/sources/php/php-5.6.5/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/sources/php/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /opt/src/php-5.6.5/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 /opt/src/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/dlosonti/php56/php-5.6.5/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/dlosonti/php56/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /c/home/hrvoje/source/php-5.6.5/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 /c/home/hrvoje/source/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /Users/eturcios/Downloads/php-5.6.5/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 /Users/eturcios/Downloads/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /var/opt/php-5.6.5/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 /var/opt/php-5.6.5/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 /var/opt/php-5.6.5/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 /var/opt/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
008+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /var/opt/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
009+ PHP Warning: stream_socket_accept(): accept failed: Success in /var/opt/php-5.6.5/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 /var/opt/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
1 (5%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/php-5.6.5/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/php-5.6.5/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/php-5.6.5/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/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ Warning: stream_socket_client(): Failed to enable crypto in /private/tmp/php/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 /private/tmp/php/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 /private/tmp/php/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
001+ PHP: syntax error, unexpected TC_STRING in /usr/local/php/lib/php.ini on line 944
001- Sending bug 46127
002+ PHP Fatal error: Directive 'register_globals' is no longer available in PHP in Unknown on line 0
003+
004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/src/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
005+
006+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/src/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
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+ PHP Warning: PHP Startup: soap: Unable to initialize module
003+ Module compiled with module API=20060613
004+ PHP compiled with module API=20131226
005+ These options need to match
006+ 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/src/php-5.6.5/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/src/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (5%)
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 /root/makelib/php-5.6.5/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 /root/makelib/php-5.6.5/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12