Aram Sargsyan
926f0323b6
Fix an ADB quota management error in the resolver
...
Normally, when a 'resquery_t' object is created in fctx_query(),
we call dns_adb_beginudpfetch() (which increases the ADB quota)
only if it's a UDP query. Then, in fctx_cancelquery(), we call
dns_adb_endudpfetch() to decreases back the ADB quota, again only
if it's a UDP query.
The problem is that a UDP query can become a TCP query, preventing
the quota from adjusting back in fctx_cancelquery() later.
Call dns_adb_beginudpfetch() also when switching the query type
from UDP to TCP.
(cherry picked from commit 53afe1f978 )
2022-12-23 10:08:00 +00:00
..
2022-12-21 12:41:15 +00:00
2022-11-29 09:14:07 +01:00
2022-04-26 14:21:57 +02:00
2022-12-23 10:08:00 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-01-11 09:05:02 +01:00
2022-12-15 13:31:30 +00:00
2022-12-07 23:59:36 +00:00
2022-01-27 14:51:11 -08:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-01-11 09:05:02 +01:00
2022-11-29 09:14:07 +01:00
2022-12-21 12:41:15 +00:00
2022-03-25 08:42:18 +01:00
2022-04-26 14:21:57 +02:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-08-31 15:24:00 -07:00
2022-01-11 09:05:02 +01:00
2022-03-25 08:42:16 +01:00
2022-11-29 09:14:07 +01:00
2022-05-16 10:37:23 +02:00
2022-03-02 10:49:47 +00:00
2022-11-29 09:14:07 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-11-29 09:14:07 +01:00
2022-01-11 09:05:02 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-01-11 09:05:02 +01:00
2022-03-18 16:05:56 +00:00
2022-03-25 08:42:18 +01:00
2022-11-29 09:14:07 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-12-07 23:59:36 +00:00
2022-06-28 14:36:38 +02:00
2022-11-29 09:14:07 +01:00
2022-01-11 09:05:02 +01:00
2022-11-29 09:14:07 +01:00
2022-07-07 07:47:45 +10:00
2022-01-11 09:05:02 +01:00
2022-03-25 08:42:18 +01:00
2022-07-13 10:46:37 +10:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-12-07 23:59:36 +00:00
2022-01-11 09:05:02 +01:00
2022-11-29 09:14:07 +01:00
2022-01-11 09:05:02 +01:00
2022-01-11 09:05:02 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-01-11 09:05:02 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-01-11 09:05:02 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-01-11 09:05:02 +01:00
2022-11-29 09:14:07 +01:00
2022-12-21 12:41:15 +00:00
2022-12-23 10:08:00 +00:00
2022-01-11 09:05:02 +01:00
2022-12-07 23:59:36 +00:00
2022-12-07 23:59:36 +00:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-12-07 23:59:36 +00:00
2022-03-25 08:42:18 +01:00
2022-01-11 09:05:02 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-05-31 12:06:00 +02:00
2022-01-11 09:05:02 +01:00
2022-11-29 09:14:07 +01:00
2022-05-03 17:42:43 +03:00
2022-03-25 08:42:16 +01:00
2022-01-11 09:05:02 +01:00
2022-11-29 09:14:07 +01:00
2022-01-11 09:05:02 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-11-29 09:14:07 +01:00
2022-01-11 09:05:02 +01:00
2022-12-14 15:51:33 +00:00
2022-11-29 09:14:07 +01:00
2022-12-07 23:59:36 +00:00
2022-11-29 09:14:07 +01:00