diff --git a/server.py b/server.py index e509303..d7e1f0c 100644 --- a/server.py +++ b/server.py @@ -618,4 +618,9 @@ def ssl_session(sock2): sock.shutdown(1) sock.close() print("Something went wrong...") - print(traceback.format_exc()) \ No newline at end of file + 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() \ No newline at end of file