Test: /ext/curl/tests/bug78775.phpt - Version 8.0.0alpha3        

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

Count Diff
1 (50%)
001+ Warning: fsockopen(): Unable to connect to tls://google.com:443 (Connection timed out) in %s/bug78775.php on line 3 002+ bool(false) 001- resource(%d) of type (stream) 003- string(8) "HTTP/1.0" 004+ 005+ Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($handle) must be of type resource, bool given in %s/bug78775.php:19 006+ Stack trace: 007+ #0 %s/bug78775.php(19): fwrite(false, 'GET / HTTP/1.0\n...') 008+ #1 {main} 009+ thrown in %s/bug78775.php on line 19
1 (50%)
001+ Warning: fsockopen(): SSL operation failed with code 5. OpenSSL Error messages: 002+ error:02000002:system library::No such file or directory 003+ error:02000002:system library::No such file or directory 004+ error:02000002:system library::No such file or directory 005+ error:14000086:SSL routines::certificate verify failed in %s/bug78775.php on line 3 006+ 007+ Warning: fsockopen(): Failed to enable crypto in %s/bug78775.php on line 3 008+ 009+ 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" 011+ bool(false) 012+ 013+ Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($handle) must be of type resource, bool given in %s/bug78775.php:19 014+ Stack trace: 015+ #0 %s/bug78775.php(19): fwrite(false, 'GET / HTTP/1.0\n...') 016+ #1 {main} 017+ thrown in %s/bug78775.php on line 19