awslabs / aws-c-mqtt

C99 implementation of the MQTT 3.1.1 specification.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Queued publishes are failed with connection shutdown errors when connection keep-alive fails

bretambrose opened this issue · comments

I'm not sure if this is intentional or not, but I find it confusing. Loosely, it looks all the publish tasks are getting run as cancelled when the keep alive failure tears everything down. Is there a better error? Is there a more coherent sensible offline publish strategy that we should pursue?

This was discovered based on aws/aws-iot-device-sdk-python-v2#62