Skip to content

Commit

Permalink
Fix #2228: default resolver is threaded one
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Sep 1, 2017
1 parent 1cfc612 commit 925d40a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/client_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -778,12 +778,11 @@ TCPConnector
Custom resolvers allow to resolve hostnames differently than the
way the host is configured.

.. versionadded:: 0.22

.. versionchanged:: 1.0
.. versionchanged:: 1.1

The resolver is ``aiohttp.AsyncResolver`` now if
:term:`aiodns` is installed.
The resolver is ``aiohttp.ThreadedResolver`` by default,
asynchronous version is not pretty robust but might fail in
very rare cases.

:param int family: TCP socket family, both IPv4 and IPv6 by default.
For *IPv4* only use :const:`socket.AF_INET`,
Expand Down

0 comments on commit 925d40a

Please sign in to comment.