parent
0e5d974900
commit
418fdf8daa
1 changed files with 2 additions and 1 deletions
|
@ -701,7 +701,8 @@ def session(connection, client, ip, isssl=False):
|
||||||
# Unknown command
|
# Unknown command
|
||||||
cmd = text.split(" ")[0]
|
cmd = text.split(" ")[0]
|
||||||
connection.sendall(bytes(f":{server} 421 {pending} {cmd} :Unknown command\r\n","UTF-8"))
|
connection.sendall(bytes(f":{server} 421 {pending} {cmd} :Unknown command\r\n","UTF-8"))
|
||||||
|
except ssl.SSLEOFError:
|
||||||
|
print("EOF occured...")
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
print(traceback.format_exc())
|
print(traceback.format_exc())
|
||||||
cause = "" + str(ex)
|
cause = "" + str(ex)
|
||||||
|
|
Loading…
Add table
Reference in a new issue