cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_schannel.c and realloc()

From: Marc Hoersken <info_at_marc-hoersken.de>
Date: Wed, 20 Jun 2012 07:51:13 +0200

Hi Daniel,

2012/6/19 Daniel Stenberg <daniel_at_haxx.se>:
> On Tue, 19 Jun 2012, Marc Hoersken wrote:
>
>> that sounds like a good plan. I will create a patch to implement the
>> buffer size ceiling and doubling.
>>
>> What do you think would be a good value for such a ceiling? BUFSIZE * 10?
>> or even 100?
>
>
> Maybe we can start off with * 16 and see if we ever hit that with sensible
> servers.

Attached you will find a patch that implements those changes on top of
the current master 066811592dbcd49bc36294b244ad64ea08b6fa15.

>> Okay, in this case: could you push the patch attached in my previous
>> email, please? This one removes those reallocations.
>
>
> Done!

Thanks!

Best regards,
Marc

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2012-06-20