]> git.ipfire.org Git - thirdparty/curl.git/commit
urldata: move async resolver state from easy handle to connectdata
authorStefan Eissing <stefan@eissing.org>
Wed, 25 Oct 2023 10:31:34 +0000 (12:31 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 26 Oct 2023 15:29:17 +0000 (17:29 +0200)
commit56a4db2e4e2bcb9a0dcb75b83560a78ef231fcc8
treee90534d67912ac277640d2e444528d20a450a01f
parent910f740ce29f881878e3029ac4a00150ca8b3d8c
urldata: move async resolver state from easy handle to connectdata

- resolving is done for a connection, not for every transfer
- save create/dup/free of a cares channel for each transfer
- check values of setopt calls against a local channel if no
  connection has been attached yet, when needed.

Closes #12198
lib/asyn-ares.c
lib/asyn-thread.c
lib/doh.c
lib/easy.c
lib/hostasyn.c
lib/hostip.c
lib/multi.c
lib/socks.c
lib/url.c
lib/urldata.h