mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 01:50:00 -04: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.
(cherry picked from commit e3c628d562)
This commit is contained in:
parent
8b14eb577f
commit
f17f5e831b
1 changed files with 4 additions and 0 deletions
|
|
@ -1120,6 +1120,10 @@ tls_cycle_input(isc_nmsocket_t *sock) {
|
|||
goto failure;
|
||||
}
|
||||
|
||||
if (atomic_load(&sock->client)) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (pending == 0) {
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue