linux 6.1 fixed the 6.0 bugs; remove workarounds

This commit is contained in:
ed
2023-01-16 20:44:57 +00:00
parent 18942ed066
commit 5bb9f56247
2 changed files with 0 additions and 17 deletions

View File

@@ -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