summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* curl-openssl.m4: show correct output for OpenSSL v3bagder/configure-ossl3Daniel Stenberg2021-08-211-3/+27
| | | | | | | | | | | | | Using 3.0.0 versions configure should now show this: checking for OpenSSL headers version... 3.0.0 - 0x300 checking for OpenSSL library version... 3.0.0 checking for OpenSSL headers and library versions matching... yes This output doesn't actually change what configure generates but is only "cosmetic". Reported-by: Randall S. Becker
* asyn-ares: call ares_freeaddrinfo() to clean up addrinfo resultsDaniel Stenberg2021-08-211-0/+1
| | | | | | | | As this leaks memory otherwise Follow-up to ba904db0705c931 Closes #7599
* wolfssl: clean up wolfcrypt error queueEhren Bendler2021-08-211-2/+13
| | | | | | | | | If wolfSSL is built in certain ways (OPENSSL_EXTRA or Debug), the error queue gets added on to for each session and never freed. Fix it by calling ERR_clear_error() like in vtls/openssl when needed. This func is a no-op in wolfcrypt if the error queue is not enabled. Closes #7594
* man pages: remove trailing whitespacesDaniel Stenberg2021-08-2110-10/+16
| | | | | | | | | Extended test 1173 (via the manpage-syntax.pl script) to detect and warn for them. Ref: #7602 Reported-by: a1346054 on github Closes #7604
* mailmap: add Gleb IvanovskyDaniel Stenberg2021-08-212-1/+2
|
* config.d: escape the backslash properlyDaniel Stenberg2021-08-211-1/+1
| | | | Closes #7603
* curl_setup.h: sync values for HTTP_ONLYDon2021-08-212-17/+24
| | | | | | | | The values for HTTP_ONLY differed between CMakeLists.txt and curl_setup.h. Sync them and sort the values in curl_setup.h to make it easier to spot differences. Closes #7601
* configure: set classic mingw minimum OS version to XPJay Satiro2021-08-211-1/+47
| | | | | | | | | | | | | - If the user has not specified a minimum OS version (via WINVER or _WIN32_WINNT macros) then set it to Windows XP. Prior to this change classic MinGW defaulted the minimum OS version to Windows NT 4.0 which is way too old. At least Windows XP is needed for getaddrinfo (which resolves hostnames to IPv6 addresses). Ref: https://github.com/curl/curl/issues/7483#issuecomment-891597034 Closes https://github.com/curl/curl/pull/7581
* schannel: Work around typo in classic mingw macroJay Satiro2021-08-211-7/+7
| | | | | | | | | | | | | | - Define ALG_CLASS_DHASH (the typo from the include) to ALG_CLASS_HASH. Prior to this change there was an incomplete fix to ignore the CALG_TLS1PRF macro on those versions of MinGW where it uses the ALG_CLASS_DHASH typoed macro. Ref: 48cf45c Ref: https://osdn.net/projects/mingw/ticket/38391 Ref: https://github.com/curl/curl/issues/2924 Closes https://github.com/curl/curl/pull/7580
* RELEASE-NOTES: syncedDaniel Stenberg2021-08-201-9/+34
|
* http_proxy: fix user-agent and custom headers for CONNECT with hyperDaniel Stenberg2021-08-202-4/+5
| | | | | | Enable test 287 Closes #7598
* c-hyper: initial support for "dumping" 1xx HTTP responsesDaniel Stenberg2021-08-202-4/+47
| | | | | | | | With the use hyper_request_on_informational() Enable test 155 and 158 Closes #7597
* tests/*server.pl: flush output before executing subprocessMarc Hoersken2021-08-186-3/+18
| | | | | | | | | | | | | | | | | | Also avoid shell processes staying around by using exec. This is necessary to avoid output data being buffering inside the process chain of Perl, Bash/Shell and our test server binaries. On non-Windows systems the exec will also make the subprocess replace the intermediate shell, but on Windows it will at least bind the processes together since there is no real fork or exec available. See: https://cygwin.com/cygwin-ug-net/highlights.html and: https://docs.microsoft.com/cpp/c-runtime-library/exec-wexec-functions Ref: https://github.com/curl/curl/pull/7530#issuecomment-900949010 Reviewed-by: Daniel Stenberg Reviewed-by: Jay Satiro Closes #7530
* CI: use GitHub Container Registry instead of Docker HubMarc Hoersken2021-08-182-14/+14
| | | | | | Avoid limits on Docker Hub and improve image pull/download speed. Closes #7587
* openssl: when creating a new context, there cannot be an old oneDaniel Stenberg2021-08-181-2/+1
| | | | | | | | Remove the previous handling that would call SSL_CTX_free(), and instead add an assert that halts a debug build if there ever is a context already set at this point. Closes #7585
* KNOWN_BUGS: Renegotiate from server may cause hang for OpenSSL backendJay Satiro2021-08-181-0/+12
| | | | Closes https://github.com/curl/curl/issues/6785
* docs/BINDINGS: URL updateViktor Szakats2021-08-171-1/+1
|
* tests/server/*.c: align handling of portfile argument and fileMarc Hoersken2021-08-176-25/+47
| | | | | | | | | | | | 1. Call the internal variable portname (like pidname) everywhere. 2. Have a variable wroteportfile (like wrotepidfile) everywhere. 3. Make sure the file is cleaned up on exit (like pidfile). 4. Add parameter --portfile to usage outputs everywhere. Reviewed-by: Daniel Stenberg Replaces #7523 Closes #7574
* KNOWN_BUGS: Fix a number of typos in KNOWN_BUGSDaniel Gustafsson2021-08-171-5/+5
| | | | Fixes a set of typos found in section 11.3.
* getparameter: fix the --local-port number parserDaniel Stenberg2021-08-171-2/+3
| | | | | | | | It could previously get tricked into parsing the uninitialized stack based buffer. Reported-by: Brian Carpenter Closes #7582
* KNOWN_BUGS: Can't use Secure Transport with Crypto Token KitDaniel Stenberg2021-08-171-0/+4
| | | | Closes #7048
* curl: add warning for ignored data after quoted form parameterJan Verbeek2021-08-171-9/+17
| | | | | | | | In an argument like `-F 'x=@/etc/hostname;filename="foo"abc'` the `abc` is ignored. This adds a warning if the ignored data isn't all whitespace. Closes #7394
* codeql: fix error "Resource not accessible by integration"Jay Satiro2021-08-171-0/+3
| | | | | | | | | | | | | - Enable codeql writing security-events. GitHub set the default permissions to read, apparently since earlier this year. Ref: https://github.com/github/codeql-action/issues/464 Ref: https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/ Fixes https://github.com/curl/curl/issues/7575 Closes https://github.com/curl/curl/pull/7576
* tool_operate: Fix --fail-early with parallel transfersJay Satiro2021-08-173-1/+43
| | | | | | | | | | | | | | | | | | | | | | - Abort via progress callback to fail early during parallel transfers. When a critical error occurs during a transfer (eg --fail-early constraint) then other running transfers will be aborted via progress callback and finish with error CURLE_ABORTED_BY_CALLBACK (42). In this case, the callback error does not become the most recent error and a custom error message is used for those transfers: curld --fail --fail-early --parallel https://httpbin.org/status/404 https://httpbin.org/delay/10 curl: (22) The requested URL returned error: 404 curl: (42) Transfer aborted due to critical error in another transfer > echo %ERRORLEVEL% 22 Fixes https://github.com/curl/curl/issues/6939 Closes https://github.com/curl/curl/pull/6984
* sectransp: support CURLINFO_CERTINFOSergey Markelov2021-08-175-52/+91
| | | | | Fixes #4130 Closes #7372
* ngtcp2: remove the acked_crypto_offset struct field initDaniel Stenberg2021-08-161-1/+0
| | | | | | ... as it is gone from the API upstream. Closes #7578
* misc: update incorrect copyright year rangesDaniel Stenberg2021-08-1613-13/+13
| | | | Closes #7577
* KNOWN_BUGS: HTTP/3 quiche upload large file failsDaniel Stenberg2021-08-161-0/+5
| | | | Closes #7532
* KNOWN_BUGS: CMake build with MIT Kerberos does not workDaniel Stenberg2021-08-161-0/+12
| | | | Closes #6904
* TODO: add asynch getaddrinfo supportDaniel Stenberg2021-08-161-0/+10
| | | | Closes #6746
* RELEASE-NOTES: syncedDaniel Stenberg2021-08-161-10/+49
|
* http2: revert call the handle-closed function correctly on closed streamArtur Sinila2021-08-161-4/+0
| | | | | | | | Reverts 252790c5335a221 Assisted-by: Gergely Nagy Fixes #7400 Closes #7525
* auth: do not append zero-terminator to authorisation id in kerberosPatrick Monnerat2021-08-162-14/+8
| | | | | | | | | RFC4752 Section 3.1 states "The authorization identity is not terminated with a zero-valued (%x00) octet". Although a comment in code said it may be needed anyway, nothing confirms it. In addition, servers may consider it as part of the identity, causing a failure. Closes #7008
* auth: use sasl authzid option in kerberosPatrick Monnerat2021-08-164-70/+38
| | | | | ... instead of deriving it from active ticket. Closes #7008
* auth: we do not support a security layer after kerberos authenticationPatrick Monnerat2021-08-162-0/+2
| | | | Closes #7008
* auth: properly handle byte order in kerberos security messagePatrick Monnerat2021-08-162-25/+30
| | | | Closes #7008
* x509asn1: fix heap over-read when parsing x509 certificatesz2_2021-08-161-9/+10
| | | | | Assisted-by: Patrick Monnerat Closes #7536
* KNOWN_BUGS: Disconnects don't do verboseDaniel Stenberg2021-08-141-0/+19
| | | | Closes #6995
* mailmap: fixup MichaƂ AntoniakDaniel Stenberg2021-08-142-1/+1
|
* build: fix compiler warningsMAntoniak2021-08-143-8/+10
| | | | | | | | | | | | | | | | For when CURL_DISABLE_VERBOSE_STRINGS and DEBUGBUILD flags are both active. - socks.c : warning C4100: 'lineno': unreferenced formal parameter (co-authored by Daniel Stenberg) - mbedtls.c: warning C4189: 'port': local variable is initialized but not referenced - schannel.c: warning C4189: 'hostname': local variable is initialized but not referenced Cloes #7528
* CODE_STYLE-md: fix bold font stylei-ky2021-08-141-1/+1
| | | | | | | | Markdown gets confused with abundance of asterisks, so use underscores instead. Reviewed-by: Daniel Gustafsson Closes #7569
* CODE_STYLE-md: add missing commai-ky2021-08-141-1/+1
| | | | | Reviewed-by: Daniel Gustafsson Closes #7570
* examples/ephiperfifo.c: simplify signal handlerDaniel Gustafsson2021-08-131-5/+3
| | | | | | | | | | | | | The signal handler registered for SIGINT is only handling SIGINT so there isn't much need for inspecting the signo. While there, rename the handler to be more specific. g_should_exit should really be of sig_atomic_t type, but relying on autoconf in the examples seems like a bad idea so keep that for now. Reviewed-by: Daniel Stenberg Closes #7310
* c-hyper: initial step for 100-continue supportDaniel Stenberg2021-08-133-4/+57
| | | | | | Enabled test 154 Closes #7568
* vtls: fix typo in schannel_verify.cIkko Ashimine2021-08-131-1/+1
| | | | | | occurence -> occurrence Closes #7566
* curl_url_get.3: clarify about path and queryEmil Engler2021-08-131-0/+9
| | | | | | | The current man-page lacks some details regarding the obtained path and query. Closes #7563
* c-hyper: fix header value passed to debug callbackDaniel Stenberg2021-08-131-1/+1
| | | | Closes #7567
* cleanup: URL updatesViktor Szakats2021-08-123-3/+4
| | | | | | | | | | - replace broken URL with the one it was most probably pointing to when added (lib/tftp.c) - replace broken URL with archive.org link (lib/curl_ntlm_wb.c) - delete unnecessary protocol designator from archive.org URL (docs/BINDINGS.md) Closes #7562
* DEPRECATE.md: linkify curl-library mailing listApril King2021-08-121-3/+4
| | | | Closes #7561
* output.d: add method to suppress response bodiesBarry Pollard2021-08-121-0/+8
| | | | Closes #7560