Curl is a tool and libcurl is a library for transferring data with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TFTP, SCP, SFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP, SMTP, POP3, RTSP and RTMP. libcurl offers a myriad of powerful features
Перейти к файлу
Glenn Strauss 7f43f3dc59
transfer: upload performance; avoid tiny send
Append to the upload buffer when only small amount remains in buffer
rather than performing a separate tiny send to empty buffer.

Avoid degenerative upload behavior which might cause curl to send mostly
1-byte DATA frames after exhausing the h2 send window size

Related discussion: https://github.com/nghttp2/nghttp2/issues/1722

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
Closes #8965
2022-06-20 09:42:40 +02:00
.circleci copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
.github bug_report.md: revert the REUSE template to see if it works again 2022-06-13 23:41:07 +02:00
.lift copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
.reuse reuse/dep5: adjusted to parse better 2022-06-14 14:07:02 +02:00
CMake copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
LICENSES copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
docs RELEASE-NOTES: synced 2022-06-18 12:21:48 +02:00
include version: rename threadsafe-init to threadsafe 2022-06-13 18:59:45 +00:00
lib transfer: upload performance; avoid tiny send 2022-06-20 09:42:40 +02:00
m4 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
packages version: rename threadsafe-init to threadsafe 2022-06-13 18:59:45 +00:00
plan9 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
projects projects: fix third-party SSL library build paths for Visual Studio 2022-06-20 08:22:24 +02:00
scripts copyright.pl: parse and use .reuse/dep5 for skips 2022-06-14 14:07:12 +02:00
src version: rename threadsafe-init to threadsafe 2022-06-13 18:59:45 +00:00
tests urlapi: make curl_url_set(url, CURLUPART_URL, NULL, 0) clear all parts 2022-06-20 08:15:51 +02:00
winbuild copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
zuul.d copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
.azure-pipelines.yml CI/azure: reduce flakiness by retrying install/prepare steps 2022-06-16 20:37:06 +02:00
.cirrus.yml CI: bump FreeBSD 13.0 to 13.1 2022-06-18 12:47:17 +02:00
.dcignore copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
.dir-locals.el copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
.git-blame-ignore-revs git: ignore large commit making the curl REUSE compliant 2022-06-13 09:14:07 +02:00
.gitattributes copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
.gitignore copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
.lgtm.yml copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
.mailmap mailmap: Max Mehl 2022-06-13 09:14:07 +02:00
CHANGES curl.se: new home 2020-11-04 23:59:47 +01:00
CMakeLists.txt copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
COPYING COPYING: bump copyright year range 2022-01-05 23:14:15 +01:00
GIT-INFO GIT-INFO: rephrase to adapt to s/buildconf/autoreconf 2021-09-24 13:14:52 +02:00
MacOSX-Framework copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
Makefile.am copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
Makefile.dist copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
README docs: reduce/avoid English contractions 2021-11-07 23:16:27 +01:00
README.md README.md: use the common "Copyright" style formatting 2022-06-14 14:06:43 +02:00
RELEASE-NOTES RELEASE-NOTES: synced 2022-06-18 12:21:48 +02:00
SECURITY.md copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
acinclude.m4 copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
appveyor.yml copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
buildconf copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
buildconf.bat buildconf.bat: update copyright year range 2022-06-14 14:06:55 +02:00
configure.ac configure: warn about rustls being experimental 2022-06-15 23:33:00 +02:00
curl-config.in copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
libcurl.pc.in copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
maketgz copyright: make repository REUSE compliant 2022-06-13 09:13:00 +02:00
mlc_config.json mlc: curl.zuul.vexxhost.dev is reachable again 2022-04-24 23:29:38 +02:00

README.md

curl logo

CII Best Practices Coverity passed AppVeyor Build Status Azure DevOps Build Status Cirrus Build Status Backers on Open Collective Sponsors on Open Collective Language Grade: C/C++ Fuzzing Status REUSE status

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]

Open Collective Backers

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

Open Collective Sponsor 0 Open Collective Sponsor 1 Open Collective Sponsor 2 Open Collective Sponsor 3 Open Collective Sponsor 4 Open Collective Sponsor 5 Open Collective Sponsor 6 Open Collective Sponsor 7 Open Collective Sponsor 8 Open Collective Sponsor 9