bind9/lib/isc/netmgr
Ondřej Surý ec86759401 Replace netmgr per-protocol sequential function with a common one
Previously, each protocol (TCPDNS, TLSDNS) has specified own function to
disable pipelining on the connection.  An oversight would lead to
assertion failure when opcode is not query over non-TCPDNS protocol
because the isc_nm_tcpdns_sequential() function would be called over
non-TCPDNS socket.  This commit removes the per-protocol functions and
refactors the code to have and use common isc_nm_sequential() function
that would either disable the pipelining on the socket or would handle
the request in per specific manner.  Currently it ignores the call for
HTTP sockets and causes assertion failure for protocols where it doesn't
make sense to call the function at all.
2021-06-22 17:21:44 +03:00
..
http.c Fix ASAN error in DoH (passing NULL to memmove()) 2021-06-16 17:46:10 +03:00
netmgr-int.h Set sock->iface and sock->peer properly for layered connection types 2021-06-14 11:37:36 +03:00
netmgr.c Replace netmgr per-protocol sequential function with a common one 2021-06-22 17:21:44 +03:00
tcp.c Completely remove BIND 9 Windows support 2021-06-09 14:35:14 +02:00
tcpdns.c Replace netmgr per-protocol sequential function with a common one 2021-06-22 17:21:44 +03:00
tlsdns.c Replace netmgr per-protocol sequential function with a common one 2021-06-22 17:21:44 +03:00
tlsstream.c Set sock->iface and sock->peer properly for layered connection types 2021-06-14 11:37:36 +03:00
udp.c Completely remove BIND 9 Windows support 2021-06-09 14:35:14 +02:00
uv-compat.c Completely remove BIND 9 Windows support 2021-06-09 14:35:14 +02:00
uv-compat.h Use UV_VERSION_HEX to decide whether we need libuv shim functions 2021-05-31 14:52:05 +02:00
uverr2result.c Distribute queries among threads even on platforms without lb sockets 2020-12-03 09:20:33 +01:00