joyent/node — pull request #4471 by bentaber (2012-12-27 15:03:10+00:00)
Title: net: socket.readyState corrections

socket.readyState, .readable, and .writable behavior changed as
a result of the new streaming interfaces. Updated to be backwards
compatible with current API and adds regression test.

closes #4461