projects
/
platform
/
upstream
/
c-ares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa19279
)
ares_destroy() documentation: no new requests
author
Alexander Klauer
<Alexander.Klauer@itwm.fraunhofer.de>
Mon, 8 Apr 2013 09:48:45 +0000
(11:48 +0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 8 Apr 2013 20:16:48 +0000
(22:16 +0200)
Clarify that no new requests may be added to a resolver channel that is
currently being destroyed.
ares_destroy.3
patch
|
blob
|
history
diff --git
a/ares_destroy.3
b/ares_destroy.3
index 79171ecbaa85ac6ee932fbfa5ed7e0d6855938d8..3724df1b9b85dbcb9d6bac4c36bc240adb71960d 100644
(file)
--- 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)