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

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

Count Diff
5 (29%)
002+
003+ Warning: stream_socket_client(): SSL: Success in /usr/local/src/php7source/php-7.3.23/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/php7source/php-7.3.23/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/php7source/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, bool given in /usr/local/src/php7source/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, bool given in /usr/local/src/php7source/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
2 (12%)
004+ Segmentation fault
1 (6%)
002+
003+ Warning: stream_socket_client(): SSL: Connection reset by peer in /home/kali/Documents/php-7.3.23/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 /home/kali/Documents/php-7.3.23/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 /home/kali/Documents/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, bool given in /home/kali/Documents/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, bool given in /home/kali/Documents/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (6%)
002+
003+ Warning: stream_socket_client(): SSL: Connection reset by peer in /tmp/php-7.3.23/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 /tmp/php-7.3.23/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 /tmp/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, bool given in /tmp/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, bool given in /tmp/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (6%)
002+
003+ Warning: stream_socket_client(): SSL: Success in /home/lucky/Downloads/php-src/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 /home/lucky/Downloads/php-src/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 /home/lucky/Downloads/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, bool given in /home/lucky/Downloads/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, bool given in /home/lucky/Downloads/php-src/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (6%)
002+
003+ Warning: stream_socket_client(): SSL: Success in /usr/src/php-7.3.23/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.3.23/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.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, bool given in /usr/src/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, bool given in /usr/src/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (6%)
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: undefined symbol: _zval_ptr_dtor
1 (6%)
002+ PHP Deprecated: Directive 'track_errors' is deprecated 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(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/paolini/pkg/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
005+
006+ Warning: fwrite() expects parameter 1 to be resource, bool given in /home/paolini/pkg/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
007+
008+ Warning: fread() expects parameter 1 to be resource, bool given in /home/paolini/pkg/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
009+ PHP Warning: fread() expects parameter 1 to be resource, bool given in /home/paolini/pkg/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
1 (6%)
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: undefined symbol: php_pcre_free), /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+ PHP Warning: PHP Startup: bcmath: Unable to initialize module
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ Module compiled with module API=20170718
005+ PHP compiled with module API=20180731
006+ These options need to match
007+ in Unknown on line 0
008+ PHP Warning: PHP Startup: ftp: Unable to initialize module
009+ Module compiled with module API=20170718
010+ PHP compiled with module API=20180731
011+ These options need to match
012+ in Unknown on line 0
013+ PHP Warning: PHP Startup: gd: Unable to initialize module
014+ Module compiled with module API=20170718
015+ PHP compiled with module API=20180731
016+ These options need to match
017+ in Unknown on line 0
018+ PHP Warning: PHP Startup: gmp: Unable to initialize module
019+ Module compiled with module API=20170718
020+ PHP compiled with module API=20180731
021+ These options need to match
022+ in Unknown on line 0
023+ PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/imagick.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/imagick.so: undefined symbol: _zval_ptr_dtor), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/imagick.so.so (/usr/local/php/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
024+ PHP Warning: PHP Startup: Unable to load dynamic library 'intl.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/intl.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/intl.so: undefined symbol: _zval_ptr_dtor), /usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/intl.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20170718/intl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
025+ PHP Warning: PHP Startup: redis: Unable to initialize module
026+ Module compiled with module API=20170718
027+ PHP compiled with module API=20180731
028+ These options need to match
029+ in Unknown on line 0
030+ Sending bug48182
031+ Sending data over to SSL server in async mode with contents like Hello World
1 (6%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library 'zip.so' (tried: /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/zip.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/zip.so: cannot open shared object file: No such file or directory), /usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/zip.so.so (/usr/local/php7/lib/php/extensions/no-debug-non-zts-20180731/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
1 (6%)
002+ PHP Warning: fread() expects parameter 1 to be resource, bool given in /usr/local/src/php7source/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
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: Success in /usr/local/src/php7source/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php7source/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
007+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /usr/local/src/php7source/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 13
008+
009+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php7source/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
010+
011+ Warning: fwrite() expects parameter 1 to be resource, bool given in /usr/local/src/php7source/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
012+
013+ Warning: fread() expects parameter 1 to be resource, bool given in /usr/local/src/php7source/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14
1 (6%)
002+ PHP Warning: stream_socket_server(): unable to connect to ssl://127.0.0.1:64321 (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) in /home/try/src/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 7
003+ PHP Warning: fread() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 12
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(119) : eval()'d code on line 13
005+
006+ Warning: stream_socket_client(): SSL: Connection refused in /home/try/src/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
007+
008+ Warning: stream_socket_client(): Failed to enable crypto in /home/try/src/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : 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 /home/try/src/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 9
011+
012+ Warning: fwrite() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 13
013+
014+ Warning: fread() expects parameter 1 to be resource, bool given in /home/try/src/php-7.3.23/ext/openssl/tests/ServerClientTestCase.inc(130) : eval()'d code on line 14