summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* openssl: assume engine support in 0.9.8 or laterbagder/openssl-engine-098Rainer Jung2018-09-131-1/+1
| | | | Fixes #2983
* travis: build the MesaLink vtls backend with MesaLink 0.7.1Yiming Jing2018-09-131-0/+27
|
* runtests.pl: run tests against the MesaLink vtls backendYiming Jing2018-09-131-0/+5
|
* vtls: add a MesaLink vtls backendYiming Jing2018-09-135-1/+666
| | | | Closes #2984
* configure.ac: add a MesaLink vtls backendYiming Jing2018-09-132-5/+97
|
* curl_url_set.3: properly escape \n in example codeDave Reisner2018-09-131-1/+1
| | | | | | | | | | | | This yields "the scheme is %s\n" instead of "the scheme is %s0 Closes #2970
* curl_url_set.3: fix typo in reference to CURLU_APPENDQUERYDave Reisner2018-09-131-1/+1
|
* urlglob: improve error messageDaniel Stenberg2018-09-132-6/+9
| | | | | | | | | to help user understand what the problem is Reported-by: Daniel Shahaf Fixes #2763 Closes #2977
* tests/certs: rebuild certs with 2048-bit RSA keysYiming Jing2018-09-1243-787/+1065
| | | | | | | | | | | The previous test certificates contained RSA keys of only 1024 bits. However, RSA claims that 1024-bit RSA keys are likely to become crackable some time before 2010. The NIST recommends at least 2048-bit keys for RSA for now. Better use full 2048 also for testing. Closes #2973
* TODO: fix typo in itemDaniel Gustafsson2018-09-121-1/+1
| | | | | Closes #2968 Reviewed-by: Daniel Stenberg <daniel@haxx.se>
* anyauthput: fix compiler warning on 64-bit WindowsMarcel Raad2018-09-121-5/+8
| | | | | | | On Windows, the read function from <io.h> is used, which has its byte count parameter as unsigned int instead of size_t. Closes https://github.com/curl/curl/pull/2972
* lib: fix gcc8 warning on WindowsViktor Szakats2018-09-121-2/+3
| | | | Closes https://github.com/curl/curl/pull/2979
* openssl: fix gcc8 warningJay Satiro2018-09-121-1/+1
| | | | | | | | | | - Use memcpy instead of strncpy to copy a string without termination, since gcc8 warns about using strncpy to copy as many bytes from a string as its length. Suggested-by: Viktor Szakats Closes https://github.com/curl/curl/issues/2980
* libcurl-url.3: overview man page for the URL APIDaniel Stenberg2018-09-102-0/+138
| | | | Closes #2967
* example/asiohiper: insert warning comment about its statusDaniel Stenberg2018-09-101-1/+11
| | | | | | | This example is simply not working correctly but there's nobody around with the skills and energy to fix it. Closes #2407
* docs/cmdline-opts: update the documentation of --tlsv1.0Kamil Dudka2018-09-101-1/+1
| | | | | | ... to reflect the changes in 6015cefb1b2cfde4b4850121c42405275e5e77d9 Closes #2955
* docs/examples: do not wait when no transfers are runningKamil Dudka2018-09-108-24/+24
| | | | Closes #2948
* cookies: Move failure case label to end of functionDaniel Gustafsson2018-09-101-6/+7
| | | | | | | | Rather than jumping backwards to where failure cleanup happens to be performed, move the failure case to end of the function where it is expected per existing coding convention. Closes #2965
* misc: fix typos in commentsDaniel Gustafsson2018-09-104-4/+4
| | | | Closes #2963
* cookies: fix leak when writing cookies to fileDaniel Gustafsson2018-09-101-3/+2
| | | | | | | | | If the formatting fails, we error out on a fatal error and clean up on the way out. The array was however freed within the wrong scope and was thus never freed in case the cookies were written to a file instead of STDOUT. Closes #2957
* cookies: Remove redundant expired checkDaniel Gustafsson2018-09-101-6/+2
| | | | | | | Expired cookies have already been purged at a later expiration time before this check, so remove the redundant check. closes #2962
* ntlm_wb: bail out if the response gets overly largeDaniel Stenberg2018-09-091-1/+10
| | | | | | | | Exit the realloc() loop if the response turns out ridiculously large to avoid worse problems. Reported-by: Harry Sintonen Closes #2959
* url.c: fix comment typo and indentationDaniel Gustafsson2018-09-081-2/+2
| | | | Closes #2960
* urlapi: avoid derefencing a possible NULL pointerDaniel Stenberg2018-09-081-2/+2
| | | | Coverity CID 1439134
* RELEASE-NOTES: syncedDaniel Stenberg2018-09-081-6/+37
|
* test324: fix after 3f3b26d6feb0667714902e836af608094235fca2Marcel Raad2018-09-081-1/+1
| | | | The expected error code is now 60. 51 is dead.
* curl_url_set.3: correct descriptionDaniel Stenberg2018-09-081-1/+1
|
* curl_url-docs: fix AVAILABILITY as Added in curl 7.62.0Daniel Stenberg2018-09-085-5/+5
|
* URL-APIDaniel Stenberg2018-09-0824-365/+2814
| | | | | | | See header file and man pages for API. All documented API details work and are tested in the 1560 test case. Closes #2842
* curl_easy_upkeep: removed 'conn' from the nameDaniel Stenberg2018-09-0713-32/+32
| | | | | | | ... including the associated option. Fixes #2951 Closes #2952
* upkeep: add a connection upkeep API: curl_easy_conn_upkeep()Max Dymond2018-09-0715-2/+280
| | | | | | | | | Add functionality so that protocols can do custom keepalive on their connections, when an external API function is called. Add docs for the new options in 7.62.0 Closes #1641
* configure: add option to disable automatic OpenSSL config loadingPhilipp Waehnert2018-09-074-0/+25
| | | | | | | | | | | | | | | Sometimes it may be considered a security risk to load an external OpenSSL configuration automatically inside curl_global_init(). The configuration option --disable-ssl-auto-load-config disables this automatism. The Windows build scripts winbuild/Makefile.vs provide a corresponding option ENABLE_SSL_AUTO_LOAD_CONFIG accepting a boolean value. Setting neither of these options corresponds to the previous behavior loading the external OpenSSL configuration automatically. Fixes #2724 Closes #2791
* doh: minor edits to please CoverityDaniel Stenberg2018-09-071-2/+5
| | | | | | | The gcc typecheck macros and coverity combined made it warn on the 2nd argument for ERROR_CHECK_SETOPT(). Here's minor rearrange to please it. Coverity CID 1439115 and CID 1439114.
* schannel: avoid switch-cases that go to default anywayDaniel Stenberg2018-09-071-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 Approved-by: Marc Hörsken Bug: https://curl.haxx.se/mail/lib-2018-09/0020.html Closes #2950
* 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