Feb 10, 2017 05:38 PM|osmiumbin|LINK
Hello Zhi Lv,
Thanks for the reply. For some strange reason i cannot reproduce the issue anymore. What i get now is that while the JS is paused in the browser the connection is not lost so the server OnDisconnected is not called. After resuming the JS, all the requests
that were supposed to go to the server are sent (probably queued?) and if the pause took more than the disconnect timeout, it closes the client connection so any other request cannot go through anymore. On the server, after the disconnect timeout, the OnDisconnected
method is called (stopCalled = false) and the connection is terminated on the server side. No reconnection will happen though. So in this case the total time needed to terminate the connection on the server side is JS pausing time + disconnect timeout (default
I was expecting that the connection to be terminated on the server during the debugging period since the JS execution is paused (therefore unresponsive), but i guess that's not an issue.