MQTTnet
MQTTnet copied to clipboard
mqttnet's bug on linux Networking via 4G
Describe the bug
Send a QoS 0 message to the server. When the connection with the server is disconnected, the disconnection event cannot be triggered.
By reading the source code, I found that the message sent by qos0 will refresh the keepalive timestamp. I think it is caused by this situation
Which project is your bug related to?
- Client thank you sir.
hello,sir,sometimes,send message with Qos0,if net is err,can't trigger disconnect,becuase send message with qos0 don't wait response form server, so i think ,send message qos0 don't fresh keepalive timestamp.or, if user don't need fresh keepalive timestamp ,can edit config.
Please try the latest version of the library. We fixed a freeze while connecting. If the issue persists please reopen this ticket.