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

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

Count Diff
1 (20%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/harry/Downloads/php-7.0.8/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/harry/Downloads/php-7.0.8/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (20%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /Users/vojta/Devel/Personal/php-7.0.8/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/vojta/Devel/Personal/php-7.0.8/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (20%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /Applications/MAMP/bin/php/php7.0.8/include/php/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 /Applications/MAMP/bin/php/php7.0.8/include/php/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (20%)
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 /home/alexander/local/src/php-7.0.8/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 /home/alexander/local/src/php-7.0.8/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 /home/alexander/local/src/php-7.0.8/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 /home/alexander/local/src/php-7.0.8/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/alexander/local/src/php-7.0.8/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (20%)
001+ PHP Fatal error: Directive 'magic_quotes_gpc' is no longer available in PHP in Unknown on line 0
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-7.0.8/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-7.0.8/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12