This commit is contained in:
Wikinaut 2012-12-03 02:53:52 -08:00
commit 5b82b6b6d9

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 // the following has been successfully tested with the following browsers
// transports in this list at once // works also behind reverse proxy
// e.g. XHR is disabled in IE by default, so in IE it should use jsonp-polling // Firefox 17.0
io.set('transports', ['xhr-polling', 'jsonp-polling', 'htmlfile']); // 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"); var socketIOLogger = log4js.getLogger("socket.io");
io.set('logger', { io.set('logger', {