Skip to content

Commit

Permalink
Explain behaviour of connector_owner (#2534)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfreixes authored and asvetlov committed Nov 19, 2017
1 parent ca8878a commit 785877c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/client_advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,11 @@ To tweak or change *transport* layer of requests you can pass a custom

.. note::

You can not re-use custom *connector*, *session* object takes ownership
of the *connector*.
By default *session* object takes the ownership of the connector, among
other things closing the connections once the *session* is closed. If
you are keen on share the same *connector* through different *session*
instances you must give the *connector_owner* parameter as **False**
for each *session* instance.

.. seealso:: :ref:`aiohttp-client-reference-connectors` section for
more information about different connector types and
Expand Down

0 comments on commit 785877c

Please sign in to comment.