mirror of
https://github.com/9001/copyparty.git
synced 2026-10-06 09:24:35 +01:00
add brotli + improve 404 handling
This commit is contained in:
@@ -75,7 +75,7 @@ class HttpSrv(object):
|
||||
sck.shutdown(socket.SHUT_RDWR)
|
||||
sck.close()
|
||||
except (OSError, socket.error) as ex:
|
||||
# self.log(str(addr), "shut_rdwr err: " + repr(sck))
|
||||
self.log(str(addr), "shut_rdwr err:\n {}\n {}".format(repr(sck), ex))
|
||||
if ex.errno not in [10038, 107, 57, 9]:
|
||||
# 10038 No longer considered a socket
|
||||
# 107 Transport endpoint not connected
|
||||
|
||||
Reference in New Issue
Block a user