Update server.py

This commit is contained in:
Nova Cat 2025-02-05 20:01:13 -08:00
parent 324970c129
commit c01c4208c9

View file

@ -304,7 +304,7 @@ def session(connection, client, ip, isssl=False):
if not data:
cause = "Remote host closed the connection"
break
except (SSL.WantReadError, SSL.WantWriteError, SSL.WantX509LookupError):
except (SSL.WantReadError, SSL.WantWriteError, SSL.WantX509LookupError, SSL.SysCallError):
print("Skipable error occurred.")
except socket.timeout:
print("Socket timed out, ticking...")