mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-15 01:10:05 -04:00
Merge branch '881-cleanup-ecs-v9_14' into 'v9_14'
clean up ECS before reusing clients See merge request isc-projects/bind9!1676
This commit is contained in:
commit
e658e92ada
2 changed files with 4 additions and 0 deletions
3
CHANGES
3
CHANGES
|
|
@ -1,3 +1,6 @@
|
|||
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]
|
||||
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue