mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(socket) crash on win7
This commit is contained in:
parent
879ce3002f
commit
acfc827555
1 changed files with 12 additions and 2 deletions
|
|
@ -47,8 +47,18 @@
|
|||
lConnNum = 0;
|
||||
|
||||
lListen.set('log level', INFO_LOG_LEVEL);
|
||||
lListen.set('browser client minification', true);
|
||||
lListen.set('browser client gzip', true);
|
||||
|
||||
/*
|
||||
* on Win7 application is crashing,
|
||||
* when options below is used.
|
||||
*
|
||||
* https://github.com/LearnBoost/socket.io/issues/1314
|
||||
*
|
||||
*/
|
||||
if (!Win32) {
|
||||
lListen.set('browser client minification', true);
|
||||
lListen.set('browser client gzip', true);
|
||||
}
|
||||
|
||||
lRet = lListen.sockets.on('connection', function (socket){
|
||||
++lConnNum;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue