This makes it simpler for other parts of resolver to react to this
situation, e.g. custom modules pushing the information to analytics.
_Bool answ_validated;
_Bool auth_validated;
_Bool stale_accounted;
+ _Bool ratelimited;
uint8_t rank;
struct kr_rplan rplan;
trace_log_f trace_log;
}
}
+ req->ratelimited = true; // we set this even on dry_run
if (ratelimiting->dry_run) return false;
// perform limiting
bool answ_validated; /**< internal to validator; beware of caching, etc. */
bool auth_validated; /**< see answ_validated ^^ ; TODO */
bool stale_accounted;
+ bool ratelimited; /**< this request shot over the rate limit */
/** Overall rank for the request.
*