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

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

Count Diff
2 (22%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/igem/zyn/php-7.2.21/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/igem/zyn/php-7.2.21/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/igem/zyn/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/igem/zyn/php-7.2.21/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/igem/zyn/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /home/igem/zyn/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
012+ done
2 (22%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /usr/local/src/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
002+
003+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5
004+
005+ Warning: stream_select(): supplied argument is not a valid stream resource in /usr/local/src/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
006+
007+ Warning: stream_select(): No stream arrays were passed in /usr/local/src/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
009+ ** ERROR: process timed out **
1 (11%)
001+ Cannot load the ionCube PHP Loader - it was built with configuration API320151012,NTS, whereas running engine is API320170718,NTS
002+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20151012/opcache.so: undefined symbol: zend_interned_strings_snapshot
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'sqlsrv.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/sqlsrv.so.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 'pdo_sqlsrv.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_sqlsrv.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_sqlsrv.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_sqlsrv.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/pdo_sqlsrv.so.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 'imagick.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (11%)
001+ PHP Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/rat/Downloads/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
004+
005+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/rat/Downloads/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5
006+
007+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/rat/Downloads/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
008+
009+ Warning: stream_select(): No stream arrays were passed in /home/rat/Downloads/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
011+ ** ERROR: process timed out **
1 (11%)
001+ PHP Warning: PHP Startup: zpa: Unable to initialize module
002+ Module compiled with module API=20131226
003+ PHP compiled with module API=20170718
004+ These options need to match
005+ in Unknown on line 0
1 (11%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:10011 (Address already in use) in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 4
001- done
002+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 6
003+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
004+ PHP Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 9
005+ PHP Warning: stream_select(): supplied argument is not a valid stream resource in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
006+ PHP Warning: stream_select(): No stream arrays were passed in /home/andres/Descargas/php-src/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
007+
008+ ** ERROR: process timed out **
1 (11%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php-7.2.21/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 /usr/local/src/php-7.2.21/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 /usr/local/src/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.21/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 /usr/local/src/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /usr/local/src/php-7.2.21/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
012+ done