gabipetrovay/node-orientdb — pull request #71 by Cactusbone (2012-10-10 12:41:18+00:00)
Title: handling weird stuff sent by the server along with errors

orientdb server sent me a bunch of 255 values before the 0 indicating
end of error, so i added a continuous readByte while waiting for 0
or 1 in the error handling

i got the error using orientdb-1.2.0-20120930.180521-49-distribution

looks like it's still there using the latest snapshot too, i'm still trying to locate the bug in the db, but the 255 sent by the db were breaking the driver hence this fix :)