From: Ondřej Surý Date: Tue, 11 Apr 2023 10:04:38 +0000 (+0200) Subject: Convert isc__nm_http_send() from isc_async_run() to isc_job_run() X-Git-Tag: v9.19.13~39^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1302345c936838dc00fc06e052777b2d09383efe;p=thirdparty%2Fbind9.git Convert isc__nm_http_send() from isc_async_run() to isc_job_run() The isc__nm_http_send() was already using uvreq; convert this to use more direct isc_job_run() - the on-loop no-allocation method. --- diff --git a/lib/isc/netmgr/http.c b/lib/isc/netmgr/http.c index 10e07c8b7a9..7ba075fe907 100644 --- a/lib/isc/netmgr/http.c +++ b/lib/isc/netmgr/http.c @@ -2183,7 +2183,7 @@ isc__nm_http_send(isc_nmhandle_t *handle, const isc_region_t *region, uvreq->uvbuf.base = (char *)region->base; uvreq->uvbuf.len = region->length; - isc_async_run(sock->worker->loop, http_send_cb, uvreq); + isc_job_run(sock->worker->loop, &uvreq->job, http_send_cb, uvreq); } static void