Skip to content

Commit

Permalink
ProxiedSocket should re-emit close event too
Browse files Browse the repository at this point in the history
  • Loading branch information
natevw committed Feb 20, 2015
1 parent f49d968 commit 0674dbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/colony/modules/_net_proxied.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ ProxiedSocket.prototype._setup = function () {
self.emit.apply(self, args);
});
}
['connect', 'secureConnect', 'error', 'timeout'].forEach(reEmit);
['connect', 'secureConnect', 'error', 'timeout', 'close'].forEach(reEmit);
};

ProxiedSocket.prototype._read = function () {
Expand Down

0 comments on commit 0674dbe

Please sign in to comment.