resolve: do not complete stream transaction when it is under retrying
This commit is contained in:
parent
3da3cdd592
commit
daab72ea44
|
@ -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
|
/* If the LLMNR/TCP connection failed, the host doesn't support LLMNR, and we cannot answer the
|
||||||
* question on this scope. */
|
* question on this scope. */
|
||||||
dns_transaction_complete(t, DNS_TRANSACTION_NOT_FOUND);
|
dns_transaction_complete(t, DNS_TRANSACTION_NOT_FOUND);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
dns_transaction_retry(t, true);
|
dns_transaction_retry(t, true);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if (error != 0) {
|
if (error != 0) {
|
||||||
t->answer_errno = error;
|
t->answer_errno = error;
|
||||||
|
|
Loading…
Reference in New Issue