We just upgraded to the latest version. And I noticed that if client process is killed, On server side, onClose is not called. Instead after 30 seconds or so (related to default value in setConnectionLostTimeout), onClose is then called.
Because we were using a old version before, we know, in old version, if we kill the client process, server side, onClose is immediately get called.
Now, it does not do that.
I searched your bug report and found that bug #886 also described the similar situation.
Is this intented change? or there is way for server side to immediately know client socket disconnection?
We just upgraded to the latest version. And I noticed that if client process is killed, On server side, onClose is not called. Instead after 30 seconds or so (related to default value in setConnectionLostTimeout), onClose is then called.
Because we were using a old version before, we know, in old version, if we kill the client process, server side, onClose is immediately get called.
Now, it does not do that.
I searched your bug report and found that bug #886 also described the similar situation.
Is this intented change? or there is way for server side to immediately know client socket disconnection?