mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Make sharing of pending TCP dispatches nonoptional
The DNS_REQUESTOPT_SHARE flag was added when client-side pipelining of TCP queries was implemented. there was no need to make it optional; forcing it to be in effect for all requests simplfiies the code.
This commit is contained in:
@@ -752,7 +752,7 @@ sendquery(struct query *query, isc_task_t *task) {
|
||||
|
||||
options = 0;
|
||||
if (tcp_mode) {
|
||||
options |= DNS_REQUESTOPT_TCP | DNS_REQUESTOPT_SHARE;
|
||||
options |= DNS_REQUESTOPT_TCP;
|
||||
}
|
||||
request = NULL;
|
||||
result = dns_request_createvia(
|
||||
|
Reference in New Issue
Block a user