mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-01 19:17:48 +08:00
023b55f2e5
- Move keep alive management up to the Mongoose library - Only outgoing control messgaes should reset keepalive timer - Add unit test https://forum.mongoose-os.com/discussion/1155/mqtt-keep-alive-compliance-issue PUBLISHED_FROM=f86e30744ded53a6f7f96afec066b4ff3b4372c0
280 B
280 B
title | decl_name | symbol_kind | signature |
---|---|---|---|
struct mg_mqtt_proto_data | struct mg_mqtt_proto_data | struct | struct mg_mqtt_proto_data { uint16_t keep_alive; double last_control_time; }; |
mg_mqtt_proto_data should be in header to allow external access to it