[WIP] fixes for gas10ka / varioxB
treat proxy for io correctly
This commit is contained in:
@@ -218,6 +218,8 @@ class AsynTcp(AsynConn):
|
||||
except (socket.timeout, TimeoutError):
|
||||
# timeout while waiting
|
||||
return b''
|
||||
except ConnectionResetError:
|
||||
pass # treat the same as gracefully disconnected peer
|
||||
# note that when no data is sent on a connection, an interruption might
|
||||
# not be detected within a reasonable time. sending a heartbeat should
|
||||
# help in this case.
|
||||
|
||||
Reference in New Issue
Block a user