Message319311
When calling asyncio.Server.close, the method calls asyncio.AbstractEventLoop._stop_serving for each of its sockets in turn.
The implementation of this method in asyncio.ProactorEventLoop calls the _stop_accept_futures method which seems to cancel "accept" futures of all sockets running on the loop, not just the one that was supposed to be stopped. This means that closing one server closes sockets of all existing servers.
With asyncio.SelectorEventLoop there is no such issue. |
|
Date |
User |
Action |
Args |
2018-06-11 15:59:40 | mliska | set | recipients:
+ mliska, asvetlov, yselivanov |
2018-06-11 15:59:40 | mliska | set | messageid: <1528732780.1.0.592728768989.issue33837@psf.upfronthosting.co.za> |
2018-06-11 15:59:40 | mliska | link | issue33837 messages |
2018-06-11 15:59:40 | mliska | create | |
|