NancyFx/Nancy — pull request #1006 by EKibort (2013-02-21 10:29:11+00:00)
Title: Increase buffer for send files up to 4Mb

We had a problem with speed of transmitting static files in self hosted app under Windows 2008 R2. We have checked it with several VMs with same result. For Win2012 it worked well. During investigation we found solution - increase buffer in CopyTo.

For example before patching 2MB file transfers 5 min 29 sec , after patching 354 ms.