From 1768522045f53b950a91c725817eb60b22615430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Tue, 11 Apr 2023 12:37:21 +0200 Subject: [PATCH] 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. --- lib/isc/netmgr/tlsstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/netmgr/tlsstream.c b/lib/isc/netmgr/tlsstream.c index 65de581fde..6b85bed76a 100644 --- a/lib/isc/netmgr/tlsstream.c +++ b/lib/isc/netmgr/tlsstream.c @@ -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