mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-10-20 23:31:32 +02:00
- ttl-zero-cacherep, Responses in the last second of their cache TTL,
get an extra second. That makes the TTL not 0, since they are from cache and can be cached by the client.
This commit is contained in:
+1
-1
@@ -1110,7 +1110,7 @@ static void edns_ede_encode_encodedecode(struct query_info* qinfo,
|
||||
/* encode */
|
||||
unit_assert(
|
||||
reply_info_answer_encode(qinfo, rep, 1, rep->flags, pkt,
|
||||
0, 0, region, 65535, edns, 0, 0));
|
||||
0, 0, region, 65535, edns, 0, 0, 0));
|
||||
/* buffer ready for reading; skip after the question section */
|
||||
sldns_buffer_skip(pkt, LDNS_HEADER_SIZE);
|
||||
(void)query_dname_len(pkt);
|
||||
|
||||
Reference in New Issue
Block a user