Client re-enqueue a packet that causes PAYLOAD_LIMIT_EXCEEDED disconnect event. #535
Labels
bug
This issue is a bug.
p3
This is a minor priority issue
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 2 days.
Describe the bug
Client keeps retrying publish message (re-enqueue) post disconnect, which it's cause is PAYLOAD_LIMIT_EXCEEDED.
which cause infinite connect/disconnect events.
Expected Behavior
Result with a puback that indicates a failure and not re-enqueue the message as it's payload won't shrink.
Current Behavior
No PUBACK response for the publish method.
Reproduction Steps
Just create a client instance that connects post disconnect events, and attempt to publish a message with payload larger than allowed size.
Possible Solution
Not sure if feasible, because if no puback is returned, then maybe it's on the iot-core service side also, but I think the solution should behave with resulting with failure puback or at least not re-enqueue as it will not be resolved by itself.
Additional Information/Context
No response
SDK version used
1.20.0
Environment details (OS name and version, etc.)
ubuntu:22.04
The text was updated successfully, but these errors were encountered: