mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-31 13:00:49 +00:00
Introduce c->is_mqtt5 for keeping mqtt version. Make mqtt over ws work again
This commit is contained in:
1 parent
6c796b8552
commit
e4a5296fbf
5 files changed
+28
-26
No files matched your search
@@ -60,6 +60,7 @@ struct mg_connection {
|
||||
unsigned is_tls_hs : 1; // TLS handshake is in progress
|
||||
unsigned is_udp : 1; // UDP connection
|
||||
unsigned is_websocket : 1; // WebSocket connection
|
||||
unsigned is_mqtt5 : 1; // For MQTT connection, v5 indicator
|
||||
unsigned is_hexdumping : 1; // Hexdump in/out traffic
|
||||
unsigned is_draining : 1; // Send remaining data, then close and free
|
||||
unsigned is_closing : 1; // Close and free the connection immediately
|
||||
|
||||
Reference in new issue
Block a user