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

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

Count Diff
1 (10%)
004+ [Wed Jul 23 21:30:43 2014] Script: '/home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc'
005+ /home/travis/build/php/php-src/Zend/zend_vm_execute.h(4334) : Freeing 0x7F6756B2A030 (11 bytes), script=/home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc
006+ /home/travis/build/php/php-src/Zend/zend_variables.c(126) : Actual location (location was relayed)
007+ === Total 1 memory leaks detected ===
008+ [Wed Jul 23 21:30:43 2014] Script: %s/bug48182.php'
009+ /home/travis/build/php/php-src/Zend/zend_vm_execute.h(4334) : Freeing 0x7F48C2E14DD8 (11 bytes), %s/bug48182.php
010+ /home/travis/build/php/php-src/Zend/zend_variables.c(126) : Actual location (location was relayed)
011+ === Total 1 memory leaks detected ===
1 (10%)
004+ [Wed Jul 23 19:37:48 2014] Script: '/home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc'
005+ /home/travis/build/php/php-src/Zend/zend_vm_execute.h(4334) : Freeing 0x7F0CC2862030 (11 bytes), script=/home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc
006+ /home/travis/build/php/php-src/Zend/zend_variables.c(126) : Actual location (location was relayed)
007+ === Total 1 memory leaks detected ===
008+ [Wed Jul 23 19:37:48 2014] Script: %s/bug48182.php'
009+ /home/travis/build/php/php-src/Zend/zend_vm_execute.h(4334) : Freeing 0x7FC069074DD8 (11 bytes), %s/bug48182.php
010+ /home/travis/build/php/php-src/Zend/zend_variables.c(126) : Actual location (location was relayed)
011+ === Total 1 memory leaks detected ===
1 (10%)
002+ Xdebug requires Zend Engine API version 220131107.
003+ The Zend Engine API version 220131226 which is installed, is newer.
004+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
005+
006+ Zend OPcache requires Zend Engine API version 220131107.
007+ The Zend Engine API version 220131226 which is installed, is newer.
008+ Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.
009+
1 (10%)
002+ Xdebug requires Zend Engine API version 220100525.
003+ The Zend Engine API version 220131226 which is installed, is newer.
002- Sending bug48182
003- Sending data over to SSL server in async mode with contents like Hello World
004+ Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
005+
006+
007+ Warning: stream_socket_client(): Failed to enable crypto in /Users/ch6/src/php5.6-201406021030/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 9
008+
009+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /Users/ch6/src/php5.6-201406021030/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 9
010+
011+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /Users/ch6/src/php5.6-201406021030/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 13
012+
013+ Warning: fread() expects parameter 1 to be resource, boolean given in /Users/ch6/src/php5.6-201406021030/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14
1 (10%)
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20131226/mongo.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20131226/mongo.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(): Failed to enable crypto in /Users/nate/Desktop/php5.6-201405091830/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 9
005+
006+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /Users/nate/Desktop/php5.6-201405091830/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 9
007+
008+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /Users/nate/Desktop/php5.6-201405091830/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 13
009+
010+ Warning: fread() expects parameter 1 to be resource, boolean given in /Users/nate/Desktop/php5.6-201405091830/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 14
1 (10%)
002+ Failed loading /usr/local/lib/php/extensions/debug-zts-20131226/xdebug.so: /usr/local/lib/php/extensions/debug-zts-20131226/xdebug.so: cannot open shared object file: No such file or directory
1 (10%)
002+
003+ Warning: stream_socket_client(): SSL: Connection refused in /home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(93) : 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/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(93) : 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/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(93) : eval()'d code on line 9
008+
009+ Warning: fwrite() expects parameter 1 to be resource, boolean given in /home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(93) : eval()'d code on line 13
010+
011+ Warning: fread() expects parameter 1 to be resource, boolean given in /home/travis/build/php/php-src/ext/openssl/tests/ServerClientTestCase.inc(93) : eval()'d code on line 14
1 (10%)
002+
003+ Warning: stream_socket_client(): Peer verification is enabled to protect against Man-in-the-Middle (MitM) attacks. To use encrypted streams you *must* specify openssl.cafile and/or openssl.capath in php.ini or pass a stream context defining cafile/capath values in %s/bug48182.php on line 42
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 create an SSL handle in %s/bug48182.php on line 42
006+
007+ Warning: stream_socket_client(): Failed to enable crypto in %s/bug48182.php on line 42
008+
009+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:15414 (Unknown error) in %s/bug48182.php on line 42
010+
011+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in %s/bug48182.php on line 43
012+
013+ Warning: stream_select(): supplied argument is not a valid stream resource in %s/bug48182.php on line 53
014+
015+ Warning: stream_select(): No stream arrays were passed in %s/bug48182.php on line 53
016+ Sending data over to SSL server in async mode with contents like Hello World
017+
018+ Warning: fclose() expects parameter 1 to be resource, boolean given in %s/bug48182.php on line 60
019+
020+ Warning: stream_socket_accept(): Failed to enable crypto in %s/bug48182.php on line 16
021+
022+ Warning: stream_socket_accept(): accept failed: Success in %s/bug48182.php on line 16
1 (10%)
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in %s/bug48182.php on line 42
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:24676 (Unknown error) in %s/bug48182.php on line 42
006+
007+ Warning: stream_set_blocking() expects parameter 1 to be resource, boolean given in %s/bug48182.php on line 43
008+
009+ Warning: stream_select(): supplied argument is not a valid stream resource in %s/bug48182.php on line 53
010+
011+ Warning: stream_select(): No stream arrays were passed in %s/bug48182.php on line 53
002- Sending bug48182
013+
014+ Warning: fclose() expects parameter 1 to be resource, boolean given in %s/bug48182.php on line 60
1 (10%)