summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* azure: disable brotli on the macos debug-buildsbagder/azure-macos-brotliDaniel Stenberg2020-02-141-1/+1
| | | | | | | Because of: brotli/decode.h:204:33: error: variable length array used [-Werror,-Wvla] const uint8_t encoded_buffer[BROTLI_ARRAY_PARAM(encoded_size)],
* tool_home: Fix the copyright year being out of dateSteve Holme2020-02-132-2/+2
| | | | Follow up to 9dc350b6.
* tool_homedir: Change GetEnv() to use libcurl's curl_getenv()Jay Satiro2020-02-122-42/+58
| | | | | | | | | | | | | | | | | | | | | | - Deduplicate GetEnv() code. - On Windows change ultimate call to use Windows API GetEnvironmentVariable() instead of C runtime getenv(). Prior to this change both libcurl and the tool had their own GetEnv which over time diverged. Now the tool's GetEnv is a wrapper around curl_getenv (libcurl API function which is itself a wrapper around libcurl's GetEnv). Furthermore this change fixes a bug in that Windows API GetEnvironmentVariable() is called instead of C runtime getenv() to get the environment variable since some changes aren't always visible to the latter. Reported-by: Christoph M. Becker Fixes https://github.com/curl/curl/issues/4774 Closes https://github.com/curl/curl/pull/4863
* strerror.h: Copyright year out of dateDaniel Stenberg2020-02-121-1/+1
| | | | Follow-up to 1c4fa67e8a8fcf6
* strerror: Increase STRERROR_LEN 128 -> 256Jay Satiro2020-02-121-1/+1
| | | | | | | | | | STRERROR_LEN is the constant used throughout the library to set the size of the buffer on the stack that the curl strerror functions write to. Prior to this change some extended length Windows error messages could be truncated. Closes https://github.com/curl/curl/pull/4920
* multi: fix outdated commentJay Satiro2020-02-121-2/+2
| | | | | | | | | | - Do not say that conn->data is "cleared" by multi_done(). If the connection is in use then multi_done assigns another easy handle still using the connection to conn->data, therefore in that case it is not cleared. Closes https://github.com/curl/curl/pull/4901
* easy: remove dead codeJay Satiro2020-02-121-4/+0
| | | | | | multi is already assigned to data->multi by curl_multi_add_handle. Closes https://github.com/curl/curl/pull/4900
* create-dirs.d: mention the modeDaniel Stenberg2020-02-121-0/+2
| | | | | | Reported-by: Dan Jacobson Fixes #4766 Closes #4916
* CURLOPT_ALTSVC_CTRL.3: fix the DEFAULT wordingDaniel Stenberg2020-02-111-2/+5
| | | | | | | Assisted-by: Jay Satiro Reported-by: Craig Andrews Fixes #4909 Closes #4910
* RELEASE-NOTES: syncedDaniel Stenberg2020-02-101-8/+42
|
* smtp: Simplify the MAIL command and avoid a duplication of send stringsSteve Holme2020-02-091-12/+7
| | | | | | | | This avoids the duplication of strings when the optional AUTH and SIZE parameters are required. It also assists with the modifications that are part of #4892. Closes #4903
* altsvc: keep a copy of the file name to survive handle resetDaniel Stenberg2020-02-096-4/+143
| | | | | | | | | | | | The alt-svc cache survives a call to curl_easy_reset fine, but the file name to use for saving the cache was cleared. Now the alt-svc cache has a copy of the file name to survive handle resets. Added test 1908 to verify. Reported-by: Craig Andrews Fixes #4898 Closes #4902
* url: Include the failure reason when curl_win32_idn_to_ascii() failsSteve Holme2020-02-091-1/+3
| | | | | | | Provide the failure reason in the failf() info just as we do for the libidn2 version of code. Closes #4899
* asyn-thread: remove dead codeJay Satiro2020-02-091-3/+0
|
* github: Instructions to post "uname -a" on Unix systems in issuesEmil Engler2020-02-081-0/+2
| | | | Closes #4896
* configure.ac: fix comments about --with-quicheCristian Greco2020-02-081-2/+2
| | | | | | | A simple s/nghttp3/quiche in some comments of --with-quiche. Looks like a copy-paste error from --with-nghttp3. Closes #4897
* checksrc.bat: Fix not being able to run script from the main curl directorySteve Holme2020-02-071-2/+20
| | | | | | | | | | | | | | | | | | | | If the script was ran from the main curl directory rather then the projects directory then the script would simply exit without error: C:\url> projects\checksrc.bat The user would either need to change to the projects directory, explicitly specify the current working directory, or perform a oneline hacky workaround: C:\url> cd projects C:\url\projects> checksrc.bat C:\url> checksrc.bat %cd% C:\url> pushd projects & checksrc.bat & popd Closes #4894
* digest: Do not quote algorithm in HTTP authorisationPierre-Yves Bigourdan2020-02-0715-16/+16
| | | | | | | | | | RFC 7616 section 3.4 (The Authorization Header Field) states that "For historical reasons, a sender MUST NOT generate the quoted string syntax for the following parameters: algorithm, qop, and nc". This removes the quoting for the algorithm parameter. Reviewed-by: Steve Holme Closes #4890
* ftp: remove the duplicated user/password struct fieldsDaniel Stenberg2020-02-072-14/+3
| | | | Closes #4887
* ftp: remove superfluous checking for crlf in user or pwdDaniel Stenberg2020-02-073-19/+38
| | | | | | | | | ... as this is already done much earlier in the URL parser. Also add test case 894 that verifies that pop3 with an encodedd CR in the user name is rejected. Closes #4887
* ntlm_wb: Use Curl_socketpair() for greater portabilitySteve Holme2020-02-061-1/+1
| | | | | Reported-by: Daniel Stenberg Closes #4886
* contributors: Also include people who contributed to curl-wwwFrank Gevaerts2020-02-052-2/+27
| | | | Closes #4884
* contrithanks: Use the most recent tag by defaultFrank Gevaerts2020-02-051-1/+5
| | | | | | (similar to 5296abe) Closes #4883
* scripts: use last set tag if none givenDaniel Stenberg2020-02-052-6/+14
| | | | | | | | | Makes 'delta' and 'contributors.sh' easier to use. Make the delta script invoke contrithanks to get current number of contributors instead of counting THANKS, for accuracy. Closes #4881
* ftp: shrink temp buffers used for PORTDaniel Stenberg2020-02-051-5/+6
| | | | | | | These two stack based buffers only need to be 46 + 66 bytes instead of 256 + 1024. Closes #4880
* curl: error on --alt-svc use w/o supportDaniel Stenberg2020-02-052-4/+4
| | | | | | | | Make the tool check for alt-svc support at run-time and return error accordingly if not present when the option is used. Reported-by: Harry Sintonen Closes #4878
* docs/HTTP3: add --enable-alt-svc to curl's configureDaniel Stenberg2020-02-051-3/+3
|
* RELEASE-PROCEDURE: feature win is closed post-release a few daysDaniel Stenberg2020-02-041-5/+13
| | | | | | | We've tried to uphold this already but let's make it official by publicly stating this is the way we do it. Closes #4877
* altsvc: set h3 version at a common single spotDaniel Stenberg2020-02-041-11/+8
| | | | | | | | ... and move the #ifdefs out of the functions. Addresses the fact they were different before this change. Reported-by: Harry Sintonen Closes #4876
* altsvc: improved header parserHarry Sintonen2020-02-041-73/+98
| | | | | | | | | | | | | - Fixed the flag parsing to apply to specific alternative entry only, as per RFC. The earlier code would also get totally confused by multiprotocol header, parsing flags from the wrong part of the header. - Fixed the parser terminating on unknown protocols, instead of skipping them. - Fixed a busyloop when protocol-id was present without an equal sign. Closes #4875
* ngtcp2: fixed to only use AF_INET6 when ENABLE_IPV6Harry Sintonen2020-02-041-0/+2
|
* docs/HTTP3: update the OpenSSL branch to use for ngtcp2Daniel Stenberg2020-02-041-1/+1
| | | | Reported-by: James Fuller
* ntlm: Pass the Curl_easy structure to the private winbind functionsSteve Holme2020-02-041-14/+21
| | | | ...rather than the full conndata structure.
* RELEASE-NOTES: syncedDaniel Stenberg2020-02-041-9/+40
|
* tool_operhlp: Copyright year out of date, should be 2020Daniel Stenberg2020-02-041-1/+1
| | | | Follow-up from 2bc373740a3
* curl: avoid using strlen for testing if a string is emptyOrgad Shaneh2020-02-042-2/+2
| | | | Closes #4873
* ntlm: Ensure the HTTP header data is not stored in the challenge/responseSteve Holme2020-02-032-14/+14
|
* openssl: remove redundant assignmentMarcel Raad2020-02-031-1/+0
| | | | | | Fixes a scan-build failure on Bionic. Closes https://github.com/curl/curl/pull/4872
* travis: update non-OpenSSL Linux jobs to BionicMarcel Raad2020-02-031-20/+20
| | | | | | | For the OpenSSL builds, test 323 [TLS-SRP to non-TLS-SRP server] is failing with "curl returned 52, when expecting 35". Closes https://github.com/curl/curl/pull/4872
* cirrus: Add some missing semicolonsDan Fandrich2020-02-031-3/+3
| | | | | | | Newlines aren't preserved in this section so they're needed to separate commands. The exports luckily worked anyway as a single long line, but erroneously exported a variable called "export" [skip ci]
* cleanup: fix typos and wording in docs and commentsPedro Monreal2020-02-0215-24/+24
| | | | | Closes #4869 Reviewed-by: Emil Engler and Daniel Gustafsson
* ntlm: Move the winbind data into the NTLM data structureSteve Holme2020-02-023-41/+54
| | | | | To assist with adding winbind support to the SASL NTLM authentication, move the winbind specific data out of conndata into ntlmdata.
* quiche: Copyright year out of dateDaniel Stenberg2020-01-301-1/+1
| | | | Follow-up to 7fc63d72333a
* altsvc: use h3-25Daniel Stenberg2020-01-301-2/+2
| | | | Closes #4868
* quiche: update to draft-25Alessandro Ghedini2020-01-301-1/+1
| | | | Closes #4867
* ngtcp2: update to git master and its draft-25 supportDaniel Stenberg2020-01-291-1/+3
| | | | Closes #4865
* cookie: check __Secure- and __Host- case sensitivelyDaniel Stenberg2020-01-291-3/+3
| | | | | | | | | | While most keywords in cookies are case insensitive, these prefixes are specified explicitly to get checked "with a case-sensitive match". (From the 6265bis document in progress) Ref: https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-04 Closes #4864
* KNOWN_BUGS: Multiple methods in a single WWW-Authenticate: headerDaniel Stenberg2020-01-291-0/+8
|
* oauth2-bearer.d: works for HTTP tooDaniel Stenberg2020-01-291-1/+1
| | | | | | Reported-by: Mischa Salle Bug: https://curl.haxx.se/mail/lib-2020-01/0070.html Closes #4862
* multi_done: if multiplexed, make conn->data point to another transferDaniel Stenberg2020-01-282-0/+5
| | | | | | | | | | ... since the current transfer is being killed. Setting to NULL is wrong, leaving it pointing to 'data' is wrong since that handle might be about to get freed. Fixes #4845 Closes #4858 Reported-by: dmitrmax on github