Test: /ext/openssl/tests/bug46127.phpt - Version 5.6.6        

Bug #46127 [PATCH] php_openssl_tcp_sockop_accept forgets to set context on accepted stream
Submitted: 2008-09-19 15:50:36 Modified: 2008-11-16 23:23:38
From: mark Assigned: pajoye
Status: Closed Package: OpenSSL related
PHP Version: 5.3CVS-2008-11-11 OS: *

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

Count Diff
2 (14%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/debian/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/debian/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/debian/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/debian/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection timed out) in /home/staging/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/staging/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/web/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/web/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /opt/src/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: fgets() expects parameter 1 to be resource, boolean given in /opt/src/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/src/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
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.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/build/php-5.6.6_SunOS5.10_sparcv9.001/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /usr/local/build/php-5.6.6_SunOS5.10_sparcv9.001/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /usr/local/build/php-5.6.6_SunOS5.10_sparcv9.001/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/build/php-5.6.6_SunOS5.10_sparcv9.001/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
008+ PHP Warning: stream_socket_accept(): Failed to enable crypto in /usr/local/build/php-5.6.6_SunOS5.10_sparcv9.001/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
009+ PHP Warning: stream_socket_accept(): accept failed: Error 0 in /usr/local/build/php-5.6.6_SunOS5.10_sparcv9.001/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
010+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/build/php-5.6.6_SunOS5.10_sparcv9.001/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
1 (7%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /root/sources/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/sources/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/sources/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /root/sources/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /root/installs/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /root/installs/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /root/installs/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /root/installs/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/staging/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): Failed to enable crypto in /home/staging/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Unknown error) in /home/staging/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
006+
007+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/staging/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/curl.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
001- Sending bug 46127
002+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/dom.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/dom.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/local/php/lib/php/extensions/no-debug-non-zts-20131226/fileinfo.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/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/local/php/lib/php/extensions/no-debug-non-zts-20131226/gd.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/gd.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/local/php/lib/php/extensions/no-debug-non-zts-20131226/json.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/json.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/local/php/lib/php/extensions/no-debug-non-zts-20131226/mysql.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/mysql.so: 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/php/lib/php/extensions/no-debug-non-zts-20131226/mysqli.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/mysqli.so: 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/php/lib/php/extensions/no-debug-non-zts-20131226/pdo.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
009+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/pdo_mysql.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
010+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/pdo_sqlite.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
011+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/phar.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
012+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/soap.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/soap.so: cannot open shared object file: No such file or directory in Unknown on line 0
013+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/sqlite3.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/sqlite3.so: cannot open shared object file: No such file or directory in Unknown on line 0
014+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/wddx.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/wddx.so: cannot open shared object file: No such file or directory in Unknown on line 0
015+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/xmlreader.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/xmlreader.so: cannot open shared object file: No such file or directory in Unknown on line 0
016+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/xmlwriter.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/xmlwriter.so: cannot open shared object file: No such file or directory in Unknown on line 0
017+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/xsl.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
018+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/zip.so' - /usr/local/php/lib/php/extensions/no-debug-non-zts-20131226/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
019+ Sending bug 46127
1 (7%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/php_mbstring.so' - /usr/lib/php5/php_mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
001- Sending bug 46127
002+ PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
003+ Module compiled with module API=20090626
004+ PHP compiled with module API=20131226
005+ These options need to match
006+ in Unknown on line 0
007+ PHP Warning: PHP Startup: krb5: Unable to initialize module
008+ Module compiled with module API=20090626
009+ PHP compiled with module API=20131226
010+ These options need to match
011+ in Unknown on line 0
012+ PHP Warning: PHP Startup: apc: Unable to initialize module
013+ Module compiled with module API=20090626
014+ PHP compiled with module API=20131226
015+ These options need to match
016+ in Unknown on line 0
017+ PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0
018+
019+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /home/fcgm/tmp/php/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
020+
021+ Warning: fgets() expects parameter 1 to be resource, boolean given in /home/fcgm/tmp/php/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (7%)
001+ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/debug-zts-20131226/pthreads.so' - /usr/lib/php/extensions/debug-zts-20131226/pthreads.so: cannot open shared object file: No such file or directory in Unknown on line 0
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 10
004+
005+ Warning: fgets() expects parameter 1 to be resource, boolean given in /usr/local/src/php-5.6.6/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
006+
007+ ** ERROR: process timed out **