This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
How much buffer size should i set? i have various file(images,zip,excel,txt etc) 25kb to 25Mb to download.
I've set the buffer to 8192 (8k), it seems to work fine although I don't really know if there's an advantage or disadvantage to changing this value. 8k just seemed like a reasonable size. Any suggestions?