1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2026-03-17 15:12:34 +00:00

ares_destroy() documentation: no new requests

Clarify that no new requests may be added to a resolver channel that is
currently being destroyed.
This commit is contained in:
Alexander Klauer
2013-04-08 11:48:45 +02:00
committed by Daniel Stenberg
parent fa19279bba
commit 1317a1c94b

View File

@ -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)