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

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

Count Diff
2 (13%)
002+
003+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : 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 /usr/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : 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 /usr/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
2 (13%)
002+
003+ Warning: stream_socket_client(): SSL: Connection refused in /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : 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 /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : 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 /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/src/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (7%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (7%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried: ext/mysqli (ext/mysqli: cannot read file data: Is a directory), ext/mysqli.so (ext/mysqli.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 'pdo_mysql' (tried: ext/pdo_mysql (ext/pdo_mysql: cannot read file data: Is a directory), ext/pdo_mysql.so (ext/pdo_mysql.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (7%)
002+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so (/usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so: undefined symbol: zend_signal_globals_id), /usr/local/php/lib/php/extensions/no-debug-zts-20170718/opcache.so.so (/usr/local/php/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%)
002+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/opcache.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
003+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20170718/xdebug.so: /usr/local/php/lib/php/extensions/no-debug-zts-20170718/xdebug.so: undefined symbol: sapi_globals_id
004+ PHP Warning: PHP Startup: Unable to load dynamic library 'geoip.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/geoip.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 'ds.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/ds.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (7%)
002+ PHP Warning: Failed loading Zend extension 'opcache.so' (tried: /usr/lib64/extensions/no-debug-zts-20170718/opcache.so (/usr/lib64/extensions/no-debug-zts-20170718/opcache.so: cannot open shared object file: No such file or directory), /usr/lib64/extensions/no-debug-zts-20170718/opcache.so.so (/usr/lib64/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%)
002+ Failed loading /usr/local/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: /usr/local/php/lib/php/extensions/no-debug-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
1 (7%)
002+ Failed loading /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/opcache.so: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/opcache.so: cannot open shared object file: No such file or directory
1 (7%)
002+ Failed loading /usr/local/ioncube/ioncube_loader_lin_5.3.so: /usr/local/ioncube/ioncube_loader_lin_5.3.so: undefined symbol: zend_block_interruptions
003+ PHP Warning: PHP Startup: Unable to load dynamic library 'memcache.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.so.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcache.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 'memcached.so' (tried: /usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so (/usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so: cannot open shared object file: No such file or directory), /usr/lib/php/extensions/no-debug-non-zts-20170718/memcached.so.so (/usr/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
005+ PHP Warning: PHP Startup: ChartDirector PHP API: Unable to initialize module
006+ Module compiled with module API=20090626
007+ PHP compiled with module API=20170718
008+ These options need to match
009+ in Unknown on line 0
1 (7%)
002+ Failed loading /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: /usr/lib/php/extensions/no-debug-non-zts-20131226/opcache.so: undefined symbol: zend_opcode_handlers
1 (7%)
002+
003+ Warning: stream_socket_client(): SSL: Connection reset by peer in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : 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 /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : 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 /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
012+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
013+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/php/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 13
1 (7%)
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 /home/captain/packages/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /home/captain/packages/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : 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 /home/captain/packages/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/captain/packages/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /home/captain/packages/php-7.2.24/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14