Update server.py

This commit is contained in:
Namhyeon Go 2024-02-26 22:13:22 +09:00 committed by GitHub
parent eaca6d94f4
commit 4b43df7cd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -162,6 +162,8 @@ def conn_string(conn, data, addr):
accepted_relay[id] = conn
while conn.fileno() > -1:
time.sleep(1)
del accepted_relay[id]
print ("[*] relay destroyed: %s" % (id))
return
# parse first data (header)