unbound/unbound-1.7.0-prefetch.patch
Paul Wouters 06f08e4505 * Mon Apr 09 2018 Paul Wouters <pwouters@redhat.com> - 1.7.0-4
- Patch for prefetching after flushing cache
2018-04-09 11:10:41 +02:00

11 lines
317 B
Diff

--- a/daemon/remote.c 2017-09-18 10:55:08.000000000 +0200
+++ b/daemon/remote.c 2018-04-09 10:55:46.719032250 +0200
@@ -1644,6 +1644,7 @@
struct reply_info* d = (struct reply_info*)e->data;
if(d->ttl > inf->expired) {
d->ttl = inf->expired;
+ d->prefetch_ttl = inf->expired;
inf->num_msgs++;
}
}