-
Notifications
You must be signed in to change notification settings - Fork 268
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connect with session_expiry_interval for MQTT v5 #853
Comments
I created a PR to fix the issue, please check #854 Now broker resending the publishes:
|
you can use let mut properties = ConnectProperties::new();
properties.session_expiry_interval = Some(u32::MAX);
mqttoptions.set_connect_properties(properties); |
Ah currently |
PR merged. |
Expected Behavior
When connecting to broker,
session_expiry_interval
should be supported.Current Behavior
There is no API to set
session_expiry_interval
for CONNECT request.Failure Information (for bugs)
Context
Failure Logs
Please include any relevant log snippets or files here.
While running example
async_manual_acks_v5
, the broker does not restore the session and re-send publishes becausesession_expiry_interval
value0xFFFFFFFF
is not offered on connection:The text was updated successfully, but these errors were encountered: