bind9/lib/ns
Artem Boldariev 285e75b3b0
Use appropriately sized send buffers for DNS messages over TCP
This commit changes send buffers allocation strategy for stream based
transports. Before that change we would allocate a dynamic buffers
sized at 64Kb even when we do not need that much. That could lead to
high memory usage on server. Now we resize the send buffer to match
the size of the actual data, freeing the memory at the end of the
buffer for being reused later.

(cherry picked from commit d8a5feb556)
2023-06-06 14:04:01 +02:00
..
include Use appropriately sized send buffers for DNS messages over TCP 2023-06-06 14:04:01 +02:00
client.c Use appropriately sized send buffers for DNS messages over TCP 2023-06-06 14:04:01 +02:00
hooks.c Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
interfacemgr.c remove nonfunctional DSCP implementation 2023-01-09 14:23:26 -08:00
listenlist.c remove nonfunctional DSCP implementation 2023-01-09 14:23:26 -08:00
log.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
notify.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
query.c Fix serve-stale bug when cache has no data 2023-05-30 13:46:00 +02:00
server.c remove named_os_gethostname() 2023-02-18 12:27:19 -08:00
sortlist.c De-duplicate __FILE__, __LINE__ 2022-10-17 16:00:26 +01:00
stats.c Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
tests Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
update.c refactor dns_clientinfo_init(); use separate function to set ECS 2023-02-08 00:13:12 -08:00
xfrout.c Implement new -T options for xfer system tests 2023-04-21 17:21:32 +02:00