mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-05 06:07:35 +03:00
be more relaxed on IPv4/IPv6 systems during server listen
This commit is contained in:
parent
dc21aa1b4f
commit
39c339638d
1 changed files with 4 additions and 0 deletions
|
@ -309,6 +309,10 @@ def serve(configuration: config.Configuration,
|
||||||
# macOS: IPv4 address for INET6 address family with
|
# macOS: IPv4 address for INET6 address family with
|
||||||
# IPV6_V6ONLY set
|
# IPV6_V6ONLY set
|
||||||
e.errno == errno.EADDRNOTAVAIL or
|
e.errno == errno.EADDRNOTAVAIL or
|
||||||
|
# Temporary failure in name resolution
|
||||||
|
# can happen if "hosts" is using eg. "localhost"
|
||||||
|
# and only resolvable to an IPv4 address
|
||||||
|
e.errno == -3 or
|
||||||
# Address family not supported
|
# Address family not supported
|
||||||
e.errno == errno.EAFNOSUPPORT or
|
e.errno == errno.EAFNOSUPPORT or
|
||||||
# Protocol not supported
|
# Protocol not supported
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue