Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] Use workaround for setEncoding bug in node 0.10+ (#527)
The server often crashes with 'TypeError: "list" argument must be an Array of Buffers' errors, which is caused by a bug in new versions of node, where setEncoding call does not work for messages that are already in the queue. This pull request makes sure that concat is never called in the non binary case, even if setEncoding does not work properly.
- Loading branch information