The TcpTransportExecutor will now keep the TCP/IP socket connection to the DNS server open for a short period. Additional queries can reuse the same socket connection and pipeline multiple queries over this single socket. This avoids creating multiple socket resources for concurrent requests and implies the TCP/IP connection overhead only applies once instead of for each query. Among others, this helps avoiding excessive resources and significantly improves query performance when using multiple (concurrent) queries. This implements RFC 7766 as per https://tools.ietf.org/html/rfc7766
jsor approved these changes Aug 11, 2019
clue deleted the tcp-reuse branch
August 12, 2019 07:42