Skip to content

Change dns_message_create() function to accept memory pools

Ondřej Surý requested to merge 4325-reduce-isc_mempool-contention into main

Instead of creating new memory pools for each new dns_message, change dns_message_create() method to optionally accept externally created dns_fixedname_t and dns_rdataset_t memory pools. This allows us to preallocate the memory pools in ns_client and dns_resolver units for the lifetime of dns_resolver_t and ns_clientmgr_t.

Closes #4325 (closed)

Edited by Ondřej Surý

Merge request reports