You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am using the threading client implementation. The problem I am facing is when I try to close the connection while stuck in the ClientConnection.recv method, the network connection goes down for a while and then gets back online.
Sometimes, I get an exception; other times, it has to wait until the closing time out.
Another issue is while receiving messages with ClientConnection.recv, if the network goes down, it stops receiving messages.
Here is the minimal code:
Steps to reproduce (eventually)
1- Run the code
2- Disable the computer network connection
3- wait for at least 60 seconds
4- stop the program with Ctrl+C (KeyboardInterrupt)
5- Output: Sometimes I get the expected behavior but other I get an exception like this:
Hello, I am using the threading client implementation. The problem I am facing is when I try to close the connection while stuck in the ClientConnection.recv method, the network connection goes down for a while and then gets back online.
Sometimes, I get an exception; other times, it has to wait until the closing time out.
Another issue is while receiving messages with ClientConnection.recv, if the network goes down, it stops receiving messages.
Here is the minimal code:
Steps to reproduce (eventually)
1- Run the code
2- Disable the computer network connection
3- wait for at least 60 seconds
4- stop the program with Ctrl+C (KeyboardInterrupt)
5- Output: Sometimes I get the expected behavior but other I get an exception like this:
Example Code:
The text was updated successfully, but these errors were encountered: