bind9/lib/isc/netmgr
Evan Hunt 38264b6a4d Use different allocators for UDP and TCP
Each worker has a receive buffer with space for 20 DNS messages of up
to 2^16 bytes each, and the allocator function passed to uv_read_start()
or uv_udp_recv_start() will reserve a portion of it for use by sockets.
UDP can use recvmmsg() and so it needs that entire space, but TCP reads
one message at a time.

This commit introduces separate allocator functions for TCP and UDP
setting different buffer size limits, so that libuv will provide the
correct buffer sizes to each of them.
2020-08-05 12:57:23 +02:00
..
netmgr-int.h Use different allocators for UDP and TCP 2020-08-05 12:57:23 +02:00
netmgr.c Use different allocators for UDP and TCP 2020-08-05 12:57:23 +02:00
tcp.c Use different allocators for UDP and TCP 2020-08-05 12:57:23 +02:00
tcpdns.c use handles for isc_nm_pauseread() and isc_nm_resumeread() 2020-07-13 13:17:08 -07:00
udp.c Use different allocators for UDP and TCP 2020-08-05 12:57:23 +02:00
uv-compat.c isc_uv_import must pass UV__IPC_SOCKET_XFER_TCP_CONNECTION, not SERVER. 2020-06-03 20:08:54 +00:00
uv-compat.h Use libuv-provided uv_{export,import} if available. 2020-02-18 12:17:55 +01:00
uverr2result.c Proper accounting of active TCP connections 2020-03-05 18:02:27 +00:00