ignore dupe-chunk warnings; handshake takes care of it

This commit is contained in:
ed
2021-07-01 20:22:12 +02:00
parent d6b5351207
commit 765294c263
2 changed files with 18 additions and 14 deletions

View File

@@ -141,11 +141,12 @@ class HttpSrv(object):
"shut({}): {}".format(fno, ex),
c="1;30",
)
if ex.errno not in [10038, 10054, 107, 57, 9]:
if ex.errno not in [10038, 10054, 107, 57, 49, 9]:
# 10038 No longer considered a socket
# 10054 Foribly closed by remote
# 107 Transport endpoint not connected
# 57 Socket is not connected
# 49 Can't assign requested address (wifi down)
# 9 Bad file descriptor
raise
finally: