clean shutdown

This commit is contained in:
ed
2019-05-28 19:36:42 +00:00
parent cbbb809c98
commit 78c99e524b
4 changed files with 70 additions and 41 deletions

View File

@@ -34,6 +34,9 @@ class HttpSrv(object):
with self.mutex:
return len(self.clients)
def shutdown(self):
print("ok bye")
def thr_client(self, sck, addr, log):
"""thread managing one tcp client"""
try: