mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Merge branch 'ondrej/fix-dangling-uvreq-in-tlsdns' into 'main'
Fix dangling uvreq when data is sent from tlsdns_cycle() See merge request isc-projects/bind9!4820
This commit is contained in:
@@ -1079,13 +1079,13 @@ tls_write_cb(uv_write_t *req, int status) {
|
||||
|
||||
free_senddata(sock);
|
||||
|
||||
isc__nm_uvreq_put(&uvreq, sock);
|
||||
|
||||
if (status != 0) {
|
||||
tls_error(sock, isc__nm_uverr2result(status));
|
||||
return;
|
||||
}
|
||||
|
||||
isc__nm_uvreq_put(&uvreq, sock);
|
||||
|
||||
result = tls_cycle(sock);
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
tls_error(sock, result);
|
||||
|
Reference in New Issue
Block a user