2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

Convert tls_send() callback to use isc_job_run()

The tls_send() was already using uvreq; convert this to use more direct
isc_job_run() - the on-loop no-allocation method.
This commit is contained in:
Ondřej Surý 2023-04-11 12:37:21 +02:00
parent 1302345c93
commit 1768522045
No known key found for this signature in database
GPG Key ID: 2820F37E873DEA41

View File

@ -989,7 +989,7 @@ tls_send(isc_nmhandle_t *handle, const isc_region_t *region, isc_nm_cb_t cb,
*(uint16_t *)uvreq->tcplen = htons(region->length);
}
isc_async_run(sock->worker->loop, tls_send_direct, uvreq);
isc_job_run(sock->worker->loop, &uvreq->job, tls_send_direct, uvreq);
}
void