ID: 46748
Comment by: crrodriguez at opensuse dot org
Reported By: romanf at trash dot net
Status: Assigned
Bug Type: HTTP related
Operating System: Linux (OpenSuse 11)
PHP Version: 5.2CVS-2008-12-08
Assigned To: scottmac
New Comment:
Cannot reproduce in 5_2 nor 5_3.
Previous Comments:
------------------------------------------------------------------------
[2008-12-08 13:51:50] scottmac@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] pajoye@php.net
Scott, please clarify it and add tests :)
------------------------------------------------------------------------
[2008-12-08 13:22:31] jani@php.net
HEAD seems to crash when it tries to output the error message.
------------------------------------------------------------------------
[2008-12-08 13:21:37] jani@php.net
duh..I had a small copy-paste error. :D Reproduced with HEAD (PHP 6),
PHP_5_2 and PHP_5_3 give this error, no crash:
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
------------------------------------------------------------------------
[2008-12-08 12:55:04] romanf at trash dot net
I have the same bug on two OpenSuse systems.
Both have:
# rpm -q openssl
openssl-0.9.8e-45.5
installed. I used the following config to compile this mornings
snapshot:
./configure --enable-debug --with-mysql
--with-apxs2=/usr/local/apache2/bin/apxs --with-mcrypt --with-imap
--with-imap-ssl --with-gettext --with-zlib --with-openssl
--with-pdo-mysql --enable-mbstring=all --with-gd
Did you try the get_headers() against an HTTPS-Link that -requires- a
Client-Certificate? I can reproduce this on the test-pages given in my
samples *and* in a company-intranet...
Regards
Roman
------------------------------------------------------------------------
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