Closed
Description
Long story short
Unable to track dns timing via TraceConfig using client with TcpConnector, since None intead of traces arg passed to direct and proxy connections methods
async def _create_connection(self, req, traces=None):
"""Create connection.
Has same keyword arguments as BaseEventLoop.create_connection.
"""
if req.proxy:
_, proto = await self._create_proxy_connection(
req,
traces=None
)
else:
_, proto = await self._create_direct_connection(
req,
traces=None
)
return proto
Expected behaviour
working DNS tracing with TCP
Actual behaviour
dns events missed
Your environment
aiohttp: 3.0.9
OS X