Go to file
Viktor Szakats d82b080f63
cmake: disable unity mode with Windows Unicode + TrackMemory
"TrackMemory" is `ENABLE_DEBUG=ON` (aka `ENABLE_CURLDEBUG=ON`,
aka `-DCURLDEBUG`).

There is an issue with memory tracking and Unicode when built in "unity"
mode, which results in the curl tool crashing right on startup, even
without any command-line option. Interestingly this doesn't happen under
WINE (at least on the system I tested this on), but consistenly happens
on real Windows machines. Crash is 0xC0000374 heap corruption. Both
shared and static curl executables are affected.

This limitation probably won't hit too many people, but it remains
a TODO to find and fix the root cause and drop this workaround.

Example builds and runs:
https://ci.appveyor.com/project/curlorg/curl/builds/48169111/job/17cptxhtpubd7iwj#L313 (static)
https://ci.appveyor.com/project/curlorg/curl/builds/48169111/job/76e1ge758tbyqu9c#L317 (shared)

Follow-up to 3f8fc25720 #11095

Ref: #11928
Closes #12005
2023-10-02 23:28:18 +00:00
.circleci CI: run Circle macOS builds on x86 for now 2023-09-05 22:53:40 -07:00
.github cmake: fix HAVE_LDAP_SSL, HAVE_LDAP_URL_PARSE on non-Windows 2023-10-02 22:19:47 +00:00
.reuse tool: use our own stderr variable 2023-09-28 10:50:56 +00:00
CMake cmake: pre-cache HAVE_POLL_FINE on Windows 2023-10-01 18:02:25 +00:00
docs RELEASE-PROCEDURE.md: updated coming release dates 2023-10-02 13:31:51 +02:00
include curl_multi_get_handles: get easy handles from a multi handle 2023-09-25 20:16:58 +02:00
lib h2: testcase and fix for pausing h2 streams 2023-09-30 23:53:33 +02:00
LICENSES
m4 autotools: restore HAVE_IOCTL_* detections 2023-10-02 21:19:23 +00:00
packages tidy-up: whitespace fixes 2023-09-28 12:03:28 +00:00
plan9
projects tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
scripts tool: use our own stderr variable 2023-09-28 10:50:56 +00:00
src tidy-up: use more example domains 2023-09-29 18:25:56 +00:00
tests h2: testcase and fix for pausing h2 streams 2023-09-30 23:53:33 +02:00
winbuild tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
.azure-pipelines.yml CI/azure: make MAKEFLAGS global to parallelize all jobs 2023-09-26 22:08:39 +00:00
.cirrus.yml CI: remove Windows builds from Cirrus, without replacement 2023-08-31 15:18:28 -07:00
.dcignore
.dir-locals.el
.git-blame-ignore-revs
.gitattributes
.gitignore tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
.mailmap mailmap: unify Michael Osipov under a single email 2023-09-21 14:18:49 +02:00
acinclude.m4 autotools: adjust CURL_CA_PATH value to CMake 2023-09-30 15:17:21 +00:00
appveyor.yml appveyor: rewrite batch in PowerShell + CI improvements 2023-10-02 22:47:23 +00:00
buildconf
buildconf.bat
CHANGES
CMakeLists.txt cmake: disable unity mode with Windows Unicode + TrackMemory 2023-10-02 23:28:18 +00:00
configure.ac autotools: restore HAVE_IOCTL_* detections 2023-10-02 21:19:23 +00:00
COPYING
curl-config.in
GIT-INFO GIT-INFO: add --with-openssl 2023-05-14 23:22:23 +02:00
libcurl.def curl_multi_get_handles: get easy handles from a multi handle 2023-09-25 20:16:58 +02:00
libcurl.pc.in
MacOSX-Framework
Makefile.am cmake: add support for single libcurl compilation pass 2023-08-01 08:12:26 +00:00
Makefile.dist
maketgz
README
README.md tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
RELEASE-NOTES RELEASE-NOTES: synced 2023-10-02 09:41:33 +02:00
SECURITY.md SECURITY-PROCESS.md. call it vulnerability disclosure policy 2023-09-14 17:04:33 +02:00

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.