Update server.py
Some checks failed
/ check (push) Failing after 9s

This commit is contained in:
Nova Cat 2025-01-28 18:09:15 -08:00
parent 2f33a0199c
commit 9ff0311948

View file

@ -258,6 +258,11 @@ def session(connection, client, ip, isssl=False):
if not data:
cause = "Remote host closed the connection"
break
except ssl.SSLEOFError::
pass
except ssl.SSLZeroReturnError:
cause = "Remote host closed the connection"
break
except Exception as ex:
cause = "Read error: " + str(ex)
break