This commit is contained in:
ed
2021-02-14 01:32:16 +01:00
parent c9e4de3346
commit d29f0c066c
4 changed files with 19 additions and 19 deletions

View File

@@ -78,7 +78,7 @@ class HttpSrv(object):
if not MACOS:
self.log(
"%s %s" % addr,
"shut_rdwr err:\n {}\n {}".format(repr(sck), ex),
"\033[1;30mshut({}): {}\033[0m".format(sck.fileno(), ex),
)
if ex.errno not in [10038, 10054, 107, 57, 9]:
# 10038 No longer considered a socket