joyent/node — pull request #7889 by edumansky (2014-07-03 01:17:19+00:00)
Title: net: reset `errorEmitted` on reconnect

Fix for `error` events emitting only once when reconnecting
a single instance of net.Socket.

Fixes joyent/node#7888