voodootikigod/node-serialport — pull request #84 by JayBeavers (2012-09-04 00:23:25+00:00)
Title: Fix for #82, Out Of Order bug

This is a fix for voodootikigod/node-serialport#82, a bug where back to back writes will cause the node-serialport to deliver data out of order. Fix co-designed with bnoordhuis' help. Includes matched mocha unit test that can be used to reproduce the bug in unpatched code and validate that bug is fixed with patched code. Run 'mocha -t 60000' to stress test the library for 60 seconds.