Test: /ext/openssl/tests/bug48182.phpt - Version 7.1.4        

Bug #48182 asynchronous socket connection over ssl fails entirely
Submitted: 2009-05-07 16:23:49 Modified: 2009-08-21 00:46:54
From: frase Assigned: srinatar
Status: Closed Package: OpenSSL related
PHP Version: 5.2.11RC1 OS: *

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

Count Diff
6 (11%)
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /root/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /root/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /root/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /root/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
3 (6%)
002+
003+ Warning: stream_socket_client(): SSL: Connection refused in /opt/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+
005+ Warning: stream_socket_client(): Failed to enable crypto in /opt/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
006+
007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /opt/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /opt/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, boolean given in /opt/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
2 (4%)
002+
003+ Warning: stream_socket_client(): SSL: Connection refused in /home/muriloboas/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+
005+ Warning: stream_socket_client(): Failed to enable crypto in /home/muriloboas/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
006+
007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/muriloboas/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/muriloboas/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, boolean given in /home/muriloboas/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
2 (4%)
002+
003+ Warning: stream_socket_client(): SSL: Connection refused in /home/jinger7281/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+
005+ Warning: stream_socket_client(): Failed to enable crypto in /home/jinger7281/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
006+
007+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/jinger7281/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/jinger7281/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, boolean given in /home/jinger7281/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
2 (4%)
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
2 (4%)
002+
003+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /software/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /software/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /software/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /software/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /software/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
1 (2%)
002+ Xdebug requires Zend Engine API version 320151012.
003+ The Zend Engine API version 320160303 which is installed, is newer.
004+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
005+
1 (2%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/xhprof.so' - dlopen(/usr/local/lib/php/extensions/no-debug-zts-20160303/xhprof.so, 9): image not found in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so' - dlopen(/usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so, 9): image not found in Unknown on line 0
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/memcache.so' - dlopen(/usr/local/lib/php/extensions/no-debug-zts-20160303/memcache.so, 9): image not found in Unknown on line 0
005+
006+ Warning: stream_socket_client(): SSL: Broken pipe in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
009+
010+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
011+
012+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
013+
014+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
1 (2%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/memcached.so" in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/apcu.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/apcu.so" in Unknown on line 0
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/redis.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/redis.so" in Unknown on line 0
005+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/imagick.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/imagick.so" in Unknown on line 0
006+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/lzf.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/lzf.so" in Unknown on line 0
007+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/ssh2.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/ssh2.so" in Unknown on line 0
008+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/horde_lz4.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/horde_lz4.so" in Unknown on line 0
009+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/igbinary.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/igbinary.so" in Unknown on line 0
010+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20160303/mongodb.so' - Cannot open "/usr/local/lib/php/extensions/no-debug-zts-20160303/mongodb.so" in Unknown on line 0
011+
012+ Warning: stream_socket_client(): SSL: Broken pipe in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
013+
014+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
015+
016+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
017+
018+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
019+
020+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
021+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
1 (2%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_bz2.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_bz2.dll: 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/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_gd2.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_gd2.dll: 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/lib/php/extensions/no-debug-non-zts-20160303/php_ldap.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_ldap.dll: 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/lib/php/extensions/no-debug-non-zts-20160303/php_mbstring.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_mbstring.dll: 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/lib/php/extensions/no-debug-non-zts-20160303/php_exif.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_exif.dll: 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/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll: cannot open shared object file: No such file or directory in Unknown on line 0
009+
010+ Warning: stream_socket_client(): SSL: Connection refused in /home/files/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
011+
012+ Warning: stream_socket_client(): Failed to enable crypto in /home/files/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
013+
014+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/files/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
015+
016+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/files/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
017+
018+ Warning: fread() expects parameter 1 to be resource, boolean given in /home/files/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
019+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /home/files/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
1 (2%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/phalcon.so' - dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20160303/phalcon.so, 9): image not found in Unknown on line 0
003+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/redis.so' - dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20160303/redis.so, 9): image not found in Unknown on line 0
004+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/ssdb.so' - dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20160303/ssdb.so, 9): image not found in Unknown on line 0
1 (2%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/ffmpeg.so' - dlopen(/usr/local/lib/php/extensions/no-debug-non-zts-20160303/ffmpeg.so, 9): image not found in Unknown on line 0
003+
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
005+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /Users/apple/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
006+
007+ Warning: stream_socket_client(): Failed to enable crypto in /Users/apple/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
008+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /Users/apple/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 12
009+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /Users/apple/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(90) : eval()'d code on line 13
010+
011+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /Users/apple/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 9
012+
013+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /Users/apple/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 13
014+
015+ Warning: fread() expects parameter 1 to be resource, boolean given in /Users/apple/src/php-7.1.4/ext/openssl/tests/ServerClientTestCase.inc(96) : eval()'d code on line 14
1 (2%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/20160303/curl.so' - /usr/lib64/20160303/curl.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/lib64/20160303/fileinfo.so' - /usr/lib64/20160303/fileinfo.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/lib64/20160303/json.so' - /usr/lib64/20160303/json.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/lib64/20160303/phar.so' - /usr/lib64/20160303/phar.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/lib64/20160303/zip.so' - /usr/lib64/20160303/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
1 (2%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/xcache.so' - /usr/lib/php5/xcache.so: undefined symbol: zval_used_for_init in Unknown on line 0
003+ PHP Warning: PHP Startup: memcache: Unable to initialize module
004+ Module compiled with module API=20131226
005+ PHP compiled with module API=20160303
006+ These options need to match
007+ in Unknown on line 0
1 (2%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/home/david/bin/php7.1.4/lib/php/extensions/no-debug-zts-20160303/pthreads.so' - /home/david/bin/php7.1.4/lib/php/extensions/no-debug-zts-20160303/pthreads.so: cannot open shared object file: No such file or directory in Unknown on line 0
1 (2%)
002+ PHP Warning: Module 'openssl' already loaded in Unknown on line 0
1 (2%)
002+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20160303/ioncube_loader_lin_5.6_ts.so: /usr/local/php/lib/php/extensions/no-debug-zts-20160303/ioncube_loader_lin_5.6_ts.so: cannot open shared object file: No such file or directory
003+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20160303/opcache.so: /usr/local/php/lib/php/extensions/no-debug-zts-20160303/opcache.so: cannot open shared object file: No such file or directory
1 (2%)
002+ Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: /usr/local/php/lib/php/extensions/no-debug-non-zts-20160303/opcache.so: cannot open shared object file: No such file or directory
1 (2%)
002+ Failed loading /usr/local/php/ext/opcache.so: /usr/local/php/ext/opcache.so: undefined symbol: zend_opcode_handlers
1 (2%)
002+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so: cannot open shared object file: No such file or directory
1 (2%)
002+ Failed loading /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
003+ PHP Warning: PHP Startup: memcache: Unable to initialize module
004+ Module compiled with module API=20131226
005+ PHP compiled with module API=20160303
006+ These options need to match
007+ in Unknown on line 0
008+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/memcached.so: undefined symbol: zval_used_for_init in Unknown on line 0
009+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/igbinary.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/igbinary.so: undefined symbol: zval_used_for_init in Unknown on line 0