summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* RELEASE-PROCEDURE: feature win is closed post-release a few daysbagder/release-proc-adjustedDaniel 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.
* 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
* global_init: assume the EINTR bit by defaultDaniel Stenberg2020-01-265-167/+78
| | | | | | | | | | | | - Removed from global_init since it isn't thread-safe. The symbol will still remain to not break compiles, it just won't have any effect going forward. - make the internals NOT loop on EINTR (the opposite from previously). It only risks returning from the select/poll/wait functions early, and that should be risk-free. Closes #4840
* conn: do not reuse connection if SOCKS proxy credentials differPeter Piekarski2020-01-241-2/+31
| | | | Closes #4835
* llist: removed unused Curl_llist_move()Daniel Stenberg2020-01-243-107/+3
| | | | | | (and the corresponding unit test) Closes #4842
* conncache: removed unused Curl_conncache_bundle_size()Daniel Stenberg2020-01-242-15/+2
|
* strcase: turn Curl_raw_tolower into staticDaniel Stenberg2020-01-242-5/+6
| | | | Only ever used from within this file.
* singleuse.pl: support new API functions, fix curl_dbg_ handlingDaniel Stenberg2020-01-241-7/+12
|
* wolfssh: make it init properly via Curl_ssh_init()Daniel Stenberg2020-01-242-7/+5
| | | | Closes #4846
* form.d: fix two minor typosAron Rotteveel2020-01-231-2/+2
| | | | Closes #4843
* openssl: make CURLINFO_CERTINFO not truncate x509v3 fieldsDaniel Stenberg2020-01-231-25/+6
| | | | | | | | | | Avoid "reparsing" the content and instead deliver more exactly what is provided in the certificate and avoid truncating the data after 512 bytes as done previously. This no longer removes embedded newlines. Fixes #4837 Reported-by: bnfp on github Closes #4841
* CURLOPT_PROXY_SSL_OPTIONS.3: Sync with CURLOPT_SSL_OPTIONS.3Jay Satiro2020-01-231-16/+22
| | | | | | | - Copy CURLOPT_SSL_OPTIONS.3 description to CURLOPT_PROXY_SSL_OPTIONS.3. Prior to this change CURLSSLOPT_NO_PARTIALCHAIN was missing from the CURLOPT_PROXY_SSL_OPTIONS description.
* mk-ca-bundle: add support for CKA_NSS_SERVER_DISTRUST_AFTERDaniel Stenberg2020-01-221-8/+54
| | | | | | | | | For now, no cert in the bundle actually sets a date there... Co-Authored-by: Jay Satiro Reported-by: Christian Heimes Fixes #4834 Closes #4836
* RELEASE-NOTES: syncedDaniel Stenberg2020-01-211-5/+17
|
* smtp: Allow RCPT TO command to fail for some recipientsPavel Volgarev2020-01-2122-26/+483
| | | | | | | | Introduces CURLOPT_MAIL_RCPT_ALLLOWFAILS. Verified with the new tests 3002-3007 Closes #4816
* copyright: fix year rangesDaniel Stenberg2020-01-212-2/+2
| | | | | follow-up from dea17b519d (one of these days I'll learn to check before I push)
* http: move "oauth_bearer" from connectdata to Curl_easynao2020-01-214-23/+13
| | | | | | | Fixes the bug where oauth_bearer gets deallocated when we re-use a connection. Closes #4824
* curl: Let -D merge headers in one file againEmil Engler2020-01-216-1/+22
| | | | | Closes #4762 Fixes #4753
* data.d: remove "Multiple files can also be specified"Daniel Stenberg2020-01-211-6/+5
| | | | | | | | It is superfluous and could even be misleading. Bug: https://curl.haxx.se/mail/archive-2020-01/0016.html Reported-by: Mike Norton Closes #4832
* CMake: support specifying the target Windows versionMarcel Raad2020-01-201-10/+10
| | | | | | | | | | | | Previously, it was only possible to set it to Windows Vista or XP by setting the option `ENABLE_INET_PTON` to `ON` resp. `OFF`. Use a new cache variable `CURL_TARGET_WINDOWS_VERSION` to be able to explicitly set the target Windows version. `ENABLE_INET_PTON` is ignored in this case. Ref: https://github.com/curl/curl/pull/1639#issuecomment-313039352 Ref: https://github.com/curl/curl/pull/4607#issuecomment-557541456 Closes https://github.com/curl/curl/pull/4815
* http.h: Copyright year out of date, should be 2020Daniel Stenberg2020-01-201-1/+1
| | | | Follow-up to 7ff9222ced8c
* HTTP: increase EXPECT_100_THRESHOLD to 1Mb加藤郁之2020-01-209-15/+12
| | | | | | Mentioned: https://curl.haxx.se/mail/lib-2020-01/0050.html Closes #4814