Move mg_mqtt_next-* to the example, and some nits

This commit is contained in:
cpq committed 2022-08-26 14:20:54 +01:00
1 parent ffa033cca9
commit c7b9ca68c2
10 files changed
+45 -150

No files matched your search

+1
View File
@@ -272,6 +272,7 @@ void mg_ws_upgrade(struct mg_connection *c, struct mg_http_message *hm,
ws_handshake(c, wskey, wsproto, fmt, &ap);
va_end(ap);
c->is_websocket = 1;
c->is_resp = 0;
mg_call(c, MG_EV_WS_OPEN, hm);
}
}