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

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
20 (43%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
12 (26%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/viz/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/viz/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
2 (4%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/vizcreations/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/vizcreations/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
2 (4%)
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/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 7
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
006+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 10
007+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (2%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/vizcreations/Downloads/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/viz/software/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/viz/software/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/ec2-user/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/ec2-user/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : 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 /root/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /root/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
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/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : 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/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 10
003+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : 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/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
1 (2%)
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/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 7
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
004+
005+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
006+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 10
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/php_mysqli.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/php_mysqli.dll: cannot open shared object file: No such file or directory in Unknown on line 0
001- Sending bug 46127
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/php_pdo_mysql.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/php_pdo_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
003+
004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
005+
006+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
007+ 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/vizcreations/Downloads/linux-soft/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 7
1 (2%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/php_intl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
001- Sending bug 46127
002+ 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/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 7
003+
004+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
005+
006+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 12
007+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 10
008+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/vizcreations/php-7.0.28/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 11
1 (2%)
001+ PHP Warning: Module 'PDO' already loaded in Unknown on line 0
002+ PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
1 (2%)
001+ 2.4+ kernel w/o ELF notes? -- report this