mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-24 00:29:58 -05:00
- Document 'ub_result.was_ratelimited' in libunbound.
This commit is contained in:
parent
aee3706f66
commit
c316b1d7d5
3 changed files with 10 additions and 5 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
10 February 2020: George
|
||||||
|
- Document 'ub_result.was_ratelimited' in libunbound.
|
||||||
|
|
||||||
6 February 2020: George
|
6 February 2020: George
|
||||||
- Fix num_reply_states and num_detached_states counting with
|
- Fix num_reply_states and num_detached_states counting with
|
||||||
serve_expired_callback.
|
serve_expired_callback.
|
||||||
|
|
|
||||||
|
|
@ -402,6 +402,7 @@ The result of the DNS resolution and validation is returned as
|
||||||
int secure; /* true if result is secure */
|
int secure; /* true if result is secure */
|
||||||
int bogus; /* true if a security failure happened */
|
int bogus; /* true if a security failure happened */
|
||||||
char* why_bogus; /* string with error if bogus */
|
char* why_bogus; /* string with error if bogus */
|
||||||
|
int was_ratelimited; /* true if the query was ratelimited (SERVFAIL) by unbound */
|
||||||
int ttl; /* number of seconds the result is valid */
|
int ttl; /* number of seconds the result is valid */
|
||||||
};
|
};
|
||||||
.fi
|
.fi
|
||||||
|
|
|
||||||
|
|
@ -205,7 +205,8 @@ struct ub_result {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If the query or one of its subqueries was ratelimited. Useful if
|
* If the query or one of its subqueries was ratelimited. Useful if
|
||||||
* ratelimiting is enabled and answer is SERVFAIL.
|
* ratelimiting is enabled and answer to the client is SERVFAIL as a
|
||||||
|
* result.
|
||||||
*/
|
*/
|
||||||
int was_ratelimited;
|
int was_ratelimited;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue