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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user