bind9/lib/ns/include/ns
Alessio Podda e84704bd55 Improve efficiency of ns_client_t reset
The ns_client_t struct is reset and zero-ed out on every query,
but some fields (query, message, manager) are preserved.

We observe two things:
 - The sendbuf field is going to be overwritten anyway, there's
   no need to zero it out.
 - The fields are copied out when the struct is zero-ed out, and
   then copied back in. For the query field (which is 896 bytes)
   this is very inefficient.

This commit makes the reset more efficient avoiding to unnecessary
zero-ing and copy.
2025-07-10 07:19:47 +02:00
..
client.h Improve efficiency of ns_client_t reset 2025-07-10 07:19:47 +02:00
hooks.h clean up uses of ISC_R_NOMEMORY 2025-01-23 15:54:57 -08:00
interfacemgr.h Don't open route socket if we don't need it 2024-08-05 07:31:02 +00:00
listenlist.h Remove ns_listenlist_default() 2024-11-26 15:22:30 -08:00
notify.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
query.h prevent a reference leak from the ns_query_done hooks 2025-02-25 22:40:48 +00:00
server.h Implement -T cookiealwaysvalid 2025-03-17 10:42:47 +00:00
stats.h Add EDNS ZONEVERSION option counter 2025-03-24 22:16:09 +00:00
types.h Remove AES algorithm for DNS cookies 2023-11-15 10:31:16 +01:00
update.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
xfrout.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00