ID: 46748 Updated by: scott...@php.net Reported By: romanf at trash dot net -Status: Assigned +Status: Closed Bug Type: HTTP related Operating System: Linux (OpenSuse 11) PHP Version: 5.2CVS-2008-12-08 Assigned To: scottmac New Comment:
scott-mbp:php5_3 scott$ sapi/cli/php -r "print_r(get_headers('https://fish- serv.dyndns.org/php_test/client_none.php'));print_r(get_headers('https ://fish-serv.dyndns.org/php_test/client_require.php'));" Array ( [0] => HTTP/1.1 200 OK [1] => Date: Mon, 29 Dec 2008 14:56:39 GMT [2] => Server: Apache [3] => X-Powered-By: PHP/5.2.8 [4] => Content-Length: 136 [5] => Connection: close [6] => Content-Type: text/html; charset=ISO-8859-1 ) Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14094410:SSL routines:func(148):reason(1040) error:140940E5:SSL routines:func(148):reason(229) in Command line code on line 1 Warning: get_headers(https://fish- serv.dyndns.org/php_test/client_require.php): failed to open stream: HTTP request failed! in Command line code on line 1 This is definitely fixed. Previous Comments: ------------------------------------------------------------------------ [2008-12-12 07:40:26] romanf at trash dot net What output -do- you get when you run the two tests? -Roman ------------------------------------------------------------------------ [2008-12-12 04:10:47] crrodriguez at opensuse dot org Cannot reproduce in 5_2 nor 5_3. ------------------------------------------------------------------------ [2008-12-08 13:51:50] scott...@php.net I can't reproduce this on any of the branches now, though I only have x86 to test. Jani, any chance of a backtrace on HEAD? ------------------------------------------------------------------------ [2008-12-08 13:28:50] paj...@php.net Scott, please clarify it and add tests :) ------------------------------------------------------------------------ [2008-12-08 13:22:31] j...@php.net HEAD seems to crash when it tries to output the error message. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/46748 -- Edit this bug report at http://bugs.php.net/?id=46748&edit=1