Skip to content

Commit

Permalink
fix(web-sockets): revert handling upgrade event on proxy as it causes…
Browse files Browse the repository at this point in the history
… regression fix #606
  • Loading branch information
shakyShane committed May 5, 2015
1 parent e3b1dfb commit 1c6b1c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/server/proxy-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ module.exports = function createProxyServer (bs, scripts) {

var proxy = utils.getServer(app, bs.options);

proxy.server.on("upgrade", app.handleUpgrade);
/**
* How best to handle websockets going forward?
*/
//proxy.server.on("upgrade", app.handleUpgrade);

return proxy;
};
Expand Down

0 comments on commit 1c6b1c0

Please sign in to comment.