Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PINGREQ <--> PINGRESP reliability during network change #623

Open
pglombardo opened this issue Mar 5, 2024 · 0 comments
Open

Improve PINGREQ <--> PINGRESP reliability during network change #623

pglombardo opened this issue Mar 5, 2024 · 0 comments

Comments

@pglombardo
Copy link
Contributor

馃殌 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant