FreeBSD jail raises OSError[errno.EPROTONOSUPPORT] in get_localhost() if IPv6 support is missing
未关闭
compatibility
- 主要语言
- Python
- 星标
- 373
- 派生
- 105
- 平均合并
- 4 分钟
- 30 天内合并 PR
- 2
描述
When updating mailman a few days ago starting it returned an error message, namely "OSError: [Errno 43] Protocol not supported".
This is errno.EPROTONOSUPPORT on FreeBSD in jails without IPv6 support.
There was also a similar issue #244, which was fixed in pull requests #248 and #250 by adding support for errno.EAFNOSUPPORT.
Maybe this could also be added to aiosmtpd/controller.py:43 so that the line reads `NO = {errno.EADDRNOTAVAIL, errno.EAFNOSUPPORT, errno.EPROTONOSUPPORT}`
贡献指南
评估
这个 Issue 还没有评估数据。