Go to file
Viktor Szakats 960521d210
smb: do not redefine getpid on Windows
Replace with namespaced local macro `Curl_getpid()`.

Redefining symbols can backfire if that symbol is used in system
headers, especially with unity build. We haven't seen a fallout in CI
or supported envs, but do it anyway for good measure.

Bug report: https://datagirl.xyz/posts/wolfssl_curl_w2k.html
Closes #15263
2024-10-13 18:01:51 +02:00
.circleci GHA/linux: fix wolfSSL version in cache key 2024-10-03 01:17:40 +02:00
.github GHA: optimize test prereq steps 2024-10-13 11:34:59 +02:00
CMake cmake: tidy-ups and rebase fixups 2024-10-12 22:33:29 +02:00
docs tool_xattr: create the user.creator xattr attribute 2024-10-11 10:13:37 -07:00
include TLS: TLSv1.3 earlydata support for curl 2024-10-11 12:28:22 +02:00
lib smb: do not redefine getpid on Windows 2024-10-13 18:01:51 +02:00
LICENSES copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
m4 configure: drop unused bare socket.h detection 2024-10-07 12:31:37 +02:00
packages packages/OS400/curlmain: remove the strncpy calls 2024-10-10 07:47:41 +02:00
plan9 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
projects misc: general C style cleanups 2024-08-22 23:43:45 +02:00
scripts WebSockets: make support official (non-experimental) 2024-09-27 13:20:25 +02:00
src tool_xattr: create the user.creator xattr attribute 2024-10-11 10:13:37 -07:00
tests pytest: include buildinfo.txt in the output 2024-10-13 11:34:26 +02:00
winbuild CI/winbuild: remove enabling of websocket - done by default now 2024-09-30 07:58:54 +02:00
.dir-locals.el copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
.git-blame-ignore-revs copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
.gitattributes winbuild: MS-DOS batch tidy-ups 2024-07-02 19:26:15 +02:00
.gitignore build: buildinfo.txt improvements 2024-09-19 15:56:30 +02:00
.mailmap mailmap: Aki Sakurai 2024-08-30 10:28:34 +02:00
acinclude.m4 build: detect and use _setmode() with Cygwin/MSYS, also use on Windows 2024-10-07 12:31:21 +02:00
appveyor.sh ci: dump curl_config.h to log in all jobs 2024-10-11 15:01:29 +02:00
appveyor.yml appveyor: bump to OpenSSL 3.3 2024-09-30 10:54:46 +02:00
buildconf copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
buildconf.bat buildconf.bat: remove outdated groff/nroff use 2024-03-07 22:38:16 +01:00
CHANGES.md CHANGES: rename to CHANGES.md, no longer generated 2024-08-01 13:37:12 +02:00
CMakeLists.txt cmake: tidy-ups and rebase fixups 2024-10-12 22:33:29 +02:00
configure.ac cmake: untangle feature detection interdependencies 2024-10-11 17:44:45 +02:00
COPYING COPYING: update copyright year 2024-01-08 18:40:06 +01:00
curl-config.in GHA/configure-vs-cmake: check libcurl.pc/curl-config, fix issues 2024-09-21 12:08:35 +02:00
Dockerfile maketgz: move from / into scripts 2024-09-05 17:07:41 +02:00
GIT-INFO.md GIT-INFO.md: remove version requirements 2024-07-08 23:06:05 +02:00
libcurl.pc.in GHA/configure-vs-cmake: check libcurl.pc/curl-config, fix issues 2024-09-21 12:08:35 +02:00
Makefile.am build: add pytest targets 2024-09-25 09:25:44 +02:00
Makefile.dist Makefile.dist: fix ca-firefox target 2024-09-06 21:46:05 +02:00
README docs: minor grammar fixes 2022-09-29 10:44:12 +02:00
README.md README: refresh 2024-08-25 23:31:53 +02:00
RELEASE-NOTES RELEASE-NOTES: synced 2024-10-11 14:52:41 +02:00
renovate.json GHA/linux: fix wolfSSL version in cache key 2024-10-03 01:17:40 +02:00
REUSE.toml tests/server/util.c: remove use of strncpy 2024-10-10 07:47:01 +02:00
SECURITY.md docs: Clarify OpenSSF Best Practices vs Scorecard 2024-08-22 11:50:20 +02:00

curl logo

Curl is a command-line tool for transferring data specified with URL syntax. Learn how to use curl by reading the manpage or everything curl.

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 manpage to learn how.

Open Source

curl is Open Source and is distributed under an MIT-like license.

Contact

Contact us on a suitable mailing list or use GitHub issues/ pull requests/ discussions.

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.

Source code

Download the latest source from the Git server:

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

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.