cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: no output wanted (resend)

From: Joe Mason <jmason_at_rim.com>
Date: Sun, 8 Jul 2012 18:29:31 +0000

> From: curl-library-bounces_at_cool.haxx.se [curl-library-bounces_at_cool.haxx.se] on
> behalf of Daniel Stenberg [daniel_at_haxx.se]
> Sent: Sunday, July 08, 2012 8:29 AM
> To: libcurl development
> Subject: Re: no output wanted (resend)
>
> Well, I don't think your idea here is bad but I'm bit reluctant to change
> details in this area as I am convinced there are existing applications in the
> wild that set things to NULL in various combinations already to get the
> functionality of existing libcurl. So keeping the existing ABI is more
> important than introducing a very small short-cut to future applications I
> think...

If I'm reading this right, currently if you set CURLOPT_WRITEDATA to NULL without setting CURLOPT_WRITEFUNCTION, curl crashes. How can an existing app be depending on that?

Joe
---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-07-08