Message308850
> It did mean duplicating a handful of lines of code from asyncio to iterate over the getaddrinfo() results (creating one asyncio.Server per sockaddr instead of letting asyncio create a single asyncio.Server with multiple listening sockets) and there are some other minor details like cleaning up if the kernel-selected dynamic port chosen for the first interface is not actually free on all other interfaces, but I'm not actually looking for any changes in how that's working right now.
I think you're doing it the right way. It's a rather niche requirement, so I don't think we should make create_server to somehow support this use case.
asyncssh looks absolutely amazing, btw. |
|
Date |
User |
Action |
Args |
2017-12-21 04:19:02 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, vstinner, asvetlov, Ron Frederick |
2017-12-21 04:19:02 | yselivanov | set | messageid: <1513829942.95.0.213398074469.issue25749@psf.upfronthosting.co.za> |
2017-12-21 04:19:02 | yselivanov | link | issue25749 messages |
2017-12-21 04:19:02 | yselivanov | create | |
|