"eventemitter2": "0.4.11",\r
"ipaddr.js": "0.1.1",\r
"socksjs": "0.3.3",\r
- "iconv-lite" : "0.2.10"\r
+ "iconv-lite" : "0.2.10",\r
+ "spdy": "1.9.1"\r
}\r
}\r
dns = require('dns'),
url = require('url'),
_ = require('lodash'),
+ spdy = require('spdy'),
Client = require('./client.js').Client,
HttpHandler = require('./httphandler.js').HttpHandler,
rehash = require('./rehash.js'),
}
}
- hs = https.createServer(opts, handleHttpRequest);
-
+ hs = spdy.createServer(opts, handleHttpRequest);
+
// Start socket.io listening on this weblistener
this.ws = ws.listen(hs, _.extend({ssl: true}, ws_opts));
hs.listen(web_config.port, web_config.address, function () {