2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-05 09:05:40 +00:00

4438. [func] Use LIFO rather than FIFO when processing startup

notify and refresh queries. [RT #42825]
This commit is contained in:
Mark Andrews
2016-08-12 11:33:48 +10:00
parent a7115b8b4d
commit 5734cd3943
4 changed files with 26 additions and 1 deletions

View File

@@ -58,6 +58,13 @@ isc_ratelimiter_setpertic(isc_ratelimiter_t *rl, isc_uint32_t perint);
* If 'perint' is zero it is treated as 1.
*/
void
isc_ratelimiter_setpushpop(isc_ratelimiter_t *rl, isc_boolean_t pushpop);
/*%<
* Set / clear the ratelimiter to from push pop mode rather
* first in - first out mode (default).
*/
isc_result_t
isc_ratelimiter_enqueue(isc_ratelimiter_t *rl, isc_task_t *task,
isc_event_t **eventp);