summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2018-05-21 22:09:29 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2018-05-21 22:25:06 -0400
commitb74d8c2d3192381945b5467292c8c3a2366ebeff (patch)
treee5a344479a71596b16eb827cb828374ea36b9e09 /doc
parent905bf4b0d9a6a71710ce130c2454ecad10d975f0 (diff)
downloadpycurl-b74d8c2d3192381945b5467292c8c3a2366ebeff.tar.gz
Keep Curl objects alive when they are being used by CurlMulti objects
Fixes #171
Diffstat (limited to 'doc')
-rw-r--r--doc/docstrings/multi_add_handle.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/docstrings/multi_add_handle.rst b/doc/docstrings/multi_add_handle.rst
index 9de72ce..64ed7c7 100644
--- a/doc/docstrings/multi_add_handle.rst
+++ b/doc/docstrings/multi_add_handle.rst
@@ -3,9 +3,10 @@ add_handle(Curl object) -> None
Corresponds to `curl_multi_add_handle`_ in libcurl. This method adds an
existing and valid Curl object to the CurlMulti object.
-IMPORTANT NOTE: add_handle does not implicitly add a Python reference to the
-Curl object (and thus does not increase the reference count on the Curl
-object).
+*Changed in version 7.43.0.2:* add_handle now ensures that the Curl object
+is not garbage collected while it is being used by a CurlMulti object.
+Previously application had to maintain an outstanding reference to the Curl
+object to keep it from being garbage collected.
.. _curl_multi_add_handle:
https://curl.haxx.se/libcurl/c/curl_multi_add_handle.html