net: reset `endEmitted` on reconnect
authorFedor Indutny <fedor.indutny@gmail.com>
Wed, 22 Jan 2014 21:15:04 +0000 (01:15 +0400)
committerTimothy J Fontaine <tjfontaine@gmail.com>
Sat, 25 Jan 2014 20:20:45 +0000 (12:20 -0800)
commit00efcb4cd7609dcefad8acba915d850480436457
tree8eb4bc6bacceea00c27fbeecb9afe6ddd3b2088e
parent896e19330ad06ace8973c5d7b75d2de538228062
net: reset `endEmitted` on reconnect

fix #6908
lib/net.js
test/simple/test-net-reconnect.js