msgpack-node icon indicating copy to clipboard operation
msgpack-node copied to clipboard

msgpack stream write 'drain'?

Open llint opened this issue 7 years ago • 0 comments

In the Stream wrapper of msgpack.js, it seems that the send function doesn't handle the underlying stream's writable.'drain' event, even though in most cases, stream.write would succeed, but for high volume data pumping scenarios, when stream.write returns false, the writable.'drain' event should be used to resume writing

llint avatar Feb 10 '18 19:02 llint