LearnBoost/distribute — Issue #2: Socket.io issue?
Author: sjonnet19
Created: 2012-01-30 19:23:41+00:00
State: open

Any apps that utilize socket.io currently take down my distribute solution.

Users/shawn/Projects/cheetah/node_modules/distribute/distribute.js:170
self.proxy.proxyWebSocketRequest(req, res, req.head, proxy);
^
ReferenceError: res is not defined
at UpServer. (/Users/shawn/Projects/cheetah/node_modules/distribute/distribute.js:170:45)
at next (/Users/shawn/Projects/cheetah/node_modules/distribute/distribute.js:190:43)
at UpServer. (/Users/shawn/Projects/cheetah/node_modules/up/lib/up.js:204:5)
at step (/Users/shawn/Projects/cheetah/node_modules/distribute/distribute.js:193:14)
at UpServer.run (/Users/shawn/Projects/cheetah/node_modules/distribute/distribute.js:196:3)
at UpServer.onUpgrade (/Users/shawn/Projects/cheetah/node_modules/distribute/distribute.js:162:8)
at Server. (/Users/shawn/Projects/cheetah/node_modules/distribute/distribute.js:47:10)
at Server.emit (events.js:88:20)
at Socket. (http.js:1418:14)
at TCP.onread (net.js:354:27)