no reason to limit on truncation

pull/590/head
Brad House 2 years ago
parent 741f37026f
commit 5a18873c81
  1. 7
      src/lib/ares_process.c

@ -638,13 +638,6 @@ static void process_answer(ares_channel channel, const unsigned char *abuf,
goto cleanup;
}
/* Limit alen to PACKETSZ if we aren't using TCP (only relevant if we
* are ignoring truncation.
*/
if (alen > packetsz && !tcp) {
alen = packetsz;
}
/* If we aren't passing through all error packets, discard packets
* with SERVFAIL, NOTIMP, or REFUSED response codes.
*/

Loading…
Cancel
Save