curl-library
Re: Crash in curl library while processing HTTP HEAD response
Date: Sun, 21 Aug 2016 10:57:11 +0530
On Sat, Aug 20, 2016 at 10:56 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Sat, 20 Aug 2016, Ray Satiro via curl-library wrote:
>
>> I don't know if this was mentioned already but in your case even though
>> you chose CURLOPT_NOBODY [1] the data still goes to the write function
>> (CURLOPT_WRITEFUNCTION [2], CURLOPT_WRITEDATA [3]) since there doesn't
>> appear to be a proper response. I guess an issue is whether or not that's
>> correct for NOBODY but also I guess on your end your write function is
>> probably crashing.
>
>
> Right, this could indeed be a surprising behavior to applications. We should
> probably prevent this from happening.
>
I'll test with curl command as you suggested and be replying by monday.
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-08-21