From: Yu Watanabe Date: Wed, 13 Jun 2018 04:43:36 +0000 (+0900) Subject: resolve: do not complete stream transaction when it is under retrying X-Git-Tag: v239~80^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=daab72ea445f5941e4b0a077115e6785b430a9ff;p=platform%2Fupstream%2Fsystemd.git resolve: do not complete stream transaction when it is under retrying --- diff --git a/src/resolve/resolved-dns-transaction.c b/src/resolve/resolved-dns-transaction.c index f2347a4..b72a990 100644 --- a/src/resolve/resolved-dns-transaction.c +++ b/src/resolve/resolved-dns-transaction.c @@ -467,9 +467,11 @@ static void on_transaction_stream_error(DnsTransaction *t, int error) { /* If the LLMNR/TCP connection failed, the host doesn't support LLMNR, and we cannot answer the * question on this scope. */ dns_transaction_complete(t, DNS_TRANSACTION_NOT_FOUND); + return; } dns_transaction_retry(t, true); + return; } if (error != 0) { t->answer_errno = error;