Explorar o código

Rewrite Lua Websockets (Step 2 of ?)

bel %!s(int64=11) %!d(string=hai) anos
pai
achega
429e051af8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/mod_lua.inl

+ 1 - 1
src/mod_lua.inl

@@ -975,7 +975,7 @@ static void * lua_websocket_new(const char * script, struct mg_connection *conn)
     while (*shared_websock_list) {
         /* check if ws already in list */
         if (0==strcmp(script,(*shared_websock_list)->ws.script)) {
-            break;
+            /* break; -- TODO: shared websocket does not work yet, disable it by removing this "break" statement */
         }
         shared_websock_list = &((*shared_websock_list)->next);
     }