bind9/lib/isc/netmgr
Ondřej Surý 964891a794
Limit the number of DNS message processed from a single TCP read
The single TCP read can create as much as 64k divided by the minimum
size of the DNS message.  This can clog the processing thread and trash
the memory allocator because we need to do as much as ~20k allocations in
a single UV loop tick.

Limit the number of the DNS messages processed in a single UV loop tick
to just single DNS message and limit the number of the outstanding DNS
messages back to 23.  This effectively limits the number of pipelined
DNS messages to that number (this is the limit we already had before).

This reverts commit 780a89012d.
2024-06-10 18:43:46 +02:00
..
http.c Keep the endpoints set reference within an HTTP/2 socket 2024-06-10 18:35:18 +02:00
netmgr-int.h Limit the number of DNS message processed from a single TCP read 2024-06-10 18:43:46 +02:00
netmgr.c Limit the number of DNS message processed from a single TCP read 2024-06-10 18:43:46 +02:00
tcp.c Throttle reading from TCP if the sends are not getting through 2024-06-10 18:43:44 +02:00
tcpdns.c Throttle reading from TCP if the sends are not getting through 2024-06-10 18:43:44 +02:00
timer.c Change single write timer to per-send timers 2022-03-11 10:52:22 +01:00
tlsdns.c increase TCP4Clients/TCP6Clients after point of no failure 2024-05-30 13:39:23 +03:00
tlsstream.c Split fast and slow task queues 2024-02-01 21:47:29 +01:00
udp.c Split fast and slow task queues 2024-02-01 21:47:29 +01:00
uv-compat.c Add uv_tcp_close_reset compat 2022-02-17 09:47:43 +01:00
uv-compat.h Add parentheses around macro arguement 'msec' 2023-10-20 10:30:48 +11:00
uverr2result.c add a result code for ENOPROTOOPT, EPROTONOSUPPORT 2023-04-21 12:47:07 +02:00