As already noted by Simone in a previous post, there are cases in which, despite its best efforts, the server is not able to detect instantly a broken connection with a client.
If for your application this is a major issue then we can suggest you, as workaround, to add application heartbeats, from client to server.
So, briefly, you should add, on the client side, the sending (via
sendMessage ) of messages at regular intervals.
In your Metadata Adapter you should add an implementation of
NotifyUserMessage method that receives client messages and checks if from a client it does not receive messages for an interval of time that you feel in your environment sufficient to establish that the connection is broken.
In this case, from your adapter you should force the disconnection of the client. Please refer to
this post.
We are indeed considering adding the heartbeat messages, on the client side, in a future release of Lightstreamer.