cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Curl_ssl_kill_session called with --without-ssl

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 3 Oct 2011 16:12:45 -0700

On Mon, Oct 03, 2011 at 10:37:05PM +0200, Daniel Stenberg wrote:
> But I took a larger scope and removed the sslsession completely from
> the struct when SSL isn't used and while doing that, I did the same
> for the cookies and I added a new return code for the share interface
> when trying to share an item that was disabled in the library...

What's the point of a new error return code? There's nothing the
application can do differently for CURLSHE_NOT_BUILT_IN as compared to
CURLSHE_BAD_OPTION. And depending on the version of libcurl against which
the application is linked, it could get either one of those in the same
case.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-04