2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

3911. [func] Implement EDNS EXPIRE option client side. [RT #35925]

This commit is contained in:
Mark Andrews
2014-08-06 11:50:40 +10:00
parent a338c2d947
commit 43b9737b11
17 changed files with 267 additions and 28 deletions

View File

@@ -1177,6 +1177,11 @@ configure_peer(const cfg_obj_t *cpeer, isc_mem_t *mctx, dns_peer_t **peerp) {
if (obj != NULL)
CHECK(dns_peer_setprovideixfr(peer, cfg_obj_asboolean(obj)));
obj = NULL;
(void)cfg_map_get(cpeer, "request-expire", &obj);
if (obj != NULL)
CHECK(dns_peer_setrequestexpire(peer, cfg_obj_asboolean(obj)));
obj = NULL;
(void)cfg_map_get(cpeer, "request-ixfr", &obj);
if (obj != NULL)