]> git.meshlink.io Git - meshlink/commit
Add "blocking" asynchronous DNS requests.
authorGuus Sliepen <guus@meshlink.io>
Thu, 9 Apr 2020 21:39:19 +0000 (23:39 +0200)
committerGuus Sliepen <guus@meshlink.io>
Thu, 9 Apr 2020 22:06:26 +0000 (00:06 +0200)
commit5b72f55e11cf44d788a788e7231927bc2a3fbe2d
treebc756308c1dece30821670c43fc2df8f6ed1a2fb
parent53818faa72ac501f593edfc454b35d1fd4bfb318
Add "blocking" asynchronous DNS requests.

These block for a limited amount of time, preventing lookups from taking
too long. Because these requests can be done without the main MeshLink
thread running, we don't use the request queue, but instead spawn a
thread for each blocking request.
src/adns.c
src/adns.h