summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Klauer <Alexander.Klauer@itwm.fraunhofer.de>2013-04-08 11:48:45 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-04-08 22:16:48 +0200
commit1317a1c94b567ac8214efc3cc4d89e561c9ae938 (patch)
treeb9e54036883d0396c37e780efaf76920e9c6a29d
parentfa19279bba7aa9c0b452ff41ee252be2adffdee8 (diff)
downloadc-ares-1317a1c94b567ac8214efc3cc4d89e561c9ae938.tar.gz
c-ares-1317a1c94b567ac8214efc3cc4d89e561c9ae938.tar.bz2
c-ares-1317a1c94b567ac8214efc3cc4d89e561c9ae938.zip
ares_destroy() documentation: no new requests
Clarify that no new requests may be added to a resolver channel that is currently being destroyed.
-rw-r--r--ares_destroy.33
1 files changed, 2 insertions, 1 deletions
diff --git a/ares_destroy.3 b/ares_destroy.3
index 79171ec..3724df1 100644
--- a/ares_destroy.3
+++ b/ares_destroy.3
@@ -33,7 +33,8 @@ invokes the callbacks for each pending query on the channel, passing a
status of
.BR ARES_EDESTRUCTION .
These calls give the callbacks a chance to clean up any state which
-might have been stored in their arguments.
+might have been stored in their arguments. A callback must not add new
+requests to a channel being destroyed.
.SH SEE ALSO
.BR ares_init (3),
.BR ares_cancel (3)