creationix/luvit — Issue #21: reliable write()
Author: dvv
Created: 2011-10-24 20:43:32+00:00
State: open

Hi!

Please, consider using something like https://github.com/dvv/sockjs-luvit/blob/master/response.lua#L219-270 to make write() reliable. May be even borrow drafts of queue impl from node.

W/o reliable write(), sending lenghty (>TCP_SND_BUFFER) messages will always be subject to subtle failures.

TIA,
--Vladimir