BACKPORT: sendfile truncation issue (Was: Files exceeding proto cache size are corrupted)
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4649
Reported by Jonas Wallden email@example.com
Requesting a file whose size is bigger than the protocol cache threshold will not be sent completely. Both Safari and Firefox will stall and later give up with bytes missing at the end of the file (a few hundred missing bytes is the normal case).
The same test works fine in 4.5.