Subject: Feature request: extend keep alive to sustain a persistent connection
The goal is ensure the integrity of message delivery and to be able to sustain a 24/7 connection.
Client may disconnect due to network errors, in this case sending and receiving messages will cease to work.
due to that, messages may get lost.
The idea is to extend the keep alive in a way that when the client is disconnected, the keep alive timer will try to establish a connection till it succeeds.
I see two required immediate changes:
1. Being able to distinguish between a network disconnect due to network error and when the user explicitly requests to disconnect.
2. Adding every message to the message queue, and dequeuing a message only on a successful delivery.
Please add your comments / suggestions...
Client may disconnect due to network errors, in this case sending and receiving messages will cease to work.
due to that, messages may get lost.
The idea is to extend the keep alive in a way that when the client is disconnected, the keep alive timer will try to establish a connection till it succeeds.
I see two required immediate changes:
1. Being able to distinguish between a network disconnect due to network error and when the user explicitly requests to disconnect.
2. Adding every message to the message queue, and dequeuing a message only on a successful delivery.
Please add your comments / suggestions...