[WIP] fixes for gas10ka / varioxB

treat proxy for io correctly
This commit is contained in:
l_samenv
2024-06-10 10:11:03 +02:00
parent b1f9c74269
commit 67fa50a9e0
10 changed files with 855 additions and 59 deletions

View File

@@ -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.