summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fixup result initbagder/url-conncache-check-returnDaniel Stenberg2018-06-251-1/+1
|
* url: check Curl_conncache_add_conn return codeDaniel Stenberg2018-06-243-14/+11
| | | | | ... it was previously unchecked in two places and thus errors could remain undetected and cause trouble.
* CURLOPT_SSL_VERIFYPEER.3: fix syntax mistakeDaniel Stenberg2018-06-241-6/+6
| | | | Follow-up to b6a16afa0aa5
* netrc: use a larger bufferDaniel Stenberg2018-06-231-2/+2
| | | | | | | | | ... to work with longer passwords etc. Grow it from a 256 to a 4096 bytes buffer. Reported-by: Dario Nieuwenhuis Fixes #2676 Closes #2680
* CURLOPT_SSL_VERIFYPEER.3: Add performance notePatrick Schlangen2018-06-231-1/+11
| | | | Closes #2673
* multi: fix crash due to dangling entry in connect-pending listJavier Blazquez2018-06-235-2/+109
| | | | | Fixes #2677 Closes #2679
* ConnectionExists: make sure conn->data is set when "taking" a connectionDaniel Stenberg2018-06-221-0/+1
| | | | | | | Follow-up to 2c15693. Bug #2674 Closes #2675
* system.h: fix for gcc on 32 bit OpenServerKevin R. Bulgrien2018-06-221-1/+1
| | | | Bug: https://curl.haxx.se/mail/lib-2018-06/0100.html
* cmake: allow multiple SSL backendsRaphael Gozzo2018-06-212-1/+4
| | | | | | | This will make possible to select the SSL backend (using curl_global_sslset()) even when the libcurl is built using CMake Closes #2665
* url: fix dangling conn->data pointerDaniel Stenberg2018-06-213-4/+7
| | | | | | | | | | | By masking sure to use the *current* easy handle with extracted connections from the cache, and make sure to NULLify the ->data pointer when the connection is put into the cache to make this mistake easier to detect in the future. Reported-by: Will Dietz Fixes #2669 Closes #2672
* CURLOPT_INTERFACE.3: interface names not supported on WindowsDaniel Stenberg2018-06-181-1/+4
|
* travis: run more tests for coverage checkDaniel Stenberg2018-06-172-4/+4
| | | | | | ... run a few more tortured based and run all tests event-based. Closes #2664
* multi: fix memory leak when stopped during name resolveDaniel Stenberg2018-06-167-24/+97
| | | | | | | | | | | | When the application just started the transfer and then stops it while the name resolve in the background thread hasn't completed, we need to wait for the resolve to complete and then cleanup data accordingly. Enabled test 1553 again and added test 1590 to also check when the host name resolves successfully. Detected by OSS-fuzz. Closes #1968
* maketgz: delete .bak files, fix indentationViktor Szakats2018-06-151-25/+27
| | | | | | Ref: https://github.com/curl/curl/pull/2660 Closes https://github.com/curl/curl/pull/2662
* runtests.pl: remove debug leftover from bb9a340c73f3Daniel Stenberg2018-06-151-1/+0
|
* curl-confopts.m4: fix typo from ed224f23d5bebDaniel Stenberg2018-06-151-1/+1
| | | | | Fixes my local configure to detect a custom installed c-ares without pkgconfig.
* docs/RELEASE-PROCEDURE.md: renamed to use .md extensionDaniel Stenberg2018-06-152-7/+39
| | | | Closes #2663
* RELEASE-PROCEDURE: gpg sign the tagsDaniel Stenberg2018-06-151-2/+3
|
* RELEASE-NOTES: syncedDaniel Stenberg2018-06-151-7/+35
|
* CURLOPT_HTTPAUTH.3: CURLAUTH_BEARER was added in 7.61.0Daniel Stenberg2018-06-151-1/+3
|
* maketgz: fix sed issues on OSXMamta Upadhyay2018-06-141-3/+3
| | | | | | | | | | | | | | | | | maketgz creates release tarballs and removes the -DEV string in curl version (e.g. 7.58.0-DEV), else -DEV shows up on command line when curl is run. maketgz works fine on linux but fails on OSX. Problem is with the sed commands that use option -i without an extension. Maketgz expects GNU sed instead of BSD and this simply won't work on OSX. Adding a backup extension .bak after -i fixes this issue Running the script as if on OSX gives this error: sed: -e: No such file or directory Adding a .bak extension resolves it Closes #2660
* configure: enhance ability to detect/build with static opensslDaniel Stenberg2018-06-141-2/+2
| | | | | | | | | Fix the -ldl and -ldl + -lpthread checks for OpenSSL, necessary for building with static libs without pkg-config. Reported-by: Marcel Raad Fixes #2199 Closes #2659
* configure: use pkg-config for c-ares detectionDaniel Stenberg2018-06-141-7/+32
| | | | | | | | | First check if there's c-ares information given as pkg-config info and use that as first preference. Reported-by: pszemus on github Fixes #2203 Closes #2658
* GOVERNANCE.md: explains how this project is runDaniel Stenberg2018-06-142-1/+89
| | | | Closes #2657
* KNOWN_BUGS: NTLM doen't support password with § characterDaniel Stenberg2018-06-141-0/+5
| | | | Closes #2120
* KNOWN_BUGS: slow connect to localhost on WindowsDaniel Stenberg2018-06-141-0/+14
| | | | Closes #2281
* mk-ca-bundle.pl: make -u delete certdata.txt if found not changedMatteo Bignotti2018-06-141-0/+3
| | | | | | | | | | certdata.txt should be deleted also when the process is interrupted by "same certificate downloaded, exiting" The certdata.txt is currently kept on disk even if you give the -u option Closes #2655
* progress: remove a set of unused definesDaniel Stenberg2018-06-131-13/+0
| | | | | Reported-by: Peter Wu Closes #2654
* TODO: "Option to refuse usernames in URLs" doneDaniel Stenberg2018-06-131-11/+0
| | | | Implemented by Björn in 946ce5b61f
* Curl_init_do: handle NULL connection pointer passed inLyman Epp2018-06-131-6/+8
| | | | Closes #2653
* runtests: support variables in <strippart>Daniel Stenberg2018-06-122-2/+7
| | | | | | | | ... and make use of that to make 1455 work better without using a fixed local port number. Fixes #2649 Closes #2650
* Curl_debug: remove dead printhost codeDaniel Stenberg2018-06-1212-74/+30
| | | | | | | | | The struct field is never set (since 5e0d9aea3) so remove the use of it and remove the connectdata pointer from the prototype. Reported-by: Tejas Bug: https://curl.haxx.se/mail/lib-2018-06/0054.html Closes #2647
* schannel: avoid incompatible pointer warningViktor Szakats2018-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | with clang-6.0: ``` vtls/schannel_verify.c: In function 'add_certs_to_store': vtls/schannel_verify.c:212:30: warning: passing argument 11 of 'CryptQueryObject' from incompatible pointer type [-Wincompatible-pointer-types] &cert_context)) { ^ In file included from /usr/share/mingw-w64/include/schannel.h:10:0, from /usr/share/mingw-w64/include/schnlsp.h:9, from vtls/schannel.h:29, from vtls/schannel_verify.c:40: /usr/share/mingw-w64/include/wincrypt.h:4437:26: note: expected 'const void **' but argument is of type 'CERT_CONTEXT ** {aka struct _CERT_CONTEXT **}' WINIMPM WINBOOL WINAPI CryptQueryObject (DWORD dwObjectType, const void *pvObject, DWORD dwExpectedContentTypeFlags, DWORD dwExpectedFormatTypeFlags, DWORD dwFlags, ^~~~~~~~~~~~~~~~ ``` Ref: https://msdn.microsoft.com/library/windows/desktop/aa380264 Closes https://github.com/curl/curl/pull/2648
* schannel: support selecting ciphersRobert Prag2018-06-122-0/+172
| | | | | | | | | | | | | | Given the contstraints of SChannel, I'm exposing these as the algorithms themselves instead; while replicating the ciphersuite as specified by OpenSSL would have been preferable, I found no way in the SChannel API to do so. To use this from the commandline, you need to pass the names of contants defining the desired algorithms. For example, curl --ciphers "CALG_SHA1:CALG_RSA_SIGN:CALG_RSA_KEYX:CALG_AES_128:CALG_DH_EPHEM" https://github.com The specific names come from wincrypt.h Closes #2630
* test 46: make test pass after 2025Bernhard M. Wiedemann2018-06-121-4/+4
| | | | | | | | | shifting the expiry date to 2037 for now to be before the possibly problematic year 2038 similar in spirit to commit e6293cf8764e9eecb Closes #2646
* cppcheck: fix warningsMarian Klymov2018-06-1161-273/+213
| | | | | | | | | | | | | - Get rid of variable that was generating false positive warning (unitialized) - Fix issues in tests - Reduce scope of several variables all over etc Closes #2631
* openssl: assume engine support in 1.0.1 or laterDaniel Stenberg2018-06-114-21/+15
| | | | | | | | | | | | Previously it was checked for in configure/cmake, but that would then leave other build systems built without engine support. While engine support probably existed prior to 1.0.1, I decided to play safe. If someone experience a problem with this, we can widen the version check. Fixes #2641 Closes #2644
* RELEASE-NOTES: syncedDaniel Stenberg2018-06-111-8/+58
|
* RELEASE-PROCEDURE: update the release calendar for 2019Daniel Stenberg2018-06-111-4/+4
|
* boringssl + schannel: undef X509_NAME in lib/schannel.hGisle Vanem2018-06-082-9/+19
| | | | | | | Fixes the build problem when both boringssl and schannel are enabled. Fixes #2634 Closes #2643
* mk-ca-bundle.pl: leave certificate name untouched in decode()Vladimir Kotal2018-06-081-1/+3
| | | | Closes #2640
* tests/libtests/Makefile.am: Add lib1521.c to CLEANFILESRikard Falkeborn2018-06-061-0/+2
| | | | | | This removes the generated lib1521.c when running make clean. Closes #2633
* tests/libtest: Add lib1521 to nodist_SOURCESRikard Falkeborn2018-06-063-5/+6
| | | | | | | | | | | Since 467da3af0, lib1521.c is generated instead of checked in. According to the commit message, the intention was to remove it from the tarball as well. However, it is still present when running make dist. To remove it, add it to nodist_lib1521_SOURCES. This also means there is no need for the manually added dist-rule in the Makefile. Also update CMakelists.txt to handle the fact that we now may have nodist_SOURCES.
* system.h: add support for IBM xlc C compilerStephan Mühlstrasser2018-06-061-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | Added a section to system.h guarded with __xlc__ for the IBM xml C compiler. Before this change the section titled 'generic "safe guess" on old 32 bit style' was used, which resulted in a wrong definition of CURL_TYPEOF_CURL_SOCKLEN_T, and for 64-bit also CURL_TYPEOF_CURL_OFF_T was wrong. Compilation warnings fixed with this change: CC libcurl_la-ftp.lo "ftp.c", line 290.55: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. "ftp.c", line 293.48: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. "ftp.c", line 1070.49: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. "ftp.c", line 1154.53: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. "ftp.c", line 1187.51: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. CC libcurl_la-connect.lo "connect.c", line 448.56: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. "connect.c", line 516.66: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. "connect.c", line 687.55: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. "connect.c", line 696.55: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. CC libcurl_la-tftp.lo "tftp.c", line 1115.33: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed. Closes #2637
* cmdline-opts/cert-type.d: mention "p12" as a recognized type as wellDaniel Stenberg2018-06-051-3/+3
|
* spelling fixesViktor Szakats2018-06-0322-32/+32
| | | | | | Detected using the `codespell` tool (version 1.13.0). Also secure and fix an URL.
* axtls: follow-up spell fix of commentDaniel Stenberg2018-06-021-1/+1
|
* axTLS: not considered fit for useDaniel Stenberg2018-06-021-0/+5
| | | | | | | | | | URL: https://curl.haxx.se/mail/lib-2018-06/0000.html This is step one. It adds #error statements that require source edits to make curl build again if asked to use axTLS. At a later stage we might remove the axTLS specific code completely. Closes #2628
* build: remove the Borland specific makefilesDaniel Stenberg2018-06-026-415/+5
| | | | | | | According to the user survey 2018, not even one out of 670 users use them. Nobody on the mailing list spoke up for them either. Closes #2629
* curl_addrinfo: use same #ifdef conditions in source as headerDaniel Stenberg2018-06-011-1/+2
| | | | ... for curl_dofreeaddrinfo