Update server.py
Some checks are pending
Check syntax / check (push) Waiting to run

This commit is contained in:
Nova Cat 2025-01-02 19:52:13 -08:00
parent beaf57607e
commit 09c35f9561

View file

@ -618,4 +618,9 @@ def ssl_session(sock2):
sock.shutdown(1) sock.shutdown(1)
sock.close() sock.close()
print("Something went wrong...") print("Something went wrong...")
print(traceback.format_exc()) print(traceback.format_exc())
for i in sockets:
threading.Thread(target=tcp_session, args=[i]).start()
if ssl_option:
for i in sockets_ssl:
threading.Thread(target=ssl_session, args=[i]).start()