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

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

Count Diff
19 (37%)
001+ ** ERROR: process timed out ** 001- resource(%d) of type (stream) 002- bool(false) 003- string(8) "HTTP/1.0"
10 (19%)
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"
6 (12%)
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"
4 (8%)
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"
4 (8%)
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"
3 (6%)
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 001- resource(%d) of type (stream) 003- string(8) "HTTP/1.0" 008+ 009+ Termsig=11
1 (2%)
002+ string(502) "<!DOCTYPE html> 003+ <html> 002- bool(false) 003- string(8) "HTTP/1.0" 004+ <head> 005+ <meta charset="utf-8"> 006+ <meta name="viewport" content="width=device-width, initial-scale=1"> 007+ <link rel="shortcut icon" href="/icons/favicon-red.ico"/> 008+ <link rel="apple-touch-icon" href="/icons/icon-red.png"/> 009+ <title>self-signed.badssl.com</title> 010+ <link rel="stylesheet" href="/style.css"> 011+ <style>body { background: red; }</style> 012+ </head> 013+ <body> 014+ <div id="content"> 015+ <h1 style="font-size: 12vw;"> 016+ self-signed.<br>badssl.com 017+ </h1> 018+ </div> 019+ 020+ </body> 021+ </html> 022+ " 023+ string(8) "HTTP/1.1"
1 (2%)
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"
1 (2%)
001+ Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in %s/bug78775.php on line 3 002+ 003+ Warning: fsockopen(): unable to connect to tls://google.com:443 (php_network_getaddresses: getaddrinfo failed: Name or service not known) 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 (2%)
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 001- resource(%d) of type (stream) 003- string(8) "HTTP/1.0" 008+ 009+ Termsig=11
1 (2%)
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 001- resource(%d) of type (stream) 003- string(8) "HTTP/1.0"
1 (2%)
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"