Open RGNagel opened 7 months ago
A quick inspection of the source code shows that the variable client->number_of_keep_alives is never incremented. This PR increments it on __mqtt_send() when a keep alive is sent.
A quick inspection of the source code shows that the variable client->number_of_keep_alives is never incremented. This PR increments it on __mqtt_send() when a keep alive is sent.