luvit/luvit — Issue #84: examples/static-file-server.lua fails to send large files > 2~4MB
Author: kengonakajima
Created: 2012-01-16 05:53:39+00:00
State: open

It just cannot send about 2MB or larger file.
It fails even if use res:finish(data).

Now luvit is ignoring return value of write() system call and it causes this problem.

I think this is a bug, but otherwise, how to handle large data safely?