nodejitsu/node-http-proxy — Issue #161: Potential issue with websockets and node 0.6.x
Author: wavded
Created: 2011-11-26 20:38:24+00:00
State: open

I have socket.io setup for `slides.wavded.com` but when using the application its just using xhr long-polling, however I swear this was working before I upgraded from node 0.4.12 to node 0.6.3. am I doing this right or should I be using the more verbose websocket proxying or is this a bug? Here is my proxy server code:

```js
var http = require('http'),
httpProxy = require('http-proxy');

httpProxy.createServer({
hostnameOnly: true,
router: {
'dummy.site.com': '127.0.0.1:8001',
'dummy.site2.com': '127.0.0.1:8003',
'slides.wavded.com': '127.0.0.1:8005' // express app with socket.io
}
}).listen(80);
```