Message316757
Add a Happy Eyeballs implementation to asyncio, based on work in https://github.com/twisteroidambassador/async_stagger .
Current plans:
- Add 2 keyword arguments to loop.create_connection and asyncio.open_connection.
* delay: Optional[float] = None. None disables happy eyeballs. A number >= 0 means the delay between starting new connections.
* interleave: int = 1. Controls reordering of resolved IP addresses by address family.
- Optionally, expose the happy eyeballs scheduling helper function.
* It's currently called "staggered_race()". Suggestions for a better name welcome.
* Should it belong to base_events.py, some other existing file or a new file? |
|
Date |
User |
Action |
Args |
2018-05-16 02:56:28 | twisteroid ambassador | set | recipients:
+ twisteroid ambassador, asvetlov, Yury.Selivanov, yselivanov |
2018-05-16 02:56:28 | twisteroid ambassador | set | messageid: <1526439388.6.0.682650639539.issue33530@psf.upfronthosting.co.za> |
2018-05-16 02:56:28 | twisteroid ambassador | link | issue33530 messages |
2018-05-16 02:56:27 | twisteroid ambassador | create | |
|