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

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

Count Diff
1 (7%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/src/php-7.2.32/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/src/php-7.2.32/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/src/php-7.2.32/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/src/php-7.2.32/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/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /usr/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
012+ done
1 (7%)
001+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php-7.2.32/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.32/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.32/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.32/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.32/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.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
012+ done
1 (7%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php-7.2.32/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/src/php-7.2.32/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/src/php-7.2.32/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/src/php-7.2.32/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/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /usr/src/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
012+ done
1 (7%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/lichenglin/php72/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/lichenglin/php72/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/lichenglin/php72/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/lichenglin/php72/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/lichenglin/php72/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /home/lichenglin/php72/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
012+ done
1 (7%)
001+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/guest/ZHGL61/php/php-7.2.32/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/guest/ZHGL61/php/php-7.2.32/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/guest/ZHGL61/php/php-7.2.32/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/guest/ZHGL61/php/php-7.2.32/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/guest/ZHGL61/php/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
010+
011+ Warning: stream_select(): No stream arrays were passed in /home/guest/ZHGL61/php/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
012+ done
1 (7%)
001+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /data/soft/php-7.2.32/ext/openssl/tests/CertificateGenerator.inc on line 100
001- done
002+
003+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /data/soft/php-7.2.32/ext/openssl/tests/CertificateGenerator.inc on line 104
004+
005+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in /data/soft/php-7.2.32/ext/openssl/tests/CertificateGenerator.inc on line 107
006+
007+ Warning: stream_socket_client(): SSL: Connection reset by peer in /data/soft/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
008+
009+ Warning: stream_socket_client(): Failed to enable crypto in /data/soft/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
010+
011+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:10011 (Unknown error) in /data/soft/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 4
012+
013+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in /data/soft/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 5
014+
015+ Warning: stream_select(): supplied argument is not a valid stream resource in /data/soft/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
016+
017+ Warning: stream_select(): No stream arrays were passed in /data/soft/php-7.2.32/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 10
018+ done
1 (7%)
001+ Warning: openssl_csr_sign(): cannot get CSR from parameter 1 in /data/soft/php-7.2.32/ext/openssl/tests/CertificateGenerator.inc on line 100
001- done
002+
003+ Warning: openssl_x509_export(): cannot get cert from parameter 1 in /data/soft/php-7.2.32/ext/openssl/tests/CertificateGenerator.inc on line 104
004+
005+ Warning: openssl_pkey_export(): cannot get key from parameter 1 in /data/soft/php-7.2.32/ext/openssl/tests/CertificateGenerator.inc on line 107
006+
007+ ** ERROR: process timed out **
1 (7%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'raphf.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.so: undefined symbol: zval_ptr_dtor), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/raphf.so.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 'propro.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.so: undefined symbol: zend_string_init_interned), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/propro.so.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 'http.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.so: undefined symbol: zend_string_init_interned), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/http.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.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so: undefined symbol: zend_string_init_interned), /usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20190902/pdo.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
005+ PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
006+ Module compiled with module API=20190902
007+ PHP compiled with module API=20170718
008+ These options need to match
009+ in Unknown on line 0
010+ PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
011+ Module compiled with module API=20190902
012+ PHP compiled with module API=20170718
013+ These options need to match
014+ in Unknown on line 0
015+ done
1 (7%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'openssl.so' (tried: /opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.so (/usr/local/gmssl/lib/libcrypto.so.1.1: version `OPENSSL_1_1_0' not found (required by /opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.so)), /opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.so.so (/opt/soft/php/lib/php/extensions/no-debug-non-zts-20170718/openssl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (7%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /opt/php7/lib/php/extensions/no-debug-non-zts-20170718/memcached.so (/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/memcached.so: cannot open shared object file: No such file or directory), /opt/php7/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.so (/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.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 'redis.so' (tried: /opt/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.so: cannot open shared object file: No such file or directory), /opt/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so (/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/redis.so.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 'imagick.so' (tried: /opt/php7/lib/php/extensions/no-debug-non-zts-20170718/imagick.so (/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/imagick.so: cannot open shared object file: No such file or directory), /opt/php7/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so (/opt/php7/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 (7%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/lib/php/modules/curl (/usr/lib/php/modules/curl: cannot open shared object file: No such file or directory), /usr/lib/php/modules/curl.so (/usr/lib/php/modules/curl.so: undefined symbol: zend_hash_index_update)) in Unknown on line 0
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'zip' (tried: /usr/lib/php/modules/zip (/usr/lib/php/modules/zip: cannot open shared object file: No such file or directory), /usr/lib/php/modules/zip.so (/usr/lib/php/modules/zip.so: undefined symbol: zend_std_has_property)) in Unknown on line 0
1 (7%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so (/usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcached.so.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/php/lib/php/extensions/no-debug-zts-20131226/memcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so (/usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718//usr/local/php/lib/php/extensions/no-debug-zts-20131226/memcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (7%)
001+ PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) '/opt/php7/lib/php/extensions/no-debug-non-zts-20170718/zlib.so' in Unknown on line 0
1 (7%)
001+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-zts-20170718/opcache.so (/usr/local/php7/lib/php/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-zts-20170718/opcache.so.so (/usr/local/php7/lib/php/extensions/no-debug-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (7%)
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 '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