Found a bug which occurres when the connection is broken: the worker waits until the data is sent from the socket. This is my fault. I have no idea how to solve this problem without losing the data that was not sent before closing the socket.
A possible hotfix would be to set a constant timeout to wait for the socket write buffer to clear.
Found a bug which occurres when the connection is broken: the worker waits until the data is sent from the socket. This is my fault. I have no idea how to solve this problem without losing the data that was not sent before closing the socket.
A possible hotfix would be to set a constant timeout to wait for the socket write buffer to clear.