mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch 'artem-tls-streamdns-fixes-part2-v9-18' into 'v9_18'
[Backport to v9.18] TLS-related fixes from Stream DNS and Loop Manager branches See merge request isc-projects/bind9!6617
This commit is contained in:
commit
a524cef8af
1 changed files with 2 additions and 1 deletions
|
|
@ -497,6 +497,7 @@ tls_do_bio(isc_nmsocket_t *sock, isc_region_t *received_data,
|
|||
}
|
||||
}
|
||||
}
|
||||
errno = 0;
|
||||
tls_status = SSL_get_error(sock->tlsstream.tls, rv);
|
||||
saved_errno = errno;
|
||||
|
||||
|
|
@ -859,7 +860,7 @@ isc__nm_tls_resumeread(isc_nmhandle_t *handle) {
|
|||
REQUIRE(VALID_NMSOCK(handle->sock));
|
||||
|
||||
if (!atomic_compare_exchange_strong(&handle->sock->readpaused,
|
||||
&(bool){ false }, false))
|
||||
&(bool){ true }, false))
|
||||
{
|
||||
if (inactive(handle->sock)) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue