cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_schannel.c and realloc()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 20 Jun 2012 22:44:55 +0200 (CEST)

On Wed, 20 Jun 2012, Marc Hoersken wrote:

>> 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.

I don't understand. The doubling and >= *16 check is already in git, isn't it?

This patch seems to change when the reallocation is made, but the commit
message doesn't explain that nor the reasoning behind it.

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