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

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

Count Diff
1 (33%)
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
1 (33%)
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) 001- resource(%d) of type (stream) 003- string(8) "HTTP/1.0" 009+ 010+ Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($handle) must be of type resource, bool given in %s/bug78775.php:19 011+ Stack trace: 012+ #0 %s/bug78775.php(19): fwrite(false, 'GET / HTTP/1.0\n...') 013+ #1 {main} 014+ thrown in %s/bug78775.php on line 19
1 (33%)
001+ ** ERROR: process timed out ** 001- resource(%d) of type (stream) 002- bool(false) 003- string(8) "HTTP/1.0"