Skip to content
This repository has been archived by the owner on Mar 27, 2018. It is now read-only.

Commit

Permalink
Fixed issue #43
Browse files Browse the repository at this point in the history
  • Loading branch information
miksago committed Dec 2, 2010
1 parent 9ce4698 commit 86337da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ws/connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ function Connection(manager, options, req, socket, upgradeHead) {

socket.on('error', function(e) {
debug(connection.id, 'error', e);
if (e.errno != 32) {
if (e.errno != constants.EPIPE ||
e.errno != connection.ECONNRESET) {
connection.emit('error', e);
}
connection.state(5);
Expand Down

2 comments on commit 86337da

@ThisIsMissEm
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in version 1.4.03, thanks for catching this.

@ThisIsMissEm
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although, next time, probably create an issue, then reference the code lines, that way I have a back log of closed issues.

Please sign in to comment.