]> git.ipfire.org Git - thirdparty/curl.git/commit
doh: allocate state struct on demand
authorDaniel Stenberg <daniel@haxx.se>
Tue, 19 Jan 2021 14:57:24 +0000 (15:57 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 20 Jan 2021 08:02:24 +0000 (09:02 +0100)
commit6246a1d8c6776a60f266f1906f0ef9048e9e1069
tree2773ae0bf184bc357b07c2c8a381f1680f41871b
parentd0688dcbdf412273e276dd29135b952f2065cb5b
doh: allocate state struct on demand

... instead of having it static within the Curl_easy struct. This takes
away 1176 bytes (18%) from the Curl_easy struct that aren't used very
often and instead makes the code allocate it when needed.

Closes #6492
lib/doh.c
lib/url.c
lib/urldata.h