This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jaraco
Recipients Shane Smith, jaraco, xtreak
Date 2020-01-05.19:36:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1578252972.4.0.407272226708.issue39211@roundup.psfhosted.org>
In-reply-to
Content
> It's the addition of flags=socket.AI_PASSIVE on Lib/http/server.py:1233 that's causing this.

Can you elaborate? What is it causing?

I can see that flag was added in https://github.com/python/cpython/pull/11767/commits/62dbe55c9d88c75868399de9d86bcd947e23951c for the purpose of:

> indicate to get the wildcard address (all interfaces).

I don't recall beyond that why I went that route.

I can see in https://github.com/cherrypy/cherrypy/issues/871, CherryPy had to add [this code](https://github.com/cherrypy/cheroot/blob/420d50c4167be89ee4f5841a493fbd2bb929982e/cheroot/server.py#L1946-L1962) to support dual-stack operation. I suspect that's also what Python needs here (in addition to a test that binding on :: responds on 127.0.0.1).
History
Date User Action Args
2020-01-05 19:36:12jaracosetrecipients: + jaraco, Shane Smith, xtreak
2020-01-05 19:36:12jaracosetmessageid: <1578252972.4.0.407272226708.issue39211@roundup.psfhosted.org>
2020-01-05 19:36:12jaracolinkissue39211 messages
2020-01-05 19:36:11jaracocreate