Test: /ext/curl/tests/bug78775.phpt - Version 7.4.0        

Bug #78775 TLS issues from HTTP request affecting other encrypted connections
Submitted: 2019-11-03 20:25:35 Modified: 2019-11-05 11:03:24
From: lcobucci Assigned:
Status: Closed Package: OpenSSL related
PHP Version: 7.2.24 OS: Debian

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

Count Diff
58 (39%)
001+ ** ERROR: process timed out **
001- resource(%d) of type (stream)
002- bool(false)
003- string(8) "HTTP/1.0"
42 (29%)
001+ Warning: fsockopen(): SSL: Connection reset by peer in %s/bug78775.php on line 3
002+
003+ Warning: fsockopen(): Failed to enable crypto in %s/bug78775.php on line 3
004+
005+ Warning: fsockopen(): unable to connect to tls://google.com:443 (Unknown error) in %s/bug78775.php on line 3
006+ bool(false)
007+ bool(false)
008+
009+ Warning: fwrite() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 19
010+
011+ Warning: fread() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 20
001- resource(%d) of type (stream)
003- string(8) "HTTP/1.0"
12 (8%)
001+ Warning: fsockopen(): unable to connect to tls://google.com:443 (Unable to find the socket transport "tls" - did you forget to enable it when you configured PHP?) in %s/bug78775.php on line 3
002+ bool(false)
003+ bool(false)
004+
005+ Warning: fwrite() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 19
006+
007+ Warning: fread() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 20
001- resource(%d) of type (stream)
003- string(8) "HTTP/1.0"
10 (7%)
001+ Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed in %s/bug78775.php on line 3
003+
004+ Warning: fsockopen(): Failed to enable crypto in %s/bug78775.php on line 3
005+
006+ Warning: fsockopen(): unable to connect to tls://google.com:443 (Unknown error) in %s/bug78775.php on line 3
007+ bool(false)
008+ bool(false)
009+
010+ Warning: fwrite() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 19
011+
012+ Warning: fread() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 20
001- resource(%d) of type (stream)
003- string(8) "HTTP/1.0"
8 (5%)
001+ Warning: fsockopen(): unable to connect to tls://google.com:443 (Connection timed out) in %s/bug78775.php on line 3
002+ bool(false)
003+ bool(false)
004+
005+ Warning: fwrite() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 19
006+
007+ Warning: fread() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 20
001- resource(%d) of type (stream)
003- string(8) "HTTP/1.0"
5 (3%)
001+ Warning: fsockopen(): unable to connect to tls://google.com:443 (Connection refused) in %s/bug78775.php on line 3
002+ bool(false)
003+ bool(false)
004+
005+ Warning: fwrite() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 19
006+
007+ Warning: fread() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 20
001- resource(%d) of type (stream)
003- string(8) "HTTP/1.0"
3 (2%)
001+ Warning: fsockopen(): unable to connect to tls://google.com:443 (Network is unreachable) in %s/bug78775.php on line 3
002+ bool(false)
003+ bool(false)
004+
005+ Warning: fwrite() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 19
006+
007+ Warning: fread() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 20
001- resource(%d) of type (stream)
003- string(8) "HTTP/1.0"
2 (1%)
002+
003+ ** ERROR: process timed out **
002- bool(false)
003- string(8) "HTTP/1.0"
2 (1%)
001+ Warning: fsockopen(): Failed to enable crypto in %s/bug78775.php on line 3
002+
003+ Warning: fsockopen(): unable to connect to tls://google.com:443 (Unknown error) in %s/bug78775.php on line 3
004+ bool(false)
005+ bool(false)
006+
007+ Warning: fwrite() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 19
008+
009+ Warning: fread() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 20
001- resource(%d) of type (stream)
003- string(8) "HTTP/1.0"
1 (1%)
002+
003+ Termsig=11
002- bool(false)
003- string(8) "HTTP/1.0"
1 (1%)
001+ Warning: fsockopen(): unable to connect to tls://google.com:443 (Unable to find the socket transport "tls" - did you forget to enable it when you configured PHP?) in %s/bug78775.php on line 3
001- resource(%d) of type (stream)
003+ string(502) "<!DOCTYPE html>
003- string(8) "HTTP/1.0"
004+ <html>
005+ <head>
006+ <meta charset="utf-8">
007+ <meta name="viewport" content="width=device-width, initial-scale=1">
008+ <link rel="shortcut icon" href="/icons/favicon-red.ico"/>
009+ <link rel="apple-touch-icon" href="/icons/icon-red.png"/>
010+ <title>self-signed.badssl.com</title>
011+ <link rel="stylesheet" href="/style.css">
012+ <style>body { background: red; }</style>
013+ </head>
014+ <body>
015+ <div id="content">
016+ <h1 style="font-size: 12vw;">
017+ self-signed.<br>badssl.com
018+ </h1>
019+ </div>
020+
021+ </body>
022+ </html>
023+ "
024+
025+ Warning: fwrite() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 19
026+
027+ Warning: fread() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 20
028+ bool(false)
1 (1%)
001+ Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in %s/bug78775.php on line 3
002+
003+ Warning: fsockopen(): unable to connect to tls://google.com:443 (php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution) in %s/bug78775.php on line 3
004+ bool(false)
005+ bool(false)
006+
007+ Warning: fwrite() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 19
008+
009+ Warning: fread() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 20
001- resource(%d) of type (stream)
003- string(8) "HTTP/1.0"
1 (1%)
001+ Warning: fsockopen(): SSL: Connection reset by peer in %s/bug78775.php on line 3
002+
003+ Warning: fsockopen(): Failed to enable crypto in %s/bug78775.php on line 3
004+
005+ Warning: fsockopen(): unable to connect to tls://google.com:443 (Unknown error) in %s/bug78775.php on line 3
001- resource(%d) of type (stream)
003- string(8) "HTTP/1.0"
007+
008+ ** ERROR: process timed out **
1 (1%)
001+ Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages:
002+ error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in %s/bug78775.php on line 3
003+
004+ Warning: fsockopen(): Failed to enable crypto in %s/bug78775.php on line 3
005+
006+ Warning: fsockopen(): unable to connect to tls://google.com:443 (Unknown error) in %s/bug78775.php on line 3
007+ bool(false)
008+ bool(false)
009+
010+ Warning: fwrite() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 19
011+
012+ Warning: fread() expects parameter 1 to be resource, bool given in %s/bug78775.php on line 20
001- resource(%d) of type (stream)
003- string(8) "HTTP/1.0"