Closed cculianu closed 5 years ago
This happens for about a minute when the server dies unexpectedly and we were in a blocking socket.recv() call.
socket.recv()
I suspect it's a bug in the way Python handles sockets. Testing on mac and this is happening.
I may have to not use blocking socket.recv() and instead use select.select() which hopefully can detect the server going down unexpectedly.
select.select()
This happens for about a minute when the server dies unexpectedly and we were in a blocking
socket.recv()
call.I suspect it's a bug in the way Python handles sockets. Testing on mac and this is happening.
I may have to not use blocking
socket.recv()
and instead useselect.select()
which hopefully can detect the server going down unexpectedly.