linux 6.1 fixed the 6.0 bugs; remove workarounds
This commit is contained in:
@@ -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