By V34 (HunterZ version)
#define CHAR_BUF_SIZE 4095 // surprising how big requests can be with cookies and lengthy yahoo url!
8kB might be me changing it two years ago but I cant' remember one thing about it and that's scary...
I like the current approach of incrementing by 4kB. Majority of requests will be one malloc() of 4kB. realloc() can extend or shrink with old content preserved.