mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Honour single read per client isc_nm_read() call in the TLSDNS
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.
This commit is contained in:
@@ -1127,6 +1127,10 @@ tls_cycle_input(isc_nmsocket_t *sock) {
|
||||
goto failure;
|
||||
}
|
||||
|
||||
if (atomic_load(&sock->client)) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (pending == 0) {
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user