From 418fdf8daabf5ad9ec605ba3bf40b9f684c699f8 Mon Sep 17 00:00:00 2001 From: swee Date: Sun, 26 Jan 2025 13:39:12 -0800 Subject: [PATCH] Update server.py --- server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.py b/server.py index 9c53c26..64187aa 100644 --- a/server.py +++ b/server.py @@ -701,7 +701,8 @@ def session(connection, client, ip, isssl=False): # Unknown command cmd = text.split(" ")[0] connection.sendall(bytes(f":{server} 421 {pending} {cmd} :Unknown command\r\n","UTF-8")) - + except ssl.SSLEOFError: + print("EOF occured...") except Exception as ex: print(traceback.format_exc()) cause = "" + str(ex)