]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Document the valid ranges for the asynchronous identifiers
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 17 Jan 2023 15:31:23 +0000 (16:31 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 17 Jan 2023 15:31:23 +0000 (16:31 +0100)
pdns/dnsdistdist/docs/reference/dq.rst

index e3b770736ddafe9b88d18244c5630417001c59e3..02fc13f126cbc4365a225380d0115071316b69cd 100644 (file)
@@ -343,8 +343,8 @@ This state can be modified from the various hooks.
     Note that the DNSQuestion object should NOT be accessed after successfully calling this method.
     Returns true on success and false on failure, indicating that the query has not been suspended and the normal processing will continue.
 
-    :param int asyncID: A numeric identifier used to identify the suspended query for later retrieval
-    :param int queryID: A numeric identifier used to identify the suspended query for later retrieval. This ID does not have to match the query ID present in the initial DNS header. A given (asyncID, queryID) tuple should be unique at a given time.
+    :param int asyncID: A numeric identifier used to identify the suspended query for later retrieval. Valid values range from 0 to 65535, both included.
+    :param int queryID: A numeric identifier used to identify the suspended query for later retrieval. This ID does not have to match the query ID present in the initial DNS header. A given (asyncID, queryID) tuple should be unique at a given time. Valid values range from 0 to 65535, both included.
     :param int timeoutMS: The maximum duration this query will be kept in the asynchronous holder before being automatically resumed,  in milliseconds.
 
 .. _DNSResponse: