Update server.py
Some checks are pending
Check syntax / check (push) Waiting to run
Some checks are pending
Check syntax / check (push) Waiting to run
This commit is contained in:
parent
beaf57607e
commit
09c35f9561
1 changed files with 6 additions and 1 deletions
|
@ -619,3 +619,8 @@ def ssl_session(sock2):
|
||||||
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()
|
Loading…
Reference in a new issue