net: socket.readyState corrections
authorbentaber <ben.taber@gmail.com>
Thu, 27 Dec 2012 14:57:19 +0000 (07:57 -0700)
committerisaacs <i@izs.me>
Fri, 28 Dec 2012 01:53:28 +0000 (17:53 -0800)
commite576208eba9c0b343b9c1510be0839282fa1aff5
tree6b34ba9f6a715dcd3acaab9b67cefaa4ed3255a5
parentfde338bf83bdc7c0524734bb03f374e90dcd1cf1
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
lib/net.js
test/simple/net-socket-readystate.js [new file with mode: 0644]