diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-08-05 01:51:40 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-08-05 01:52:25 +0200 |
commit | dc4d47e2c79aafa3ef646e32ff3422c4ce935c1b (patch) | |
tree | 7d8fdea3f49ea941ca6d3860dc88cd6248586724 /src/resolve/resolved-dns-query.c | |
parent | 4d926a69bc27b8fbd4891bb10c03336bd8d93b7a (diff) |
resolved: never reuse transactions for probing that are already completed based on cached data
Diffstat (limited to 'src/resolve/resolved-dns-query.c')
-rw-r--r-- | src/resolve/resolved-dns-query.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-query.c b/src/resolve/resolved-dns-query.c index 36cfc026ea..ae285ef112 100644 --- a/src/resolve/resolved-dns-query.c +++ b/src/resolve/resolved-dns-query.c @@ -156,7 +156,7 @@ static int dns_query_add_transaction(DnsQuery *q, DnsScope *s, DnsResourceKey *k } else question = dns_question_ref(q->question); - t = dns_scope_find_transaction(s, question); + t = dns_scope_find_transaction(s, question, true); if (!t) { r = dns_transaction_new(&t, s, question); if (r < 0) |