Test: /ext/openssl/tests/bug74159.phpt - Version 7.3.31        

Bug #74159 writing a large buffer to non-blocking encrypted streams fails
Submitted: 2017-02-24 00:37:30 Modified: 2017-03-14 18:26:42
From: daverandom Assigned: bukka
Status: Duplicate Package: OpenSSL related
PHP Version: Irrelevant OS: any

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

Count Diff
2 (25%)
001+ stream_socket_enable_crypto(): SSL: Success
001- Written 1048575 bytes
002- DONE
1 (13%)
001+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
001- Written 1048575 bytes
002- DONE
1 (13%)
001+ Termsig=11
001- Written 1048575 bytes
002- DONE
1 (13%)
001+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:10012 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/try/src/php-7.3.31/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 8
002+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.31/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ stream_socket_client(): unable to connect to tcp://127.0.0.1:10012 (Connection refused)
1 (13%)
001+ PHP Warning: stream_socket_accept(): Unable to set local cert chain file `/home/dev/php-7.3.31/ext/openssl/tests/bug74159.pem.tmp'; Check that your cafile/capath settings include details of your certificate and its issuer in /home/dev/php-7.3.31/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
002+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /home/dev/php-7.3.31/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
001- Written 1048575 bytes
002- DONE
003+ PHP Warning: stream_socket_accept(): accept failed: Success in /home/dev/php-7.3.31/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 11
004+ stream_socket_enable_crypto(): SSL: Success
1 (13%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/memcached.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/memcached.so: cannot open shared object file: No such file or directory), /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/memcached.so.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/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 'mcrypt.so' (tried: /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/mcrypt.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/mcrypt.so: cannot open shared object file: No such file or directory), /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/mcrypt.so.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/mcrypt.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 'maxminddb.so' (tried: /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/maxminddb.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/maxminddb.so: cannot open shared object file: No such file or directory), /srv/php-zts/lib/php/extensions/no-debug-zts-20180731/maxminddb.so.so (/srv/php-zts/lib/php/extensions/no-debug-zts-20180731/maxminddb.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (13%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library 'mcrypt.so' (tried: /usr/local/lib/php/extensions/no-debug-zts-20180731/mcrypt.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mcrypt.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-zts-20180731/mcrypt.so.so (/usr/local/lib/php/extensions/no-debug-zts-20180731/mcrypt.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0