summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* curl_multi_perform/socket_action.3: clarify what errors meanbagder/multi-errorDaniel Stenberg2021-12-082-2/+12
| | | | | An error returned from one of these funtions mean that ALL still ongoing transfers are to be considered failed.
* FAQ: we never pronounced it "see URL", we say "kurl"Daniel Stenberg2021-12-081-1/+1
|
* RELEASE-NOTES: syncedDaniel Stenberg2021-12-071-7/+27
|
* CURLOPT_RESOLVE.3: minor polishDaniel Stenberg2021-12-071-26/+34
| | | | | | | | | | Minor rephrasing for some explanations. Put the format strings in stand-alone lines with .nf/.fi to be easier to spot. Move "added in" to AVAILABILITY Closed #8110
* test1556: adjust for hyperDaniel Stenberg2021-12-073-16/+15
| | | | Closes #8105
* test1554: adjust for hyperDaniel Stenberg2021-12-072-1/+6
| | | | Closes #8104
* retry-all-errors.d: make the example completeDaniel Stenberg2021-12-071-1/+1
| | | | ... as it needs --retry too to work
* TODO: 5.7 Require HTTP version X or higherDaniel Stenberg2021-12-061-0/+9
| | | | Closes #7980
* CURLOPT_STDERR.3: does not work with libcurl as a win32 DLLDaniel Stenberg2021-12-061-0/+5
| | | | | | | | | | This is the exact same limitation already documented for CURLOPT_WRITEDATA but should be clarified here. It also has a different work-around. Reported-by: Stephane Pellegrino Bug: https://github.com/curl/curl/issues/8102 Closes #8103
* multi: handle errors returned from socket/timer callbacksDaniel Stenberg2021-12-0614-67/+574
| | | | | | | | | | | | The callbacks were partially documented to support this. Now the behavior is documented and returning error from either of these callbacks will effectively kill all currently ongoing transfers. Added test 530 to verify Reported-by: Marcelo Juchem Fixes #8083 Closes #8089
* http2:set_transfer_url() return early on OOMDaniel Stenberg2021-12-061-1/+4
| | | | | | | | | If curl_url() returns NULL this should return early to avoid mistakes - even if right now the subsequent function invokes are all OK. Coverity (wrongly) pointed out this as a NULL deref. Closes #8100
* tool_parsecfg: use correct free() call to free memoryDaniel Stenberg2021-12-061-2/+2
| | | | | | | Detected by Coverity. CID 1494642. Follow-up from 2be1aa619bca Closes #8099
* tool_operate: fix potential memory-leakDaniel Stenberg2021-12-061-9/+11
| | | | | | | | A 'CURLU *' would leak if url_proto() is called with no URL. Detected by Coverity. CID 1494643. Follow-up to 18270893abdb19 Closes #8098
* openldap: implement STARTTLSPatrick Monnerat2021-12-065-10/+83
| | | | | | | As this introduces use of CURLOPT_USE_SSL option for LDAP, also check this option in ldap.c as it is not supported by this backend. Closes #8065
* curl_easy_unescape.3: call curl_easy_cleanup in exampleJun Tseng2021-12-061-0/+1
| | | | Closes #8097
* curl_easy_escape.3: call curl_easy_cleanup in exampleJun Tseng2021-12-061-0/+1
| | | | Closes #8097
* tool_listhelp: syncDaniel Stenberg2021-12-051-4/+4
| | | | Follow-up to 172068b76f
* request.d: refer to 'method' rather than 'command'Damien Walsh2021-12-051-2/+2
| | | | Closes #8094
* RELEASE-NOTES: syncedDaniel Stenberg2021-12-031-7/+33
|
* writeout: fix %{http_version} for HTTP/3Daniel Stenberg2021-12-031-11/+22
| | | | | | | | Output "3" properly when HTTP/3 was used. Reported-by: Bernat Mut Fixes #8072 Closes #8092
* urlapi: accept port number zeroDaniel Stenberg2021-12-032-4/+6
| | | | | | | | | | This is a regression since 7.62.0 (fb30ac5a2d). Updated test 1560 accordingly Reported-by: Brad Fitzpatrick Fixes #8090 Closes #8091
* lift: ignore is a deprecated config option, use ignoreRulesMark Dodgson2021-12-031-1/+1
| | | | Closes #8082
* HTTP3: update quiche build instructionsAlessandro Ghedini2021-12-033-8/+8
| | | | | | | The repo repo was re-organized a bit, so the build instructions need to be updated. Closes #8076
* CURLMOPT_TIMERFUNCTION.3: call it expire time, not intervalDaniel Stenberg2021-12-021-3/+3
| | | | Since we say it is a non-repating timer
* mbedTLS: include NULL byte in blob data length for CURLOPT_CAINFO_BLOBFlorian Van Heghe2021-12-021-2/+7
| | | | | Fixes #8079 Closes #8081
* version_win32: Check build number and platform idWyatt O'Day2021-12-028-27/+77
| | | | | | | | | | | | | Prior to this change the build number was not checked during version comparison, and the platform id was supposed to be checked but wasn't. Checking the build number is required for enabling "evergreen" Windows 10/11 features (like TLS 1.3). Ref: https://github.com/curl/curl/pull/7784 Closes https://github.com/curl/curl/pull/7824 Closes https://github.com/curl/curl/pull/7867
* libssh2: fix error message for sha256 mismatchJay Satiro2021-12-021-1/+1
| | | | | | - On mismatch error show sha256 fingerprint in base64 format. Prior to this change the fingerprint was mistakenly printed in binary.
* openssl: check the return value of BIO_new()x20182021-12-011-0/+12
| | | | Closes #8078
* docs: Update the Reducing Size sectionDan Fandrich2021-11-301-21/+43
| | | | | | Add many more options that can reduce the size of the binary that were added since the last update. Update the sample minimal binary size for version 7.80.0.
* tests: Add some missing keywords to testsDan Fandrich2021-11-307-0/+7
| | | | | These are needed to skip some tests when configure options have disabled certain features.
* mbedTLS: add support for CURLOPT_CAINFO_BLOBFlorian Van Heghe2021-11-302-2/+21
| | | | Closes #8071
* digest: compute user:realm:pass digest w/o userhashGlenn Strauss2021-11-305-18/+17
| | | | | | | | | https://datatracker.ietf.org/doc/html/rfc7616#section-3.4.4 ... the client MUST calculate a hash of the username after any other hash calculation ... Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com> Closes #8066
* config.d: update documentation to match the path searchbagder/homedir-scanDaniel Stenberg2021-11-291-23/+22
| | | | Assisted-by: Jay Satiro
* tool_findfile: search for a file in the homedirDaniel Stenberg2021-11-297-197/+180
| | | | | | | | | | | | | | | | | | | | | | | | The homedir() function is now renamed into findfile() and iterates over all the environment variables trying to access the file in question until it finds it. Last resort is then getpwuid() if available. Previously it would first try to find a home directory and if that was set, insist on checking only that directory for the file. This now returns the full file name it finds. The Windows specific checks are now done differently too and in this order: 1 - %USERPROFILE% 2 - %APPDATA% 3 - %USERPROFILE%\\Application Data The windows order is modified to match how the Windows 10 ssh tool works when it searches for .ssh/known_hosts. Reported-by: jeffrson on github Co-authored-by: Jay Satiro Fixes #8033 Closes #8035
* docs: consistent manpage SYNOPSISDaniel Stenberg2021-11-26365-447/+1202
| | | | | | | | | | Make all libcurl related options use .nf (no fill) for the SYNOPSIS section - for consistent look. roffit then renders that section using <pre> (monospace font) in html for the website. Extended manpage-syntax (test 1173) with a basic check for it. Closes #8062
* RELEASE-NOTES: syncedDaniel Stenberg2021-11-261-5/+26
|
* openldap: handle connect phase with a state machinePatrick Monnerat2021-11-261-111/+213
| | | | Closes #8054
* docs: address proselint nitsDaniel Stenberg2021-11-2670-223/+221
| | | | | | | | | - avoid exclamation marks - use consistent number of spaces after periods: one - avoid clichés - avoid using 'very' Closes #8060
* FAQ: typo fix : "yout" ➤ "your"Bruno Baguette2021-11-261-1/+1
| | | | Closes #8059
* docs/INSTALL.md: typo fix : added missing "get" verbBruno Baguette2021-11-261-1/+1
| | | | Closes #8058
* insecure.d: detail its use for SFTP and SCP as wellDaniel Stenberg2021-11-251-11/+14
| | | | Closes #8056
* Makefile.m32: rename -winssl option to -schannel and tidy upViktor Szakats2021-11-253-73/+73
| | | | | | | | | | | | - accept `-schannel` as an alternative to `CFG` option `-winssl` (latter still accepted, but deprecated) - rename internal variable `WINSSL` to `SCHANNEL` - make the `CFG` option evaluation shorter, without repeating the option name Reviewed-by: Marcel Raad Reviewed-by: Daniel Stenberg Closes #8053
* KNOWN_BUGS: 5.6 make distclean loops foreverDaniel Stenberg2021-11-251-0/+8
| | | | | Reported-by: David Bohman Closes #7716
* KNOWN_BUGS: add one, remove oneDaniel Stenberg2021-11-251-5/+3
| | | | | | | | | | - 5.10 SMB tests fail with Python 2 Just use python 3. + 5.10 curl hangs on SMB upload over stdin Closes #7896
* urlapi: provide more detailed return codesbagder/urlapi-returncodesDaniel Stenberg2021-11-258-111/+289
| | | | | | | | | | | | | | | | | | | | Previously, the return code CURLUE_MALFORMED_INPUT was used for almost 30 different URL format violations. This made it hard for users to understand why a particular URL was not acceptable. Since the API cannot point out a specific position within the URL for the problem, this now instead introduces a number of additional and more fine-grained error codes to allow the API to return more exactly in what "part" or section of the URL a problem was detected. Also bug-fixes curl_url_get() with CURLUPART_ZONEID, which previously returned CURLUE_OK even if no zoneid existed. Test cases in 1560 have been adjusted and extended. Tests 1538 and 1559 have been updated. Updated libcurl-errors.3 and curl_url_strerror() accordingly. Closes #8049
* urlapi: make Curl_is_absolute_url always use MAX_SCHEME_LENDaniel Stenberg2021-11-255-14/+17
| | | | | | | | | | | | Instad of having all callers pass in the maximum length, always use it. The passed in length is instead used only as the length of the target buffer for to storing the scheme name in, if used. Added the scheme max length restriction to the curl_url_set.3 man page. Follow-up to 45bcb2eaa78c79 Closes #8047
* cmake: warn on use of the now deprecated symbolsJay Satiro2021-11-251-3/+18
| | | | | | Follow-up to 9108da2c26d Closes #8052
* tests/CI.md: add more information on CI environmentsKevin Burke2021-11-234-35/+137
| | | | | Fixes #8012 Closes #8022
* cmake: private identifiers use CURL_ instead of CMAKE_ prefixDaniel Stenberg2021-11-233-47/+43
| | | | | | | | | Since the 'CMAKE_' prefix is reserved for cmake's own private use. Ref: https://cmake.org/cmake/help/latest/manual/cmake-variables.7.html Reported-by: Boris Rasin Fixes #7988 Closes #8044
* urlapi: reject short file URLsDaniel Stenberg2021-11-232-0/+10
| | | | | | | | file URLs that are 6 bytes or shorter are not complete. Return CURLUE_MALFORMED_INPUT for those. Extended test 1560 to verify. Triggered by #8041 Closes #8042