summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* limit-rate.d: this is average over several secondsbagder/docs-limit-rateDaniel Stenberg2021-11-061-0/+3
|
* ngtcp2: support latest QUIC TLS RFC9001Amaury Denoyelle2021-11-051-1/+1
| | | | | | | | | | | | | | QUIC Transport Parameters Extension has been changed between draft-29 and latest RFC9001. Most notably, its identifier has been updated from 0xffa5 to 0x0039. The version is selected through the QUIC TLS library via the legacy codepoint. Disable the usage of legacy codepoint in curl to switch to latest RFC9001. This is required to be able to keep up with latest QUIC implementations. Acked-by: Tatsuhiro Tsujikawa Closes #7960
* test1173: make manpage-syntax.pl spot \n errors in examplesDaniel Stenberg2021-11-051-0/+3
|
* man pages: fix backslash-n in examplesDaniel Stenberg2021-11-0520-22/+22
| | | | | | | | | | | ... to be proper backslash-backslash-n sequences to render nicely in man and on website. Follow-up to 24155569d8a Reported-by: Sergey Markelov Fixes https://github.com/curl/curl-www/issues/163 Closes #7962
* scripts/release-notes.pl: use out of repo links verbatim in refsDaniel Stenberg2021-11-051-5/+26
|
* tool_operate: a failed etag save now only fails that transferDaniel Stenberg2021-11-044-70/+162
| | | | | | | | | | | | | | | When failing to create the output file for saving an etag, only fail that particular single transfer and allow others to follow. In a serial transfer setup, if no transfer at all is done due to them all being skipped because of this error, curl will output an error message and return exit code 26. Added test 369 and 370 to verify. Reported-by: Earnestly on github Ref: #7942 Closes #7945
* .github: retry macos "brew install" command on failureKevin Burke2021-11-041-1/+4
| | | | | | | | Previously we saw errors attempting to run "brew install", see https://github.com/curl/curl/runs/4095721123?check_suite_focus=true for an example, since this command is idempotent, it is safe to run again. Closes #7955
* CURLOPT_ALTSVC_CTRL.3: mention conn reuse is preferredDaniel Stenberg2021-11-041-2/+6
| | | | | | Ref: https://github.com/curl/curl/discussions/7954 Closes #7957
* RELEASE-NOTES: syncedDaniel Stenberg2021-11-031-13/+39
|
* zuul: pin the quiche build to use an older cmake-rsDaniel Stenberg2021-11-031-0/+5
| | | | | | | | | The latest cmake-rs assumes cmake's --parallel works. That was added in cmake 3.12, but a lot of our CI builds run on Ubuntu Bionic which only has cmake 3.10. Fixes #7927 Closes #7952
* Revert "src/tool_filetime: disable -Wformat on mingw for this file"Marc Hoersken2021-11-031-5/+0
| | | | | | | | This reverts commit 7c88fe375b15c44d77bccc9ab733b8069d228e6f. Follow up to #6535 as the pragma is obsolete with warnf Closes #7941
* schannel: fix memory leak due to failed SSL connectionJay Satiro2021-11-021-19/+24
| | | | | | | | | | | | | - Call schannel_shutdown if the SSL connection fails. Prior to this change schannel_shutdown (which shuts down the SSL connection as well as memory cleanup) was not called when the SSL connection failed (eg due to failed handshake). Co-authored-by: Gisle Vanem Fixes https://github.com/curl/curl/issues/7877 Closes https://github.com/curl/curl/pull/7878
* Curl_updateconninfo: store addresses for QUIC connections tooDaniel Stenberg2021-11-021-8/+6
| | | | | | | | | So that CURLINFO_PRIMARY_IP etc work for HTTP/3 like for other HTTP versions. Reported-by: Jerome Mao Fixes #7939 Closes #7944
* curl.1: fix typos in the manpageSergio Durigan Junior2021-11-012-3/+3
| | | | | | | | s/transfering/transferring/ s/transfered/transferred/ Signed-off-by: Sergio Durigan Junior <sergiodj@sergiodj.net> Closes #7937
* tests/smbserver.py: fix compatibility with impacket 0.9.23+Marc Hoersken2021-11-011-3/+4
| | | | | | | | | | impacket now performs sanity checks if the requested and to be served file path actually is inside the real share path. Ref: https://github.com/SecureAuthCorp/impacket/pull/1066 Fixes #7924 Closes #7935
* docs: reduce use of "very"Daniel Stenberg2021-11-0151-236/+232
| | | | | | | "Very" should be avoided in most texts. If intensifiers are needed, try find better words instead. Closes #7936
* ngtcp2: specify the missing required callback functionsTatsuhiro Tsujikawa2021-11-011-2/+16
| | | | Closes #7929
* CURLOPT_[PROXY]_SSL_CIPHER_LIST.3: bold instead of quoteDaniel Stenberg2021-11-012-22/+21
| | | | | | | | | | | Bold the example ciphers instead of using single quotes, which then also avoids the problem of how to use single quotes when first in a line. Also rephrased the pages a little. Reported-by: Sergio Durigan Junior Ref: #7928 Closes #7934
* gen.pl: replace leading single quotes with \(aqDaniel Stenberg2021-11-015-4/+6
| | | | | | | | | | ... and allow single quotes to be used "normally" in the .d files. Makes the output curl.1 use better nroff. Reported-by: Sergio Durigan Junior Ref: #7928 Closes #7933
* tests: kill some test servers afterwards to avoid locked logfilesMarc Hoersken2021-11-013-0/+9
| | | | | Reviewed-by: Daniel Stenberg Closes #7925
* smooth-gtk-thread.c: enhance the mutex lock useDaniel Stenberg2021-11-011-39/+31
| | | | | | Reported-by: ryancaicse on github Fixes #7926 Closes #7931
* CI/runtests.pl: restore -u flag, but remove it from CI runsMarc Hoersken2021-10-314-4/+4
| | | | | | | | | | This makes it possible to use -u again for local testing, but removes the flag from CI config files and make targets. Reviewed-by: Daniel Stenberg Partially reverts #7841 Closes #7921
* CURLOPT_HSTSWRITEFUNCTION.3: using CURLOPT_HSTS_CTRL is requiredJonathan Cardoso Machado2021-10-291-0/+3
| | | | Closes #7923
* imap: display quota informationAxel Morawietz2021-10-281-0/+1
| | | | | | Show response to "GETQUOTAROOT INBOX" command. Closes #6973
* RELEASE-NOTES: syncedDaniel Stenberg2021-10-281-14/+55
|
* cmake: fix error getting LOCATION property on non-imported targetBoris Rasin2021-10-281-6/+4
| | | | Closes #7885
* url: check the return value of curl_url()x20182021-10-281-0/+5
| | | | Closes #7917
* configure.ac: replace krb5-config with pkg-configRoy Li2021-10-281-8/+6
| | | | | | | | | | | | The rationale is that custom *-config tools don't work well when cross-compiling or using sysroots (such as when using Yocto project) and require custom fixing for each of them; pkg-config on the other hand works similarly everywhere. Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Alexander Kanavin <alex@linutronix.de> Closes #7916
* test1160: edited to work with hyperDaniel Stenberg2021-10-272-2/+1
| | | | Closes #7912
* data/DISABLED: enable tests that now work with hyperDaniel Stenberg2021-10-271-5/+0
| | | | Closes #7911
* test559: add 'HTTP' in keywordsDaniel Stenberg2021-10-271-0/+1
| | | | | | Makes it run fine with hyper Closes #7911
* test552: updated to work with hyperDaniel Stenberg2021-10-272-5/+5
| | | | Closes #7911
* github: fix incomplete permission to label PRs for HacktoberfestMarc Hoersken2021-10-271-1/+3
| | | | | | | Unfortunately the GitHub API requires a token with write permission for both issues and pull-requests to edit labels on even just PRs. Follow up to #7897
* opt-manpages: use 'Added in' instead of 'Since'Daniel Stenberg2021-10-274-4/+4
| | | | Closes #7913
* github: fix missing permission to label PRs for HacktoberfestMarc Hoersken2021-10-271-0/+3
| | | | | | | | | Follow up to #7897 Test references to see if permissions are now sufficient: Closes #7832 Closes #7897
* CI: more use of test-ci make target and verbose outputMarc Hoersken2021-10-276-9/+9
| | | | | | | | | | | Replace test-nonflaky with test-ci and enable verbose output in all remaining CIs except Zuul which is customized a lot. Reviewed-by: Daniel Stenberg Reviewed-by: Jay Satiro Follow up to #7785 Closes #7832
* github: add support for Hacktoberfest using labelsMarc Hoersken2021-10-271-0/+53
| | | | | | | | | | | | | | | | | | Automatically add hacktoberfest-accepted label to PRs opened between September 30th and November 1st once a commit with a close reference to it is pushed onto the master branch. With this workflow we can participate in Hacktoberfest while not relying on GitHub to identify PRs as merged due to our rebasing. Requires hacktoberfest-accepted labels to exist for PRs on the participating repository. Also requires hacktoberfest topic on the participating repository to avoid applying to forked repos. Reviewed-by: Daniel Stenberg Fixes #7865 Closes #7897
* http: reject HTTP response codes < 100Daniel Stenberg2021-10-274-6/+16
| | | | | | | | | | ... which then also includes negative ones as test 1430 uses. This makes native + hyper backend act identically on this and therefore test 1430 can now be enabled when building with hyper. Adjust test 1431 as well. Closes #7909
* docs: fix typo in CURLOPT_TRAILERFUNCTION exampleKerem Kat2021-10-261-1/+1
| | | | Closes #7910
* docs/HYPER: remove some remaining issues, add HTTP/0.9 limitationDaniel Stenberg2021-10-261-6/+2
|
* configure: when hyper is selected, deselect nghttp2Daniel Stenberg2021-10-261-19/+13
| | | | Closes #7908
* sendf: accept zero-length data in Curl_client_write()Patrick Monnerat2021-10-251-3/+5
| | | | | | | | | | | | | | | | | | Historically, Curl_client_write() used a length value of 0 as a marker for a null-terminated data string. This feature has been removed in commit f4b85d2. To detect leftover uses of the feature, a DEBUGASSERT statement rejecting a length with value 0 was introduced, effectively precluding use of this function with zero-length data. The current commit removes the DEBUGASSERT and makes the function to return immediately if length is 0. A direct effect is to fix trying to output a zero-length distinguished name in openldap. Another DEBUGASSERT statement is also rephrased for better readability. Closes #7898
* hyper: disable test 1294 since hyper doesn't allow such crazy headersDaniel Stenberg2021-10-253-1/+3
| | | | Closes #7905
* c-hyper: make CURLOPT_SUPPRESS_CONNECT_HEADERS workDaniel Stenberg2021-10-253-17/+23
| | | | | | Verified by the enabled test 1288 Closes #7905
* test1287: make work on hyperDaniel Stenberg2021-10-252-1/+2
| | | | Closes #7905
* test1266/1267: disabled on hyper: no HTTP/0.9 supportDaniel Stenberg2021-10-253-2/+8
| | | | Closes #7905
* Makefile.m32: fix to not require OpenSSL with -libssh2 or -rtmp optionsViktor Szakats2021-10-253-9/+24
| | | | | | | | | | | | | | | Previously, -libssh2/-rtmp options assumed that OpenSSL is also enabled (and then failed with an error when not finding expected OpenSSL headers), but this isn't necessarly true, e.g. when building both libssh2 and curl against Schannel. This patch makes sure to only enable the OpenSSL backend with -libssh2/-rtmp, when there was no SSL option explicitly selected. - Re-implement the logic as a single block of script. - Also fix an indentation while there. Assisted-by: Jay Satiro Closes #7895
* docs: consistent use of "Added in"Daniel Stenberg2021-10-2528-41/+41
| | | | | Make them all say "Added in [version]" without using 'curl' or 'libcurl' in that phrase.
* man pages: require all to use the same section header orderDaniel Stenberg2021-10-2574-271/+709
| | | | | | | | | This is the same order we already enforce among the options' man pages: consistency is good. Add lots of previously missing examples. Adjust the manpage-syntax script for this purpose, used in test 1173. Closes #7904
* docs/HTTP3: improve build instructionsDavid Hu2021-10-251-7/+14
| | | | | | | | | | | | | | 1. If writing to a system path if the command is not prefixed with `sudo` it will cause a permission denied error 2. The patched OpenSSL branch has been updated to `openssl-3.0.0+quic` to match upstream OpenSSL version. 3. We should not disable GnuTLS docs. Updated some commands about `make install` Closes #7842