summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* schannel: avoid switch-cases that go to default anywaybagder/schannel-APPLICATION_PROTOCOL_MISMATCHDaniel Stenberg2018-09-061-0/+4
| | | | | | | | SEC_E_APPLICATION_PROTOCOL_MISMATCH isn't defined in some versions of mingw and would require an ifdef otherwise. Reported-by: Thomas Glanzmann Bug: https://curl.haxx.se/mail/lib-2018-09/0020.html
* imap: change from "FETCH" to "UID FETCH"Nicklas Avén2018-09-0640-60/+140
| | | | | | | | | | | | ... and add "MAILINDEX". As described in #2789, this is a suggested solution. Changing UID=xx to actually get mail with UID xx and add "MAILINDEX" to get a mail with a special index in the mail box (old behavior). So MAILINDEX=1 gives the first non deleted mail in the mail box. Fixes #2789 Closes #2815
* CURLOPT_UPLOAD_BUFFERSIZE: set upload buffer sizeDaniel Stenberg2018-09-0613-17/+115
| | | | | | | This is step 3 of #2888. Fixes #2888 Closes #2896
* travis: add the DOH tests to the torture testingDaniel Stenberg2018-09-061-1/+1
|
* DOH: add test case 1650 and 2100Daniel Stenberg2018-09-067-66/+410
|
* curl: --doh-url addedDaniel Stenberg2018-09-067-1/+21
|
* setopt: add CURLOPT_DOH_URLDaniel Stenberg2018-09-0615-62/+1174
| | | | Closes #2668
* ssl: deprecate CURLE_SSL_CACERT in favour of a unified error codeHan Han2018-09-0610-18/+17
| | | | Long live CURLE_PEER_FAILED_VERIFICATION
* x509asn1: return CURLE_PEER_FAILED_VERIFICATION on failure to parse certHan Han2018-09-061-1/+1
| | | | | | | | CURLE_PEER_FAILED_VERIFICATION makes more sense because Curl_parseX509 does not allocate memory internally as its first argument is a pointer to the certificate structure. The same error code is also returned by Curl_verifyhost when its call to Curl_parseX509 fails so the change makes error handling more consistent.
* openssl: return CURLE_PEER_FAILED_VERIFICATION on failure to parse issuerHan Han2018-09-061-2/+2
| | | | | Failure to extract the issuer name from the server certificate should return a more specific error code like on other TLS backends.
* schannel: unified error code handlingHan Han2018-09-062-30/+71
| | | | Closes #2901
* darwinssl: more specific and unified error codesHan Han2018-09-061-146/+278
| | | | Closes #2901
* CURLOPT_DNS_USE_GLOBAL_CACHE: deprecatedDaniel Stenberg2018-09-062-0/+23
| | | | | | | | Disable the CURLOPT_DNS_USE_GLOBAL_CACHE option and mark it for deprecation and complete removal in six months. Bug: https://curl.haxx.se/mail/lib-2018-09/0010.html Closes #2942
* url: default to CURL_HTTP_VERSION_2TLS if built h2-enabledDaniel Stenberg2018-09-053-11/+15
| | | | Closes #2709
* multiplex: enable by defaultDaniel Stenberg2018-09-052-1/+4
| | | | Starting 7.62.0, multiplexing is enabled by default in multi handles.
* tests: add unit tests for url.cJim Fuller2018-09-057-9/+125
| | | | | Approved-by: Daniel Gustafsson Closes #2937
* test1452: mark as flakyDaniel Stenberg2018-09-051-0/+1
| | | | | | makes it not run in the CI builds Closes #2941
* pipelining: deprecatedDaniel Stenberg2018-09-054-110/+15
| | | | | | | | | | | | Transparently. The related curl_multi_setopt() options all still returns OK when pipelining is selected. To re-enable the support, the single line change in lib/multi.c needs to be reverted. See docs/DEPRECATE.md Closes #2705
* RELEASE-NOTES: start working on 7.62.0Daniel Stenberg2018-09-052-200/+13
|
* THANKS: 7.61.1 statuscurl-7_61_1Daniel Stenberg2018-09-041-0/+21
|
* RELEASE-NOTES: 7.61.1Daniel Stenberg2018-09-041-10/+21
|
* Curl_getoff_all_pipelines: ignore unused return valuesDaniel Stenberg2018-09-041-3/+2
| | | | Since scan-build would warn on the dead "Dead store/Dead increment"
* sftp: fix indentationViktor Szakats2018-09-041-1/+1
|
* sftp: don't send post-qoute sequence when retrying a connectionPrzemysław Tomaszewski2018-09-042-3/+5
| | | | | Fixes #2939 Closes #2940
* url, vtls: make CURLOPT{,_PROXY}_TLS13_CIPHERS workKamil Dudka2018-09-032-1/+8
| | | | | | This is a follow-up to PR #2607 and PR #2926. Closes #2936
* tool_operate: Add http code 408 to transient list for --retryJay Satiro2018-09-032-1/+2
| | | | | | | - Treat 408 request timeout as transient so that curl will retry the request if --retry was used. Closes #2925
* openssl: Fix setting TLS 1.3 cipher suitesJay Satiro2018-09-031-0/+3
| | | | | | | | | | The flag indicating TLS 1.3 cipher support in the OpenSSL backend was missing. Bug: https://github.com/curl/curl/pull/2607#issuecomment-417283187 Reported-by: Kamil Dudka Closes #2926
* Curl_ntlm_core_mk_nt_hash: return error on too long passwordDaniel Stenberg2018-09-031-1/+4
| | | | | | | | | | | ... since it would cause an integer overflow if longer than (max size_t / 2). This is CVE-2018-14618 Bug: https://curl.haxx.se/docs/CVE-2018-14618.html Closes #2756 Reported-by: Zhaoyang Wu
* http2: Use correct format identifier for stream_idRikard Falkeborn2018-09-021-4/+4
| | | | Closes #2928
* test1148: fix precheck outputMarcel Raad2018-09-021-1/+1
| | | | "precheck command error" is not very helpful.
* all: s/int/size_t cleanupDaniel Stenberg2018-09-0112-53/+53
| | | | | | Assisted-by: Rikard Falkeborn Closes #2922
* ssh-libssh: use FALLTHROUGH to silence gcc8Daniel Stenberg2018-09-011-11/+11
|
* tool_operate: Fix setting proxy TLS 1.3 ciphersJay Satiro2018-08-311-1/+1
|
* cookies: support creation-time attribute for cookiesDaniel Gustafsson2018-08-3112-81/+119
| | | | | | | | | | | | | | According to RFC6265 section 5.4, cookies with equal path lengths SHOULD be sorted by creation-time (earlier first). This adds a creation-time record to the cookie struct in order to make cookie sorting more deterministic. The creation-time is defined as the order of the cookies in the jar, the first cookie read fro the jar being the oldest. The creation-time is thus not serialized into the jar. Also remove the strcmp() matching in the sorting as there is no lexicographic ordering in RFC6265. Existing tests are updated to match. Closes #2524
* Don't use Windows path %PWD for SSH testsMarcel Raad2018-08-3148-47/+49
| | | | | | | | | | | | | All these tests failed on Windows because something like sftp://%HOSTIP:%SSHPORT%PWD/ expanded to sftp://127.0.0.1:1234c:/msys64/home/bla/curl and then curl complained about the port number ending with a letter. Use the original POSIX path instead of the Windows path created in checksystem to fix this. Closes https://github.com/curl/curl/pull/2920
* CURLOPT_SSL_CTX_FUNCTION.3: clarify connection reuse warningJay Satiro2018-08-291-1/+2
| | | | | | Reported-by: Daniel Stenberg Closes https://github.com/curl/curl/issues/2916
* THANKS-filter: dedup Daniel JelińskiDaniel Stenberg2018-08-281-0/+1
|
* RELEASE-NOTES: syncedDaniel Stenberg2018-08-271-4/+22
|
* CURLOPT_ACCEPT_ENCODING.3: list them comma-separated [ci skip]Daniel Stenberg2018-08-271-3/+11
|
* CURLOPT_SSL_CTX_FUNCTION.3: might cause unintended connection reuse [ci skip]Daniel Stenberg2018-08-271-2/+7
| | | | | | Added a warning! Closes #2915
* curl: fix time-of-check, time-of-use race in dir creationDaniel Stenberg2018-08-251-6/+4
| | | | | | | Patch-by: Jay Satiro Detected by Coverity Fixes #2739 Closes #2912
* cmdline-opts/page-footer: fix edit mistakeDaniel Stenberg2018-08-251-4/+4
| | | | | | There was a missing newline. follow-up to a7ba60bb7250
* docs: clarify NO_PROXY env variable functionalityDaniel Stenberg2018-08-243-9/+10
| | | | | | Reported-by: Kirill Marchuk Fixes #2773 Closes #2911
* lib1522: fix curl_easy_setopt argument typeMarcel Raad2018-08-241-1/+1
| | | | CURLOPT_POSTFIELDSIZE is a long option.
* curl_threads: silence bad-function-cast warningMarcel Raad2018-08-241-1/+2
| | | | | | | As uintptr_t and HANDLE are always the same size, this warning is harmless. Just silence it using an intermediate uintptr_t variable. Closes https://github.com/curl/curl/pull/2908
* README: add appveyor build badge [ci skip]Daniel Stenberg2018-08-241-1/+2
| | | | Closes #2913
* schannel: client certificate store opening fixIhor Karpenko2018-08-241-5/+8
| | | | | | | | | | | | | | | | | | | 1) Using CERT_STORE_OPEN_EXISTING_FLAG ( or CERT_STORE_READONLY_FLAG ) while opening certificate store would be sufficient in this scenario and less-demanding in sense of required user credentials ( for example, IIS_IUSRS will get "Access Denied" 0x05 error for existing CertOpenStore call without any of flags mentioned above ), 2) as 'cert_store_name' is a DWORD, attempt to format its value like a string ( in "Failed to open cert store" error message ) will throw null pointer exception 3) adding GetLastError(), in my opinion, will make error message more useful. Bug: https://curl.haxx.se/mail/lib-2018-08/0198.html Closes #2909
* gopher: Do not translate `?' to `%09'Leonardo Taccari2018-08-242-8/+1
| | | | | | | | | | | | | Since GOPHER support was added in curl `?' character was automatically translated to `%09' (`\t'). However, this behaviour does not seems documented in RFC 4266 and for search selectors it is documented to directly use `%09' in the URL. Apart that several gopher servers in the current gopherspace have CGI support where `?' is used as part of the selector and translating it to `%09' often leads to surprising results. Closes #2910
* cookie tests: treat files as textMarcel Raad2018-08-233-3/+3
| | | | Fixes test failures because of wrong line endings on Windows.
* libcurl-thread.3: expand somewhat on the NO_SIGNAL motivationDaniel Stenberg2018-08-231-3/+9
| | | | | | | | | | | Multi-threaded applictions basically MUST set CURLOPT_NO_SIGNAL to 1L to avoid the risk of getting a SIGPIPE. Either way, a multi-threaded application that uses libcurl/openssl needs to have a signhandler for or ignore SIGPIPE on its own. Based on discussions in #2800 Closes #2904