Test: /ext/openssl/tests/bug48182.phpt - Version 5.6.0RC3        

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

Count Diff
1 (20%)
002+ PHP Warning: PHP Startup: bz2: Unable to initialize module
003+ Module compiled with module API=20121212
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ PHP compiled with module API=20131226
005+ These options need to match
006+ in Unknown on line 0
007+ PHP Warning: PHP Startup: curl: Unable to initialize module
008+ Module compiled with module API=20121212
009+ PHP compiled with module API=20131226
010+ These options need to match
011+ in Unknown on line 0
012+ PHP Warning: PHP Startup: gettext: Unable to initialize module
013+ Module compiled with module API=20121212
014+ PHP compiled with module API=20131226
015+ These options need to match
016+ in Unknown on line 0
017+ PHP Warning: PHP Startup: openssl: Unable to initialize module
018+ Module compiled with module API=20121212
019+ PHP compiled with module API=20131226
020+ These options need to match
021+ in Unknown on line 0
022+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/phar.so' - /usr/lib/php/modules/phar.so: undefined symbol: zend_get_hash_value in Unknown on line 0
023+ PHP Warning: PHP Startup: xsl: Unable to initialize module
024+ Module compiled with module API=20121212
025+ PHP compiled with module API=20131226
026+ These options need to match
027+ in Unknown on line 0
028+ 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/cdiaz/downloads/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 7
029+ PHP Warning: fread() expects parameter 1 to be resource, boolean given in /home/cdiaz/downloads/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 12
030+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/cdiaz/downloads/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 13
031+
032+ Warning: stream_socket_client(): SSL: Connection refused in /home/cdiaz/downloads/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 9
033+
034+ Warning: stream_socket_client(): Failed to enable crypto in /home/cdiaz/downloads/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 9
035+
036+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/cdiaz/downloads/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 9
037+
038+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/cdiaz/downloads/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 13
039+
040+ Warning: fread() expects parameter 1 to be resource, boolean given in /home/cdiaz/downloads/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14
1 (20%)
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: cannot open shared object file: No such file or directory
1 (20%)
002+ Failed loading /usr/lib/php/extensions/debug-non-zts-20121212/xdebug.so: dlopen(/usr/lib/php/extensions/debug-non-zts-20121212/xdebug.so, 9): image not found
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: Broken pipe in /downloads/php/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): Failed to enable crypto in /downloads/php/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : 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 /downloads/php/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 9
009+
010+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /downloads/php/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 13
011+
012+ Warning: fread() expects parameter 1 to be resource, boolean given in /downloads/php/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14
1 (20%)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : 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(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/src/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 9
006+
007+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 13
008+
009+ Warning: fread() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14
1 (20%)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /Users/kylinboy/dev_tools/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : 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(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /Users/kylinboy/dev_tools/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 9
006+
007+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /Users/kylinboy/dev_tools/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 13
008+
009+ Warning: fread() expects parameter 1 to be resource, boolean given in /Users/kylinboy/dev_tools/php-5.6.0RC3/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14