mirror of
https://github.com/9001/copyparty.git
synced 2026-11-16 17:18:05 +00:00
linux 6.1 fixed the 6.0 bugs; remove workarounds
This commit is contained in:
1 parent
18942ed066
commit
5bb9f56247
2 files changed
-17
No files matched your search
@@ -2,7 +2,6 @@
|
||||
from __future__ import print_function, unicode_literals
|
||||
|
||||
import base64
|
||||
import errno
|
||||
import math
|
||||
import os
|
||||
import socket
|
||||
@@ -287,16 +286,6 @@ class HttpSrv(object):
|
||||
if self.stopping:
|
||||
break
|
||||
|
||||
if (
|
||||
ex.errno == errno.EINVAL
|
||||
and ip == "0.0.0.0"
|
||||
and ("::", port) in self.bound
|
||||
):
|
||||
t = "accept({}): {} -- probably due to dualstack; terminating ({}, {})"
|
||||
self.log(self.name, t.format(fno, ex, ip, port), c=6)
|
||||
srv_sck.close()
|
||||
return
|
||||
|
||||
self.log(self.name, "accept({}): {}".format(fno, ex), c=6)
|
||||
time.sleep(0.02)
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user