curl-library
Re: Crash in curl library while processing HTTP HEAD response
Date: Sun, 21 Aug 2016 19:53:26 -0400
On 8/20/2016 1:26 PM, Daniel Stenberg 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 opened https://github.com/curl/curl/issues/973 for this
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-08-22