curl-library
Re: [PATCH] Addition of trailer headers in HTTP requests generated by libcurl
From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Fri, 15 Mar 2013 12:58:43 +0100
Date: Fri, 15 Mar 2013 12:58:43 +0100
"Chrysovaladis Datsios" <cdatsios_at_gmail.com> wrote:
> In the patch:
...
(line 155 in patch):
> + trailer_headers_buf = malloc(headers_buf_size);
> + if(trailer_headers_buf == NULL)
> + return CURLE_BAD_FUNCTION_ARGUMENT;
W/o looking at your code in details, why isn't this returning
'CURLE_OUT_OF_MEMORY'?
--gv
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-15