-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -436,25 +436,25 @@ async.waterfall([ | |
|
||
//this is only a workaround to ensure it works with all browers behind a proxy | ||
//we should remove this when the new socket.io version is more stable | ||
io.set('transports', ['xhr-polling']); | ||
//io.set('transports', ['xhr-polling']); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Pita
Author
Contributor
|
||
|
||
var socketIOLogger = log4js.getLogger("socket.io"); | ||
io.set('logger', { | ||
debug: function (str) | ||
{ | ||
socketIOLogger.debug(str); | ||
socketIOLogger.debug.apply(socketIOLogger, arguments); | ||
}, | ||
info: function (str) | ||
{ | ||
socketIOLogger.info(str); | ||
socketIOLogger.info.apply(socketIOLogger, arguments); | ||
}, | ||
warn: function (str) | ||
{ | ||
socketIOLogger.warn(str); | ||
socketIOLogger.warn.apply(socketIOLogger, arguments); | ||
}, | ||
error: function (str) | ||
{ | ||
socketIOLogger.error(str); | ||
socketIOLogger.error.apply(socketIOLogger, arguments); | ||
}, | ||
}); | ||
|
||
|
I believe that this change is what is causing #224. If I uncomment this line, the problem goes away.