Skip to content

Commit 2a6658e

Browse files
committed
resolved: never proceed processing truncated packets
Make sure we don't end up processing packets that are truncated. Instead, actually let the TCP connection do its thing.
1 parent cbe4216 commit 2a6658e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/resolve/resolved-dns-transaction.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,9 +664,9 @@ void dns_transaction_process_reply(DnsTransaction *t, DnsPacket *p) {
664664
dns_transaction_complete(t, DNS_TRANSACTION_RESOURCES);
665665
return;
666666
}
667-
668-
return;
669667
}
668+
669+
return;
670670
}
671671

672672
/* Parse message, if it isn't parsed yet. */

0 commit comments

Comments
 (0)