Commit 15f676f1 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Merge branch 'ondrej/fix-dangling-uvreq-in-tlsdns' into 'main'

Fix dangling uvreq when data is sent from tlsdns_cycle()

See merge request !4820
parents 06913d3d 5cc406a9
Pipeline #66734 passed with stages
in 1 minute and 12 seconds
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment