]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use uv_idle API for calling asynchronous connect/read/send callback
authorOndřej Surý <ondrej@isc.org>
Fri, 24 Mar 2023 09:36:58 +0000 (10:36 +0100)
committerOndřej Surý <ondrej@isc.org>
Wed, 29 Mar 2023 19:16:44 +0000 (21:16 +0200)
commit476198f26c39d820f300a06bae9cef3ed13f950d
tree8868d0f4acb160b3cabf83f3ae72c9318ade6d63
parent670df3da74c9da75238298ef35a528c6d0e30873
Use uv_idle API for calling asynchronous connect/read/send callback

Instead of using isc_job_run() that's quite heavy as it allocates memory
for every new job, add uv_idle_t to uvreq union, and use uv_idle API
directly to execute the connect/read/send callback without any
additional allocations.
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c