MQTTnet icon indicating copy to clipboard operation
MQTTnet copied to clipboard

mqttnet's bug on linux Networking via 4G

Open cuican6 opened this issue 3 years ago • 1 comments

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.

cuican6 avatar Dec 11 '21 08:12 cuican6

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.

cuican6 avatar Mar 02 '22 04:03 cuican6

Please try the latest version of the library. We fixed a freeze while connecting. If the issue persists please reopen this ticket.

chkr1011 avatar Nov 09 '22 19:11 chkr1011