Clean up client->ecs when we're done with the request.

(cherry picked from commit aa3da7a232)
This commit is contained in:
Witold Kręcicki
2019-02-17 20:32:07 +01:00
committed by Evan Hunt
parent 84910c0920
commit fcb5642ec0

View File

@@ -765,6 +765,7 @@ ns_client_endrequest(ns_client_t *client) {
client->udpsize = 512;
client->extflags = 0;
client->ednsversion = -1;
dns_ecs_init(&client->ecs);
dns_message_reset(client->message, DNS_MESSAGE_INTENTPARSE);
if (client->recursionquota != NULL) {