cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SSL Problems

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 21 Mar 2002 11:20:16 +0100 (MET)

On Thu, 21 Mar 2002, Paul Harrington wrote:

(reply cc'ed to the curl-and-php list too, for information)

> > > In the mean time I'm going to upgrade curl/libcurl and move to the
> > > new mailing list!
>
> Well upgrading to curl 7.9.5 (i686-pc-linux-gnu) libcurl 7.9.5 (OpenSSL
> 0.9.6c) seems to have fixed it using the command line curl program.
> However I still seem to get te same problem via php (also rebuilt and
> showing the correct versions).

*that* is certainly odd! I can't think of any reason why it should or could
differ between the command line and PHP versions!

> Also should the php functions curl_errorno and curl_error be set even when
> curl works okay? I seem to be getting a return code of -1073756756 and no
> error message on requests that work okay.

This is a PHP-curl binding bug. See the attached patch, it should correct
this problem. At least I think it does. I can't test it. ;-)

(The patch was made against the current CVS version of curl.c in the PHP4
source tree.)

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/

Received on 2002-03-21