Go to file
Stefan Eissing d8696dc8c0
doh: fix cleanup
When removing an easy handle that had DoH sub-easy handles going, those
were not removed from the multi handle. Their memory was reclaimed on
curl_easy_cleanup() of the owning handle, but multi still had them in
their list.

Add `Curl_doh_close()` and `Curl_doh_cleanup()` as common point for
handling the DoH resource management. Use the `multi` present in the doh
handles (if so), for removal, as the `data->multi` might already have
been NULLed at this time.

Reported-by: 罗朝辉
Fixes #14207
Closes #14212
2024-07-18 15:13:30 +02:00
.circleci CI/circleci: config tidy-ups, bump up test parallelism 2024-07-13 04:03:05 +02:00
.github GHA/windows: add MSVC wolfSSL job with test 2024-07-16 11:56:34 +02:00
CMake build: use #error instead of invalid syntax 2024-07-14 14:03:00 +02:00
docs libcurl-docs: make option lists alpha-sorted 2024-07-14 13:44:24 +02:00
include tidy-up: adjust casing of project names 2024-07-12 13:56:16 +02:00
lib doh: fix cleanup 2024-07-18 15:13:30 +02:00
LICENSES
m4 build: use #error instead of invalid syntax 2024-07-14 14:03:00 +02:00
packages tidy-up: adjust casing of project names 2024-07-12 13:56:16 +02:00
plan9
projects tidy-up: adjust casing of project names 2024-07-12 13:56:16 +02:00
scripts tests/scripts: call it 'manpage' (single word) 2024-07-18 15:12:09 +02:00
src curl: follow-up to fix categories in --help 2024-07-05 14:44:43 -07:00
tests tests/scripts: call it 'manpage' (single word) 2024-07-18 15:12:09 +02:00
winbuild tidy-up: adjust casing of project names 2024-07-12 13:56:16 +02:00
.azure-pipelines.yml CI: fix typo in job name 2024-06-27 13:33:30 +02:00
.cirrus.yml CI: bump FreeBSD Python packages 2024-07-09 23:31:27 +02:00
.dcignore
.dir-locals.el
.git-blame-ignore-revs
.gitattributes winbuild: MS-DOS batch tidy-ups 2024-07-02 19:26:15 +02:00
.gitignore TLS: add support for ECH (Encrypted Client Hello) 2024-04-16 08:10:53 +02:00
.mailmap .mailmap: update Gisle's preferred email 2024-04-09 08:50:07 +02:00
acinclude.m4 configure: CA bundle/path detection fixes 2024-07-16 11:33:52 +02:00
appveyor.sh CI: simplify running curl with DLLs 2024-07-10 11:30:39 +02:00
appveyor.yml build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
buildconf
buildconf.bat buildconf.bat: remove outdated groff/nroff use 2024-03-07 22:38:16 +01:00
CHANGES
CMakeLists.txt cmake: sync CA bundle/path detection with autotools 2024-07-16 11:33:52 +02:00
configure.ac tidy-up: adjust casing of project names 2024-07-12 13:56:16 +02:00
COPYING
curl-config.in curl-config: revert to backticks to support old target envs 2024-06-04 10:13:21 +02:00
Dockerfile Dockerfile: update debian:bookworm-slim to 39868a6 2024-07-03 08:39:27 +02:00
GIT-INFO.md GIT-INFO.md: remove version requirements 2024-07-08 23:06:05 +02:00
libcurl.def lib: add curl_multi_waitfds 2024-04-09 16:53:40 +02:00
libcurl.pc.in libcurl.pc: add Requires.private, Requires for static linking 2024-06-13 11:17:33 +02:00
Makefile.am winbuild: MS-DOS batch tidy-ups 2024-07-02 19:26:15 +02:00
Makefile.dist
maketgz projects: drop MSVC project files for recent versions 2024-04-10 07:55:24 +02:00
README
README.md
RELEASE-NOTES RELEASE-NOTES: synced 2024-07-14 23:22:11 +02:00
renovate.json GHA: unify http3 workflows into one 2024-06-01 10:57:23 +02:00
REUSE.toml reuse: fix typo in comment 2024-07-06 02:39:24 +02:00
SECURITY.md

curl logo

Curl is a command-line tool for transferring data specified with URL syntax. Find out how to use curl by reading the curl.1 man page or the MANUAL document. Find out how to install Curl by reading the INSTALL document.

libcurl is the library curl is using to do its job. It is readily available to be used by your software. Read the libcurl.3 man page to learn how.

You can find answers to the most frequent questions we get in the FAQ document.

Study the COPYING file for distribution terms.

Contact

If you have problems, questions, ideas or suggestions, please contact us by posting to a suitable mailing list.

All contributors to the project are listed in the THANKS document.

Commercial support

For commercial support, maybe private and dedicated help with your problems or applications using (lib)curl visit the support page.

Website

Visit the curl website for the latest news and downloads.

Git

To download the latest source from the Git server, do this:

git clone https://github.com/curl/curl.git

(you will get a directory named curl created, filled with the source code)

Security problems

Report suspected security problems via our HackerOne page and not in public.

Notice

Curl contains pieces of source code that is Copyright (c) 1998, 1999 Kungliga Tekniska Högskolan. This notice is included here to comply with the distribution terms.

Backers

Thank you to all our backers! 🙏 Become a backer.

Sponsors

Support this project by becoming a sponsor.