mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-26 12:14:56 +00:00
Refactor - always enable LOG macro. Enhance iolog
This commit is contained in:
1 parent
f6cebf6956
commit
544644e94b
9 files changed
+155
-120
No files matched your search
+1
-1
@@ -1552,7 +1552,7 @@ static void test_check_ip_acl(void) {
|
||||
}
|
||||
|
||||
static void w3(struct mg_connection *c, int ev, void *ev_data, void *fn_data) {
|
||||
LOG(LL_INFO, ("ev %d", ev));
|
||||
// LOG(LL_INFO, ("ev %d", ev));
|
||||
if (ev == MG_EV_WS_OPEN) {
|
||||
mg_ws_send(c, "hi there!", 9, WEBSOCKET_OP_TEXT);
|
||||
} else if (ev == MG_EV_WS_MSG) {
|
||||
|
||||
Reference in new issue
Block a user