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

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

Count Diff
3 (19%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/php-5.6.7/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.7/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.7/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.7/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (6%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /usr/local/src/php-5.6.7/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.7/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (6%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /bdh/src/php-5.6.7/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 /bdh/src/php-5.6.7/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (6%)
001+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /Users/orvice/Downloads/tmp/php-5.6.7/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 /Users/orvice/Downloads/tmp/php-5.6.7/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (6%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/php-5.6.7/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.7/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.7/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.7/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
008+ /usr/local/src/php-5.6.7/main/streams/streams.c(530) : Stream of type 'tcp_socket/ssl' 0x7f1c9cb79338 (path:(null)) was not closed
1 (6%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/src/lnmp_source/php-5.6.7/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/lnmp_source/php-5.6.7/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/lnmp_source/php-5.6.7/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/lnmp_source/php-5.6.7/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (6%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /usr/local/build/php-5.6.7_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.7_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.7_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.7_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.7_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.7_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.7_SunOS5.10_sparcv9.001/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
1 (6%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /root/php-5.6.7/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/php-5.6.7/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/php-5.6.7/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/php-5.6.7/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (6%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /opt/sources/php-5.6.7/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 /opt/sources/php-5.6.7/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 /opt/sources/php-5.6.7/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 /opt/sources/php-5.6.7/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (6%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/staging/php-5.6.7/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.7/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.7/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.7/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (6%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/root/php-5.6.7/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/root/php-5.6.7/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/root/php-5.6.7/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/root/php-5.6.7/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (6%)
001+ Warning: stream_socket_client(): SSL: Handshake timed out in /home/pi/php-5.6.7/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/pi/php-5.6.7/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/pi/php-5.6.7/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/pi/php-5.6.7/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
1 (6%)
001+ 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 /root/php-5.6.7/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 7
001- Sending bug 46127
002+
003+ Warning: stream_socket_client(): unable to connect to ssl://127.0.0.1:64321 (Connection refused) in /root/php-5.6.7/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 /root/php-5.6.7/ext/openssl/tests/ServerClientTestCase.inc(92) : eval()'d code on line 12
006+ PHP Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in /root/php-5.6.7/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 10
007+ PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /root/php-5.6.7/ext/openssl/tests/ServerClientTestCase.inc(86) : eval()'d code on line 11
1 (6%)
001+
001- Sending bug 46127