summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fixup: also add test 246 and 281bagder/hyper-1xxDaniel Stenberg2021-08-201-2/+0
|
* c-hyper: initial support for "dumping" 1xx HTTP responsesDaniel Stenberg2021-08-202-2/+47
| | | | | | With the use hyper_request_on_informational() Enable test 155 and 158
* 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
* TODO: remove 'c-ares deviates on http://1346569778'Daniel Stenberg2021-08-121-13/+0
| | | | Fixed since 56a037cc0ad1b2 (7.77.0)
* BINDINGS.md: update links to use https where availableColin O'Dell2021-08-121-4/+4
| | | | Closes #7558
* asyn-ares.c: move all version number checks to the topDaniel Stenberg2021-08-111-10/+29
| | | | ... and use #ifdef [feature] in the code as per our guidelines.
* ares: use ares_getaddrinfo()Daniel Stenberg2021-08-111-2/+115
| | | | | | | | | | | | | ares_getaddrinfo() is the getaddrinfo() cloned provided by c-ares, introduced in version 1.16.0. With older c-ares versions, curl invokes ares_gethostbyname() twice - once for IPv4 and once for IPv6 to resolve both addresses, and then combines the returned results. Reported-by: jjandesmet Fixes #7364 Closes #7552
* ngtcp2: utilize crypto API functions to simplifyTatsuhiro Tsujikawa2021-08-101-57/+11
| | | | Closes #7551
* ngtcp2: reset the oustanding send buffer again when drainedmegatronking2021-08-101-0/+6
| | | | Closes #7538
* progress: fix a compile warning on some systemsMichael Kaufmann2021-08-101-1/+1
| | | | | | | lib/progress.c:380:40: warning: conversion to 'long double' from 'curl_off_t {aka long long int}' may alter its value [-Wconversion] Closes #7549
* RELEASE-NOTES: syncedDaniel Stenberg2021-08-101-8/+26
|
* http: consider cookies over localhost to be secureDaniel Stenberg2021-08-104-88/+154
| | | | | | | | | Updated test31. Added test 392 to verify secure cookies used for http://localhost Reviewed-by: Daniel Gustafsson Fixes #6733 Closes #7263
* TODO: erase secrets from heap/stack after useDaniel Stenberg2021-08-101-0/+10
| | | | Closes #7268