summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* curl: make sure setopt CURLOPT_IPRESOLVE passes on a longbagder/tool-ipresolveDaniel Stenberg2020-10-042-8/+3
| | | | | | | | | Previously, it would pass on a define (int) which could make libcurl read junk as a vaulue - which prevented the CURLOPT_IPRESOLVE option to "take". This could then make test 2100 do two DoH requests instead of one! Fixes #6042
* runtests: add %repeat[]% for test filesDaniel Stenberg2020-10-0410-18/+40
| | | | | | | ... and use this new keywords in all the test files larger than 50K to reduce their sizes and make them a lot easier to read and understand. Closes #6040
* --help: move two options from the misc categoryEmil Engler2020-10-033-4/+4
| | | | | | | | The cmdline opts delegation and suppress-connect-headers fit better into auth and proxy rather than misc. Follow-up to aa8777f63febc Closes #6038
* docs/opts: fix typos in two manual pagesSamanta Navarro2020-10-032-2/+2
| | | | Closes #6039
* ldap: reduce the amount of #ifdefs neededDaniel Stenberg2020-10-031-45/+21
| | | | Closes #6035
* runtests: provide curl's version string as %VERSION for testsDaniel Stenberg2020-10-02621-2003/+852
| | | | | | | | ... so that we can check HTTP requests for User-Agent: curl/%VERSION Update 600+ test cases accordingly. Closes #6037
* checksrc: warn on space after exclamation markDaniel Stenberg2020-10-027-11/+18
| | | | Closes #6034
* test1465: verify --libcurl with binary POST dataDaniel Stenberg2020-10-022-1/+1
|
* runtests: allow generating a binary sequence from hexDaniel Stenberg2020-10-022-0/+20
|
* tool_setopt: escape binary data to hex, not octalDaniel Stenberg2020-10-021-1/+1
|
* curl: make --libcurl show binary posts correctlyDaniel Stenberg2020-10-023-24/+41
| | | | | | Reported-by: Stephan Mühlstrasser Fixes #6031 Closes #6032
* strerror: fix null deref on winapi out-of-memoryJay Satiro2020-10-011-3/+5
| | | | | | Follow-up to bed5f84 from several days ago. Ref: https://github.com/curl/curl/pull/6005
* vtls: deduplicate some DISABLE_PROXY ifdefsKamil Dudka2020-10-014-104/+36
| | | | | | ... in the code of gtls, nss, and openssl Closes #5735
* RELEASE-NOTES: syncedDaniel Stenberg2020-10-011-13/+31
|
* TODO: Add OpenBSD libtool noticeEmil Engler2020-09-301-0/+10
| | | | | See #5862 Closes #6030
* tests/unit/README: convert to markdownDaniel Stenberg2020-09-302-27/+19
| | | | | | ... and add to dist! Closes #6028
* tests/README: convert to markdownDaniel Stenberg2020-09-302-132/+84
| | | | Closes #6028
* include/README: convert to markdownDaniel Stenberg2020-09-303-19/+15
| | | | Closes #6028
* examples/README: convert to markdownDaniel Stenberg2020-09-302-14/+10
| | | | Closes #6028
* configure: don't say HTTPS-proxy is enabled when disabled!Daniel Stenberg2020-09-302-3/+9
| | | | | | | Reported-by: Kamil Dudka Reviewed-by: Kamil Dudka Bug: https://github.com/curl/curl/pull/5735#issuecomment-701376388 Closes #6029
* src: Consistently spell whitespace without whitespaceDaniel Gustafsson2020-09-309-13/+13
| | | | | | | | | Whitespace is spelled without a space between white and space, so make sure to consistently spell it that way across the codebase. Closes #6023 Reviewed-by: Daniel Stenberg <daniel@haxx.se> Reviewed-by: Emil Engler <me@emilengler.com>
* MANUAL: update examples to resolve without redirectsDaniel Gustafsson2020-09-301-8/+8
| | | | | | | | | | | www.netscape.com is redirecting to a cookie consent form on Aol, and cool.haxx.se isn't responding to FTP anymore. Replace with examples that resolves in case users try out the commands when reading the manual. Closes #6024 Reviewed-by: Daniel Stenberg <daniel@haxx.se> Reviewed-by: Emil Engler <me@emilengler.com>
* HISTORY: add some 2020 eventsDaniel Stenberg2020-09-301-0/+18
|
* sectransp: make it build with --disable-proxyDaniel Stenberg2020-09-301-2/+14
| | | | | | | Follow-up from #5466 and f3d501dc678d80 Reported-by: Javier Navarro Fixes #6025 Closes #6026
* ECH: renamed from ESNI in docs and configureDaniel Stenberg2020-09-294-79/+75
| | | | | | Encrypted Client Hello (ECH) is the current name. Closes #6022
* configure: use "no" instead of "disabled" for the end summaryDaniel Stenberg2020-09-291-4/+4
| | | | | ... for consistency but also to make them more distinctly stand out next to the "enabled" lines.
* TODO: SSH over HTTPS proxy with more backendsDaniel Stenberg2020-09-291-0/+8
| | | | ... as right now only the libssh2 backend supports it.
* libssh2: handle the SSH protocols done over HTTPS proxyDaniel Stenberg2020-09-291-8/+83
| | | | | | Reported-by: Robin Douine Fixes #4295 Closes #6021
* memdebug: remove 9 year old unused debug functionEmil Engler2020-09-281-51/+0
| | | | | | | | There used to be a way to have memdebug fill allocated memory. 9 years later this has no value there (valgrind and ASAN etc are way better). If people need to know about it they can have a look at VCS logs. Closes #5973
* sendf: move Curl_sendf to dict.c and make it staticDaniel Stenberg2020-09-284-76/+71
| | | | | | | ... as the only remaining user of that function. Also fix gopher.c to instead use Curl_write() Closes #6020
* ROADMAP: updates and cleanupsDaniel Stenberg2020-09-281-27/+3
| | | | | | | | Fix the HSTS PR Remove DoT, thread-safe init and hard-coded localhost. I feel very little interest for these with users so I downgrade them to plain "TODO" entries again.
* schannel: return CURLE_PEER_FAILED_VERIFICATION for untrusted rootDaniel Stenberg2020-09-281-0/+4
| | | | | | | | | | | | This matches what is returned in other TLS backends in the same situation. Reviewed-by: Jay Satiro Reviewed-by: Emil Engler Follow-up to 5a3efb1 Reported-by: iammrtau on github Fixes #6003 Closes #6018
* RELEASE-NOTES: syncedDaniel Stenberg2020-09-261-12/+34
|
* ftp: make a 552 response return CURLE_REMOTE_DISK_FULLDaniel Stenberg2020-09-265-3/+89
| | | | | | | | | Added test 348 to verify. Added a 'STOR' command to the test FTP server to enable test 348. Documented the command in FILEFORMAT.md Reported-by: Duncan Wilcox Fixes #6016 Closes #6017
* pause: only trigger a reread if the unpause sticksDaniel Stenberg2020-09-251-3/+4
| | | | | | | | | | | | As an unpause might itself get paused again and then triggering another reread doesn't help. Follow-up from e040146f22608fd9 (shipped since 7.69.1) Bug: https://curl.haxx.se/mail/lib-2020-09/0081.html Patch-by: Kunal Chandarana Fixes #5988 Closes #6013
* test163[12]: require http to be built-in to runDaniel Stenberg2020-09-252-0/+2
| | | | | | ... as speaking over an HTTPS proxy implies http! Closes #6014
* ngtcp2: adapt to new NGTCP2_PROTO_VER_MAX defineDaniel Stenberg2020-09-251-8/+4
| | | | Closes #6012
* strerror: honor Unicode API choice on WindowsJavier Blazquez2020-09-251-15/+7
| | | | Closes #6005
* imap: make imap_send use dynbuf for the send buffer managementDaniel Stenberg2020-09-254-20/+19
| | | | | | Reuses the buffer and thereby reduces number of mallocs over a transfer. Closes #6010
* Curl_send: return error when pre_receive_plain can't mallocDaniel Stenberg2020-09-251-3/+9
| | | | | | | ... will probably trigger some false DEAD CODE positives on non-windows code analyzers for the conditional code. Closes #6011
* ftp: separate FTPS from FTP over "HTTPS proxy"Daniel Stenberg2020-09-244-14/+7
| | | | | | | | | | When using HTTPS proxy, SSL is used but not in the view of the FTP protocol handler itself so separate the connection's use of SSL from the FTP control connection's sue. Reported-by: Mingtao Yang Fixes #5523 Closes #6006
* tests/data: Fix some mismatched XML tags in test casesDan Fandrich2020-09-234-6/+1
| | | | This allows these test files to pass xmllint.
* pingpong: use a dynbuf for the *_pp_sendf() functionDaniel Stenberg2020-09-236-31/+32
| | | | | | | | | | | | | | ... reuses the same dynamic buffer instead of doing repeated malloc/free cycles. Test case 100 (FTP dir list PASV) does 7 fewer memory allocation calls after this change in my test setup (132 => 125), curl 7.72.0 needed 140 calls for this. Test case 103 makes 9 less allocations now (130). Down from 149 in 7.72.0. Closes #6004
* dynbuf: add Curl_dyn_vaddfDaniel Stenberg2020-09-233-8/+30
| | | | Closes #6004
* dynbuf: make *addf() not require extra mallocsDaniel Stenberg2020-09-234-18/+45
| | | | | | | | | | | | ... by introducing a printf() function that appends directly into a dynbuf: Curl_dyn_vprintf(). This avoids the mandatory extra malloc so if the buffer is already big enough it can just printf directly into it. Since this less-malloc version requires tthe use of a library internal printf function, we only provide this version when building libcurl and not for the dynbuf code that is used when building the curl tool. Closes #5998
* KNOWN_BUGS: Unable to use PKCS12 certificate with Secure TransportDaniel Stenberg2020-09-231-0/+5
| | | | Closes #5403
* pingpong: remove a malloc per Curl_pp_vsendf callDaniel Stenberg2020-09-221-9/+11
| | | | | | This typically makes 7-9 fewer mallocs per FTP transfer. Closes #5997
* symbian: drop supportDaniel Stenberg2020-09-2228-1318/+18
| | | | | | | | | The OS is deprecated. I see no traces of anyone having actually built curl for Symbian after 2012. The public headers are unmodified. Closes #5989
* RELEASE-NOTES: syncedDaniel Stenberg2020-09-221-2/+16
|
* curl_krb5.h: rename from krb5.hDaniel Stenberg2020-09-224-6/+6
| | | | | | | | | Follow-up from f4873ebd0be32cf Turns out some older openssl installations go bananas otherwise. Reported-by: Tom van der Woerdt Fixes #5995 Closes #5996