Commit 7ef3bb20 authored by Evan Hunt's avatar Evan Hunt

Merge branch '881-cleanup-ecs' into 'master'

clean up ECS before reusing clients

Closes #881

See merge request !1675
parents 44c8202b 9463a781
Pipeline #11814 passed with stages
in 59 seconds
5183. [bug] Reinitialize ECS data before reusing client
structures. [GL #881]
5182. [bug] Fix a high-load race/crash in handling of
isc_socket_close() in resolver. [GL #834]
......
......@@ -763,6 +763,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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment