Test: /ext/openssl/tests/bug72333.phpt - Version 7.0.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 28 different diffs reported by users for this test.

Count Diff
2 (6%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/work/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/work/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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 /root/work/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /root/work/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /root/work/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /root/work/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+ done
2 (6%)
001+ Warning: stream_socket_client(): SSL: Success in /home/daniel/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/daniel/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/daniel/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/daniel/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/daniel/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /home/daniel/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+ done
2 (6%)
001+ Warning: stream_socket_client(): SSL: Success in /root/php-src-php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-src-php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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 /root/php-src-php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /root/php-src-php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /root/php-src-php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /root/php-src-php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+ done
1 (3%)
001+ 2.4+ kernel w/o ELF notes? -- report this
1 (3%)
001+ Failed loading /directreader/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: /directreader/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
1 (3%)
001+ Failed loading /usr/local/ioncube/ioncube_loader_lin_5.6.so: /usr/local/ioncube/ioncube_loader_lin_5.6.so: undefined symbol: zval_update_constant_inline_change
1 (3%)
001+ Failed loading /usr/local/ioncube/ioncube_loader_lin_7.3.so: /usr/local/ioncube/ioncube_loader_lin_7.3.so: undefined symbol: zend_ce_countable
002+ Failed loading /usr/local/sourceguardian/ixed.7.3.lin: /usr/local/sourceguardian/ixed.7.3.lin: undefined symbol: zval_ptr_dtor
003+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so: /usr/local/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so: cannot open shared object file: No such file or directory
004+ PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0
1 (3%)
001+ Failed loading /usr/local/php/lib/php/extensions/opcache.so: /usr/local/php/lib/php/extensions/opcache.so: undefined symbol: compiler_globals
001- done
002+ PHP Warning: PHP Startup: CPClient: Unable to initialize module
003+ Module compiled with build ID=API20151012,NTS
004+ PHP compiled with build ID=API20151012,TS
005+ These options need to match
006+ in Unknown on line 0
007+ PHP Warning: PHP Startup: IPINClient: Unable to initialize module
008+ Module compiled with build ID=API20151012,NTS
009+ PHP compiled with build ID=API20151012,TS
010+ These options need to match
011+ in Unknown on line 0
012+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/php_screw_plus.so' - /usr/local/php/lib/php/extensions/php_screw_plus.so: undefined symbol: compiler_globals in Unknown on line 0
013+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/imagick.so' - libMagickWand.so.5: cannot open shared object file: No such file or directory in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/whatap.so' - /usr/local/php/lib/php/extensions/whatap.so: undefined symbol: sapi_globals in Unknown on line 0
015+ done
1 (3%)
001+ Failed loading /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/xdebug.so: /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/xdebug.so: cannot open shared object file: No such file or directory
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/yaf.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/yaf.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/sockets.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/sockets.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/event.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/event.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/xhprof.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/xhprof.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 '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/oci8.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/oci8.so: cannot open shared object file: No such file or directory in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/jsond.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/jsond.so: cannot open shared object file: No such file or directory in Unknown on line 0
008+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/msgpack.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/msgpack.so: cannot open shared object file: No such file or directory in Unknown on line 0
009+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php7/lib/php/extensions/no-debug-zts-20151012/yar.so' - /usr/local/php7/lib/php/extensions/no-debug-zts-20151012/yar.so: cannot open shared object file: No such file or directory in Unknown on line 0
1 (3%)
001+ PHP Warning: Module 'ftp' already loaded in Unknown on line 0
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/uploadprogress.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/uploadprogress.so: cannot open shared object file: No such file or directory in Unknown on line 0
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20131226/ssh2.so' - /usr/local/lib/php/extensions/no-debug-zts-20131226/ssh2.so: undefined symbol: zval_used_for_init in Unknown on line 0
001- done
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /usr/src/php/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
004+
005+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /usr/src/php/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
006+
007+ Warning: stream_select(): supplied argument is not a valid stream resource in /usr/src/php/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
008+
009+ Warning: stream_select(): No stream arrays were passed in /usr/src/php/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+ donePHP Warning: stream_socket_accept(): accept failed: Connection timed out in /usr/src/php/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 6
1 (3%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/7.0/lib/php/extensions/no-debug-non-zts-20151012/redis.so' - /usr/local/php/7.0/lib/php/extensions/no-debug-non-zts-20151012/redis.so: cannot open shared object file: No such file or directory in Unknown on line 0
1 (3%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:10011 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/chs/nh-system/PHPFARM/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Connection refused) in /home/chs/nh-system/PHPFARM/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
004+
005+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/chs/nh-system/PHPFARM/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
006+
007+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/chs/nh-system/PHPFARM/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
008+
009+ Warning: stream_select(): No stream arrays were passed in /home/chs/nh-system/PHPFARM/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+ donePHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /home/chs/nh-system/PHPFARM/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 6
1 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/20201110/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/20201110/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/20201110/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/20201110/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/20201110/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /home/20201110/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+ done
1 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/jguilleny/Downloads/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/jguilleny/Downloads/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/jguilleny/Downloads/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/jguilleny/Downloads/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/jguilleny/Downloads/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /home/jguilleny/Downloads/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+ done
1 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/rik/Public/phpbuilder/php70/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/rik/Public/phpbuilder/php70/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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/rik/Public/phpbuilder/php70/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /home/rik/Public/phpbuilder/php70/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /home/rik/Public/phpbuilder/php70/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /home/rik/Public/phpbuilder/php70/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+ done
1 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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 /root/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /root/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /root/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /root/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+ done
1 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(96) : 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 /root/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /root/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /root/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /root/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+ done
1 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /root/sources/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/sources/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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 /root/sources/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /root/sources/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 5
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in /root/sources/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /root/sources/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+ done
1 (3%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 4
001- done
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : 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.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /usr/local/src/php-7.0.33/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 10
012+ done