Don't honour single read per client isc_nm_read() call in the TLSDNS

This reverts commit f17f5e831b that made
following change:

> The TLSDNS transport was not honouring the single read callback for
> TLSDNS client.  It would call the read callbacks repeatedly in case the
> single TLS read would result in multiple DNS messages in the decoded
> buffer.

Turns out that this change broke XoT, so we are reverting the change
until we figure out a proper fix that will keep the design promise and
not break XoT at the same time.
This commit is contained in:
Ondřej Surý 2023-01-11 10:17:55 +01:00
parent 614d5c3334
commit d0d9e7dfb2
No known key found for this signature in database
GPG key ID: 2820F37E873DEA41

View file

@ -1120,10 +1120,6 @@ tls_cycle_input(isc_nmsocket_t *sock) {
goto failure;
}
if (atomic_load(&sock->client)) {
break;
}
if (pending == 0) {
break;
}