2
0
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:
Evan Hunt
2020-12-11 15:20:33 -08:00
committed by Ondřej Surý
parent ca11f68d61
commit 5863acc907
4 changed files with 13 additions and 32 deletions

View File

@@ -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(