HiveMQ MQTT Client is an MQTT 5.0 and MQTT 3.1.1 compatible and feature-rich high-performance Java client library with different API flavours and backpressure support
With TCP being a stateful connection, for any PINGREQ sent, we expect a PINGRESP to be returned. This logic breaks when there is a network change between REQ & RESP.
The client should allow some ping responses to be discarded and instead retry the ping again.
🚀 Feature Request
With TCP being a stateful connection, for any PINGREQ sent, we expect a PINGRESP to be returned. This logic breaks when there is a network change between REQ & RESP.
The client should allow some ping responses to be discarded and instead retry the ping again.
This issue was pointed out in #508.
The code in question: MqttPingHandler.java
🔈 Motivation
🛰 Alternatives
📎 Additional context