Skip to content

Commit

Permalink
be more relaxed on IPv4/IPv6 systems during server listen
Browse files Browse the repository at this point in the history
  • Loading branch information
pbiering committed Mar 13, 2024
1 parent 74be616 commit e4842ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions radicale/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,10 @@ def serve(configuration: config.Configuration,
# macOS: IPv4 address for INET6 address family with
# IPV6_V6ONLY set
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
e.errno == errno.EAFNOSUPPORT or
# Protocol not supported
Expand Down

0 comments on commit e4842ef

Please sign in to comment.