revert 53d6d08 socket.io also for IE8

This commit is contained in:
Wikinaut 2012-12-02 13:48:01 +01:00
parent e9e4d65ad4
commit e6bec482c9

View file

@ -36,10 +36,13 @@ exports.expressCreateServer = function (hook_name, args, cb) {
});
});
// there shouldn#t be a browser that isn't compatible to all
// transports in this list at once
// e.g. XHR is disabled in IE by default, so in IE it should use jsonp-polling
io.set('transports', ['xhr-polling', 'jsonp-polling', 'htmlfile']);
// the following has been successfully tested with the following browsers
// works also behind reverse proxy
// Firefox 17.0
// IE8 with Native XMLHTTP support
// IE8 without Native XMLHTTP support
// Chrome 21.0.1180.79
io.set('transports', ['jsonp-polling']);
var socketIOLogger = log4js.getLogger("socket.io");
io.set('logger', {