misc fixes / cleanup

This commit is contained in:
ed
2022-12-02 23:42:46 +00:00
parent 4242422898
commit 2fbdc0a85e
7 changed files with 33 additions and 21 deletions

View File

@@ -280,6 +280,9 @@ class HttpSrv(object):
addr = (cip, cport)
except (OSError, socket.error) as ex:
if self.stopping:
break
self.log(self.name, "accept({}): {}".format(fno, ex), c=6)
time.sleep(0.02)
continue