Skip to content

Commit 83367e7

Browse files
committed
Merge pull request #518 from bfirsh/fix-ws-error-handling
Fix websocket error handing
2 parents dcb873a + cb7af4f commit 83367e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/http-proxy/passes/ws-incoming.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ var passes = exports;
128128
if (clb) {
129129
clb(err);
130130
} else {
131-
server.emit('error', err, req, res);
131+
server.emit('error', err, req, socket);
132132
}
133133
}
134134
}

0 commit comments

Comments
 (0)