- uvloop version: 0.15.2
- Python version: 3.8.5
- Platform: Ubuntu 20.04 amd64
- Can you reproduce the bug with
PYTHONASYNCIODEBUG in env?: Not tested.
- Does uvloop behave differently from vanilla asyncio? How?: Yes, fails if
interleave and/or happy_eyeballs_delay is set with create_connection.
asyncio loop.create_connection supports the interleave and happy_eyeballs_delay keyword arguments to enable RFC 8305 "Happy Eyeballs" IPv6-to-IPv4 fallback since Python 3.8. The arguments are documented here: https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.create_connection
The corresponding function in uvloop does not accept these arguments. These would be nice to have because I'm working on a server that proxies requests to external third-party servers which occasionally have a broken IPv6 configuration and traditional connect timeout behavior causes quite a bit of delay.
PYTHONASYNCIODEBUGin env?: Not tested.interleaveand/orhappy_eyeballs_delayis set withcreate_connection.asyncio
loop.create_connectionsupports theinterleaveandhappy_eyeballs_delaykeyword arguments to enable RFC 8305 "Happy Eyeballs" IPv6-to-IPv4 fallback since Python 3.8. The arguments are documented here: https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.loop.create_connectionThe corresponding function in uvloop does not accept these arguments. These would be nice to have because I'm working on a server that proxies requests to external third-party servers which occasionally have a broken IPv6 configuration and traditional connect timeout behavior causes quite a bit of delay.