Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[breaking] Ensure that `webSocketProxyError` also receives the error …

…to be consistent with `proxyError` events.
  • Loading branch information...
commit c78356e9cf27a21c57e4c98ef7dd3c22abe864c2 1 parent c68e038
@indexzero indexzero authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/node-http-proxy/http-proxy.js
View
2  lib/node-http-proxy/http-proxy.js
@@ -680,7 +680,7 @@ HttpProxy.prototype.proxyWebSocketRequest = function (req, socket, head, buffer)
socket.destroy();
});
- self.emit('webSocketProxyError', req, socket, head);
+ self.emit('webSocketProxyError', err, req, socket, head);
}
//
Please sign in to comment.
Something went wrong with that request. Please try again.