Test: /ext/openssl/tests/bug72333.phpt - Version 7.3.33        

Bug #72333 fwrite() on non-blocking SSL sockets doesn't work
Submitted: 2016-06-04 09:45:18 Modified: 2017-03-14 18:16:57
From: webmaster_20160604 Assigned: bukka
Status: Closed Package: OpenSSL related
PHP Version: 5.6.22 OS: All

There are 5 different diffs reported by users for this test.

Count Diff
2 (33%)
001+ Warning: stream_socket_client(): SSL: Success in /install/apache/php-cgi/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /install/apache/php-cgi/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Unknown error) in /install/apache/php-cgi/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /install/apache/php-cgi/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /install/apache/php-cgi/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /install/apache/php-cgi/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
012+ done
1 (17%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/curl (/usr/local/lib/php/extensions/no-debug-zts-20180731/curl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/curl.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/curl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
001- done
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'gd2' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/gd2 (/usr/local/lib/php/extensions/no-debug-zts-20180731/gd2: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/gd2.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/gd2.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'mbstring' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring (/usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mbstring.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli (/usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mysqli.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/openssl (/usr/local/lib/php/extensions/no-debug-zts-20180731/openssl: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/openssl.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql (/usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/vagrant/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
009+
010+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /home/vagrant/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5
011+
012+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/vagrant/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
013+
014+ Warning: stream_select(): No stream arrays were passed in /home/vagrant/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
015+ donePHP Warning: stream_socket_accept(): accept failed: Connection timed out in /home/vagrant/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 6
1 (17%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/ubuntu/php-7.3.33/ext/openssl/tests/bug72333.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 6
001- done
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 6
003+
004+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Unknown error) in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
009+
010+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5
011+
012+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
013+
014+ Warning: stream_select(): No stream arrays were passed in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
015+ donePHP Warning: stream_socket_accept(): accept failed: Success in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 6
016+ PHP Warning: fread() expects parameter 1 to be resource, bool given in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
017+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 9
018+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
019+ PHP Warning: stream_select(): No stream arrays were passed in /home/ubuntu/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
1 (17%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/pedror/bin/php7-latest/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/pedror/bin/php7-latest/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Unknown error) in /home/pedror/bin/php7-latest/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /home/pedror/bin/php7-latest/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/pedror/bin/php7-latest/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /home/pedror/bin/php7-latest/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
012+ done
1 (17%)
001+ Warning: stream_socket_client(): SSL: Success in /home/aurora/Downloads/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/aurora/Downloads/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Unknown error) in /home/aurora/Downloads/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in /home/aurora/Downloads/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/aurora/Downloads/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /home/aurora/Downloads/php-7.3.33/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
012+ done