summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* location.d: the method change is from POST to GET onlyDaniel Stenberg2020-01-282-9/+11
| | | | | | | | Not from generic non-GET to GET. Reported-by: Andrius Merkys Ref: #4859 Closes #4861
* urlapi: guess scheme correct even with credentials givenDaniel Stenberg2020-01-282-32/+46
| | | | | | | | | In the "scheme-less" parsing case, we need to strip off credentials first before we guess scheme based on the host name! Assisted-by: Jay Satiro Fixes #4856 Closes #4857
* global_init: move the IPv6 works status bool to multi handleDaniel Stenberg2020-01-288-25/+27
| | | | | | | | | Previously it was stored in a global state which contributed to curl_global_init's thread unsafety. This boolean is now instead figured out in curl_multi_init() and stored in the multi handle. Less effective, but thread safe. Closes #4851
* README: mention that the docs is in docs/Jay Satiro2020-01-271-0/+2
| | | | | | Reported-by: Austin Green Fixes #4830 Closes #4853
* curl.h: define CURL_WIN32 on windowsDaniel Stenberg2020-01-272-6/+16
| | | | | | | | | | | | ... so that the subsequent logic below can use a single known define to know when built on Windows (as we don't define WIN32 anymore). Follow-up to 1adebe7886ddf20b Reported-by: crazydef on github Assisted-by: Marcel Raad Fixes #4854 Closes #4855
* RELEASE-NOTES: syncedDaniel Stenberg2020-01-272-5/+29
|
* urldata: do string enums without #ifdefs for build scriptsJon Rumsey2020-01-274-26/+99
| | | | | | | ... and check for inconsistencies for OS400 at build time with the new chkstrings tool. Closes #4822
* curl: make the -# spaceship bar not wrap the lineDaniel Stenberg2020-01-261-20/+27
| | | | | | | | | | | | | The fixed-point math made us lose precision and thus a too high index value could be used for outputting the hashtags which could overwrite the newline. The fix increases the precision in the sine table (*100) and the associated position math. Reported-by: Andrew Potter Fixes #4849 Closes #4850