Skip to content
Snippets Groups Projects
Commit e886f05c authored by Sergey Linev's avatar Sergey Linev Committed by Olivier Couet
Browse files

http: clanf-format for broken websocket workaround

parent 6ed2cfba
Branches
Tags
No related merge requests found
...@@ -119,7 +119,8 @@ int websocket_data_handler(struct mg_connection *conn, int, char *data, size_t l ...@@ -119,7 +119,8 @@ int websocket_data_handler(struct mg_connection *conn, int, char *data, size_t l
return 1; return 1;
// seems to be, appears when connection is broken // seems to be, appears when connection is broken
if ((len==2) && ((int)data[0] == 3) && ((int)data[1] == -23)) return 0; if ((len == 2) && ((int)data[0] == 3) && ((int)data[1] == -23))
return 0;
THttpCallArg arg; THttpCallArg arg;
arg.SetPathAndFileName(request_info->uri); // path and file name arg.SetPathAndFileName(request_info->uri); // path and file name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment