summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* tests/server/util.c: fix support for Windows Unicode buildsMarc Hoersken2020-10-141-2/+3
| | | | | Detected via #6066 Closes #6070
* strerror: Revert to local codepage for Windows error stringJay Satiro2020-10-131-16/+15
| | | | | | | | | | | | | | | | | | | | - Change get_winapi_error() to return the error string in the local codepage instead of UTF-8 encoding. Two weeks ago bed5f84 fixed get_winapi_error() to work on xbox, but it also changed the error string's encoding from local codepage to UTF-8. We return the local codepage version of the error string because if it is output to the user's terminal it will likely be with functions which expect the local codepage (eg fprintf, failf, infof). This is essentially a partial revert of bed5f84. The support for xbox remains but the error string is reverted back to local codepage. Ref: https://github.com/curl/curl/pull/6005 Reviewed-by: Marcel Raad Closes #6065
* CI/tests: use verification curl for test reporting APIsMarc Hoersken2020-10-133-18/+19
| | | | | | | | | | Avoid using our own, potentially installed, curl for the test reporting APIs in case it is broken. Reviewed-by: Daniel Stenberg Preparation for #6049 Closes #6063
* windows: fix comparison of mismatched types warningViktor Szakats2020-10-121-1/+1
| | | | | | | | | | | | | clang 10, mingw-w64: ``` vtls/openssl.c:2917:33: warning: comparison of integers of different signs: 'DWORD' (aka 'unsigned long') and 'HRESULT' (aka 'long') [-Wsign-compare] if(GetLastError() != CRYPT_E_NOT_FOUND) ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~ ``` Approved-by: Daniel Stenberg Closes #6062
* src/Makefile.m32: fix undefined curlx_dyn_* errorsViktor Szakats2020-10-111-2/+0
| | | | | | | | | | | | by linking `lib/dynbuf.c` when building a static curl binary. Previously this source file was only included when building a dynamic curl binary. This was likely possibly because no functions from the `src/Makefile.inc` / `CURLX_CFILES` sources were actually required for a curl tool build. This has recently changed with the introduction of `curlx_dyn_*()` memory functions and their use by the tool sources. Closes #6060
* HISTORY: curl verifies SSL certs by default since version 7.10Daniel Stenberg2020-10-091-1/+3
|
* runtests.pl: use $LIBDIR variable instead of hardcoded pathMarc Hoersken2020-10-081-3/+3
| | | | | Reviewed-by: Daniel Stenberg Closes #6051
* checksrc: detect // comments on column 0Daniel Stenberg2020-10-071-1/+1
| | | | | | Spotted while working on #6045 Closes #6048
* mbedtls: add missing header when defining MBEDTLS_DEBUGFrederik Wedel-Heinen2020-10-071-3/+9
| | | | Closes #6045
* curl: make sure setopt CURLOPT_IPRESOLVE passes on a longDaniel Stenberg2020-10-052-8/+3
| | | | | | | | | | Previously, it would pass on a define (int) which could make libcurl read junk as a value - which prevented the CURLOPT_IPRESOLVE option to "take". This could then make test 2100 do two DoH requests instead of one! Fixes #6042 Closes #6043
* RELEASE-NOTES: syncedDaniel Stenberg2020-10-051-6/+22
|
* scripts/release-notes.pl: don't "embed" $ in format string for printf()Daniel Stenberg2020-10-051-2/+3
| | | | ... since they might contain %-codes that mess up the output!
* build-wolfssl: fix build with Visual Studio 2019M.R.T2020-10-051-0/+18
| | | | Closes https://github.com/curl/curl/pull/6033
* 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