cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Error code for HTTPS without CURL_GLOBAL_SSL init

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 21 Mar 2005 13:01:57 +0100 (CET)

On Mon, 21 Mar 2005, Antoine Calando wrote:

> When I inititialize the library without the CURL_GLOBAL_SSL option and I try
> to access to an url with the HTTPS protocol, I get the error code 27 ("Out
> of memory").
>
> I know that is my fault, but may be an other error code would be more
> meaningful? For instance: 1 - "Unsupported protocol" or 35 - "SSL connect
> error".

I agree that the error code you got seems inappropriate.

Can you figure out what code in libcurl that made it return this?

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-03-21