Nick Zitzmann [Sun, 1 Jul 2018 19:05:50 +0000 (14:05 -0500)]
darwinssl: allow High Sierra users to build the code using GCC
...but GCC users lose out on TLS 1.3 support, since we can't weak-link
enumeration constants.
Fixes #2656
Closes #2703
Ruslan Baratov [Thu, 5 Jul 2018 10:21:57 +0000 (13:21 +0300)]
CMake: Remove unused 'output_var' from 'collect_true'
Variable 'output_var' is not used and can be removed.
Function 'collect_true' renamed to 'count_true'.
Ruslan Baratov [Thu, 5 Jul 2018 10:11:04 +0000 (13:11 +0300)]
CMake: Remove unused functions
Closes #2711
Daniel Stenberg [Fri, 6 Jul 2018 07:31:52 +0000 (09:31 +0200)]
KNOWN_BUGS: Stick to same family over SOCKS proxy
Daniel Stenberg [Thu, 5 Jul 2018 20:45:01 +0000 (22:45 +0200)]
libssh: goto DISCONNECT state on error, not SSH_SESSION_FREE
... because otherwise not everything get closed down correctly.
Fixes #2708
Closes #2712
Daniel Stenberg [Thu, 5 Jul 2018 20:43:29 +0000 (22:43 +0200)]
libssh: include line number in state change debug messages
Closes #2713
Daniel Stenberg [Thu, 5 Jul 2018 21:11:22 +0000 (23:11 +0200)]
KNOWN_BUGS: Borland support is dropped, AIX problem is too old
Jeroen Ooms [Tue, 3 Jul 2018 12:32:17 +0000 (14:32 +0200)]
example/crawler.c: simple crawler based on libxml2
Closes #2706
Daniel Stenberg [Thu, 5 Jul 2018 07:43:35 +0000 (09:43 +0200)]
RELEASE-NOTES: synced
Daniel Stenberg [Mon, 2 Jul 2018 21:41:06 +0000 (23:41 +0200)]
DEPRECATE: include year when specifying date
Daniel Stenberg [Mon, 2 Jul 2018 11:16:09 +0000 (13:16 +0200)]
DEPRECATE: linkified
Daniel Stenberg [Mon, 2 Jul 2018 07:40:53 +0000 (09:40 +0200)]
DEPRECATE: mention the PR that disabled axTLS
Daniel Stenberg [Mon, 2 Jul 2018 06:14:53 +0000 (08:14 +0200)]
docs/DEPRECATE.md: spelling and minor formatting
Daniel Stenberg [Sun, 1 Jul 2018 11:22:53 +0000 (13:22 +0200)]
DEPRECATE: new doc describing planned item removals
Closes #2704
Gisle Vanem [Fri, 29 Jun 2018 21:22:19 +0000 (23:22 +0200)]
telnet: fix clang warnings
telnet.c(1401,28): warning: cast from function call of type 'int' to
non-matching type 'HANDLE' (aka 'void *') [-Wbad-function-cast]
Fixes #2696
Closes #2700
Daniel Stenberg [Sat, 30 Jun 2018 16:33:07 +0000 (18:33 +0200)]
docs: fix missed option name markups
Gaurav Malhotra [Fri, 29 Jun 2018 12:17:51 +0000 (17:47 +0530)]
openssl: Remove some dead code
Closes #2698
Daniel Stenberg [Thu, 28 Jun 2018 21:24:21 +0000 (23:24 +0200)]
openssl: make the requested TLS version the *minimum* wanted
The code treated the set version as the *exact* version to require in
the TLS handshake, which is not what other TLS backends do and probably
not what most people expect either.
Reported-by: Andreas Olsson
Assisted-by: Gaurav Malhotra
Fixes #2691
Closes #2694
Daniel Stenberg [Fri, 29 Jun 2018 08:31:27 +0000 (10:31 +0200)]
RELEASE-NOTES: synced
Daniel Stenberg [Thu, 28 Jun 2018 21:05:05 +0000 (23:05 +0200)]
openssl: allow TLS 1.3 by default
Reported-by: Andreas Olsson
Fixes #2692
Closes #2693
Adrian Peniak [Thu, 28 Jun 2018 05:56:16 +0000 (06:56 +0100)]
CURLINFO_TLS_SSL_PTR.3: improve the example
The previous example was a little bit confusing, because SSL* structure
(or other "in use" SSL connection pointer) is not accessible after the
transfer is completed, therefore working with the raw TLS library
specific pointer needs to be done during transfer.
Closes #2690
Daniel Stenberg [Wed, 27 Jun 2018 09:33:45 +0000 (11:33 +0200)]
travis: add a build using the synchronous name resolver
... since default uses the threaded one and we test the c-ares build
already.
Closes #2689
Daniel Stenberg [Wed, 27 Jun 2018 11:52:57 +0000 (13:52 +0200)]
configure: remove CURL_CHECK_NI_WITHSCOPEID too
Since it isn't used either and requires the getnameinfo check
Follow-up to
0aeca41702d2
Daniel Stenberg [Wed, 27 Jun 2018 06:20:28 +0000 (08:20 +0200)]
getnameinfo: not used
Closes #2687
Daniel Stenberg [Tue, 26 Jun 2018 16:11:32 +0000 (18:11 +0200)]
easy_perform: use *multi_timeout() to get wait times
... and trim the threaded Curl_resolver_getsock() to return zero
millisecond wait times during the first three milliseconds so that
localhost or names in the OS resolver cache gets detected and used
faster.
Closes #2685
Max Dymond [Tue, 26 Jun 2018 08:29:48 +0000 (09:29 +0100)]
configure: Add dependent libraries after crypto
The linker is pretty dumb and processes things left to right, keeping a
tally of symbols it hasn't resolved yet. So, we need -ldl to appear
after -lcrypto otherwise the linker won't find the dl functions.
Closes #2684
Daniel Stenberg [Wed, 27 Jun 2018 07:41:36 +0000 (09:41 +0200)]
GOVERNANCE: linkify, changed some titles
Daniel Stenberg [Wed, 27 Jun 2018 06:21:05 +0000 (08:21 +0200)]
GOVERNANCE: add maintainer details/duties
Daniel Stenberg [Sun, 24 Jun 2018 21:22:35 +0000 (23:22 +0200)]
url: check Curl_conncache_add_conn return code
... it was previously unchecked in two places and thus errors could
remain undetected and cause trouble.
Closes #2681
Daniel Stenberg [Mon, 25 Jun 2018 13:01:12 +0000 (15:01 +0200)]
include/README: remove "hacking" advice, not the right place
Daniel Stenberg [Sun, 24 Jun 2018 21:32:45 +0000 (23:32 +0200)]
RELEASE-NOTES: synced
Daniel Stenberg [Sun, 24 Jun 2018 21:18:52 +0000 (23:18 +0200)]
CURLOPT_SSL_VERIFYPEER.3: fix syntax mistake
Follow-up to
b6a16afa0aa5
Daniel Stenberg [Sat, 23 Jun 2018 19:32:22 +0000 (21:32 +0200)]
netrc: use a larger buffer
... to work with longer passwords etc. Grow it from a 256 to a 4096
bytes buffer.
Reported-by: Dario Nieuwenhuis
Fixes #2676
Closes #2680
Patrick Schlangen [Thu, 21 Jun 2018 19:14:40 +0000 (21:14 +0200)]
CURLOPT_SSL_VERIFYPEER.3: Add performance note
Closes #2673
Javier Blazquez [Sat, 23 Jun 2018 03:11:26 +0000 (20:11 -0700)]
multi: fix crash due to dangling entry in connect-pending list
Fixes #2677
Closes #2679
Daniel Stenberg [Thu, 21 Jun 2018 22:13:29 +0000 (00:13 +0200)]
ConnectionExists: make sure conn->data is set when "taking" a connection
Follow-up to
2c15693.
Bug #2674
Closes #2675
Kevin R. Bulgrien [Thu, 21 Jun 2018 23:00:37 +0000 (01:00 +0200)]
system.h: fix for gcc on 32 bit OpenServer
Bug: https://curl.haxx.se/mail/lib-2018-06/0100.html
Raphael Gozzo [Sun, 17 Jun 2018 16:26:44 +0000 (13:26 -0300)]
cmake: allow multiple SSL backends
This will make possible to select the SSL backend (using
curl_global_sslset()) even when the libcurl is built using CMake
Closes #2665
Daniel Stenberg [Wed, 20 Jun 2018 21:00:36 +0000 (23:00 +0200)]
url: fix dangling conn->data pointer
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
Daniel Stenberg [Mon, 18 Jun 2018 21:14:28 +0000 (23:14 +0200)]
CURLOPT_INTERFACE.3: interface names not supported on Windows
Daniel Stenberg [Sat, 16 Jun 2018 09:55:04 +0000 (11:55 +0200)]
travis: run more tests for coverage check
... run a few more tortured based and run all tests event-based.
Closes #2664
Daniel Stenberg [Thu, 14 Jun 2018 14:28:59 +0000 (16:28 +0200)]
multi: fix memory leak when stopped during name resolve
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
Viktor Szakats [Fri, 15 Jun 2018 23:28:34 +0000 (23:28 +0000)]
maketgz: delete .bak files, fix indentation
Ref: https://github.com/curl/curl/pull/2660
Closes https://github.com/curl/curl/pull/2662
Daniel Stenberg [Fri, 15 Jun 2018 15:26:57 +0000 (17:26 +0200)]
runtests.pl: remove debug leftover from
bb9a340c73f3
Daniel Stenberg [Fri, 15 Jun 2018 15:14:05 +0000 (17:14 +0200)]
curl-confopts.m4: fix typo from
ed224f23d5beb
Fixes my local configure to detect a custom installed c-ares without
pkgconfig.
Daniel Stenberg [Fri, 15 Jun 2018 11:37:48 +0000 (13:37 +0200)]
docs/RELEASE-PROCEDURE.md: renamed to use .md extension
Closes #2663
Daniel Stenberg [Fri, 15 Jun 2018 11:32:41 +0000 (13:32 +0200)]
RELEASE-PROCEDURE: gpg sign the tags
Daniel Stenberg [Fri, 15 Jun 2018 14:46:37 +0000 (16:46 +0200)]
RELEASE-NOTES: synced
Daniel Stenberg [Fri, 15 Jun 2018 09:17:02 +0000 (11:17 +0200)]
CURLOPT_HTTPAUTH.3: CURLAUTH_BEARER was added in 7.61.0
Mamta Upadhyay [Thu, 14 Jun 2018 16:29:43 +0000 (09:29 -0700)]
maketgz: fix sed issues on OSX
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
Daniel Stenberg [Thu, 14 Jun 2018 14:52:43 +0000 (16:52 +0200)]
configure: enhance ability to detect/build with static openssl
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
Daniel Stenberg [Thu, 14 Jun 2018 11:19:09 +0000 (13:19 +0200)]
configure: use pkg-config for c-ares detection
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
Daniel Stenberg [Thu, 14 Jun 2018 07:13:46 +0000 (09:13 +0200)]
GOVERNANCE.md: explains how this project is run
Closes #2657
Daniel Stenberg [Thu, 14 Jun 2018 12:04:48 +0000 (14:04 +0200)]
KNOWN_BUGS: NTLM doen't support password with § character
Closes #2120
Daniel Stenberg [Thu, 14 Jun 2018 11:55:45 +0000 (13:55 +0200)]
KNOWN_BUGS: slow connect to localhost on Windows
Closes #2281
Matteo Bignotti [Wed, 13 Jun 2018 20:45:23 +0000 (13:45 -0700)]
mk-ca-bundle.pl: make -u delete certdata.txt if found not changed
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
Daniel Stenberg [Wed, 13 Jun 2018 12:38:34 +0000 (14:38 +0200)]
progress: remove a set of unused defines
Reported-by: Peter Wu
Closes #2654
Daniel Stenberg [Wed, 13 Jun 2018 09:24:34 +0000 (11:24 +0200)]
TODO: "Option to refuse usernames in URLs" done
Implemented by Björn in
946ce5b61f
Lyman Epp [Tue, 12 Jun 2018 22:17:30 +0000 (17:17 -0500)]
Curl_init_do: handle NULL connection pointer passed in
Closes #2653
Daniel Stenberg [Tue, 12 Jun 2018 13:48:47 +0000 (15:48 +0200)]
runtests: support variables in <strippart>
... and make use of that to make 1455 work better without using a fixed
local port number.
Fixes #2649
Closes #2650
Daniel Stenberg [Mon, 11 Jun 2018 22:10:43 +0000 (00:10 +0200)]
Curl_debug: remove dead printhost code
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
Viktor Szakats [Tue, 12 Jun 2018 11:23:11 +0000 (11:23 +0000)]
schannel: avoid incompatible pointer warning
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
Robert Prag [Sat, 2 Jun 2018 00:17:40 +0000 (17:17 -0700)]
schannel: support selecting ciphers
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
Bernhard M. Wiedemann [Mon, 11 Jun 2018 14:06:23 +0000 (16:06 +0200)]
test 46: make test pass after 2025
shifting the expiry date to 2037 for now
to be before the possibly problematic year 2038
similar in spirit to commit
e6293cf8764e9eecb
Closes #2646
Marian Klymov [Sat, 2 Jun 2018 20:52:56 +0000 (23:52 +0300)]
cppcheck: fix warnings
- 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
Daniel Stenberg [Fri, 8 Jun 2018 14:36:47 +0000 (16:36 +0200)]
openssl: assume engine support in 1.0.1 or later
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
Daniel Stenberg [Mon, 11 Jun 2018 07:09:16 +0000 (09:09 +0200)]
RELEASE-NOTES: synced
Daniel Stenberg [Mon, 11 Jun 2018 06:36:30 +0000 (08:36 +0200)]
RELEASE-PROCEDURE: update the release calendar for 2019
Gisle Vanem [Fri, 8 Jun 2018 13:10:05 +0000 (15:10 +0200)]
boringssl + schannel: undef X509_NAME in lib/schannel.h
Fixes the build problem when both boringssl and schannel are enabled.
Fixes #2634
Closes #2643
Vladimir Kotal [Thu, 7 Jun 2018 08:44:30 +0000 (10:44 +0200)]
mk-ca-bundle.pl: leave certificate name untouched in decode()
Closes #2640
Rikard Falkeborn [Thu, 31 May 2018 22:00:45 +0000 (00:00 +0200)]
tests/libtests/Makefile.am: Add lib1521.c to CLEANFILES
This removes the generated lib1521.c when running make clean.
Closes #2633
Rikard Falkeborn [Mon, 4 Jun 2018 18:28:59 +0000 (20:28 +0200)]
tests/libtest: Add lib1521 to nodist_SOURCES
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.
Stephan Mühlstrasser [Wed, 6 Jun 2018 07:49:02 +0000 (09:49 +0200)]
system.h: add support for IBM xlc C compiler
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
Daniel Stenberg [Tue, 5 Jun 2018 12:53:33 +0000 (14:53 +0200)]
cmdline-opts/cert-type.d: mention "p12" as a recognized type as well
Viktor Szakats [Sun, 3 Jun 2018 12:14:45 +0000 (12:14 +0000)]
spelling fixes
Detected using the `codespell` tool (version 1.13.0).
Also secure and fix an URL.
Daniel Stenberg [Sat, 2 Jun 2018 11:40:32 +0000 (13:40 +0200)]
axtls: follow-up spell fix of comment
Daniel Stenberg [Fri, 1 Jun 2018 12:41:41 +0000 (14:41 +0200)]
axTLS: not considered fit for use
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
Daniel Stenberg [Fri, 1 Jun 2018 12:57:50 +0000 (14:57 +0200)]
build: remove the Borland specific makefiles
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
Daniel Stenberg [Fri, 1 Jun 2018 12:40:35 +0000 (14:40 +0200)]
curl_addrinfo: use same #ifdef conditions in source as header
... for curl_dofreeaddrinfo
Daniel Stenberg [Fri, 1 Jun 2018 10:55:41 +0000 (12:55 +0200)]
multi: remove a DEBUGF()
... it might call infof() with a NULL first argument that isn't harmful
but makes it not do anything. The infof() line is not very useful
anymore, it has served it purpose. Good riddance!
Fixes #2627
Alibek.Jorajev [Wed, 30 May 2018 14:23:35 +0000 (15:23 +0100)]
CURLOPT_RESOLVE: always purge old entry first
If there's an existing entry using the selected name.
Closes #2622
Daniel Stenberg [Thu, 31 May 2018 13:57:54 +0000 (15:57 +0200)]
fnmatch: use the system one if available
If configure detects fnmatch to be available, use that instead of our
custom one for FTP wildcard pattern matching. For standard compliance,
to reduce our footprint and to use already well tested and well
exercised code.
A POSIX fnmatch behaves slightly different than the internal function
for a few test patterns currently and the macOS one yet slightly
different. Test case 1307 is adjusted for these differences.
Closes #2626
Patrick Monnerat [Thu, 31 May 2018 17:08:03 +0000 (19:08 +0200)]
os400: add new option in ILE/RPG binding
Follow-up to commit
946ce5b
Daniel Stenberg [Thu, 31 May 2018 15:42:52 +0000 (17:42 +0200)]
tests/libtest/.gitignore: follow-up fix to ignore lib5* too
Daniel Stenberg [Thu, 31 May 2018 15:41:42 +0000 (17:41 +0200)]
KNOWN_BUGS: CURL_GLOBAL_SSL
Closes #2276
Bernhard Walle [Sun, 27 May 2018 17:51:04 +0000 (19:51 +0200)]
configure: check for declaration of getpwuid_r
On our x86 Android toolchain, getpwuid_r is implemented but the header
is missing:
netrc.c:81:7: error: implicit declaration of function 'getpwuid_r' [-Werror=implicit-function-declaration]
Unfortunately, the function is used in curl_ntlm_wb.c, too, so I moved
the prototype to curl_setup.h.
Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Closes #2609
Rikard Falkeborn [Wed, 30 May 2018 21:35:27 +0000 (23:35 +0200)]
tests: update .gitignore for libtests
Closes #2624
Rikard Falkeborn [Mon, 28 May 2018 19:46:22 +0000 (21:46 +0200)]
strictness: correct {infof, failf} format specifiers
Closes #2623
Björn Stenberg [Sun, 25 Feb 2018 19:17:25 +0000 (20:17 +0100)]
option: disallow username in URL
Adds CURLOPT_DISALLOW_USERNAME_IN_URL and --disallow-username-in-url. Makes
libcurl reject URLs with a username in them.
Closes #2340
Daniel Stenberg [Thu, 31 May 2018 09:19:05 +0000 (11:19 +0200)]
libcurl-security.3: improved layout for two rememdy lists
Daniel Stenberg [Thu, 31 May 2018 09:11:38 +0000 (11:11 +0200)]
libcurl-security.3: refer to URL instead of in-source markdown file
Viktor Szakats [Wed, 30 May 2018 12:08:26 +0000 (12:08 +0000)]
curl.rc: embed manifest for correct Windows version detection
* enable it in `src/Makefile.m32`
* enable it in `winbuild/MakefileBuild.vc` if a custom manifest is
_not_ enabled via the existing `EMBED_MANIFEST` option
* enable it for all Windows CMake builds (also disable the built-in
minimal manifest, added by CMake by default.)
For other build systems, add the `-DCURL_EMBED_MANIFEST` option to
the list of RC (Resource Compiler) flags to enable the manifest
included in `src/curl.rc`. This may require to disable whatever
automatic or other means in which way another manifest is added to
`curl.exe`.
Notice that Borland C doesn't support this method due to a
long-pending resource compiler bug. Watcom C may also not handle
it correctly when the `-zm` `wrc` option is used (this option may
be unnecessary though) and regardless of options in certain earlier
revisions of the 2.0 beta version.
Closes https://github.com/curl/curl/pull/1221
Fixes https://github.com/curl/curl/issues/2591
Patrick Monnerat [Tue, 29 May 2018 23:45:40 +0000 (01:45 +0200)]
os400: sync EBCDIC wrappers and ILE/RPG binding with latest options
Patrick Monnerat [Tue, 29 May 2018 22:38:37 +0000 (00:38 +0200)]
os400: implement mime api EBCDIC wrappers
Also sync ILE/RPG binding to define the new functions.
Daniel Stenberg [Tue, 29 May 2018 14:12:52 +0000 (16:12 +0200)]
setopt: add TLS 1.3 ciphersuites
Adds CURLOPT_TLS13_CIPHERS and CURLOPT_PROXY_TLS13_CIPHERS.
curl: added --tls13-ciphers and --proxy-tls13-ciphers
Fixes #2435
Reported-by: zzq1015 on github
Closes #2607
Daniel Stenberg [Tue, 29 May 2018 08:26:06 +0000 (10:26 +0200)]
configure: override AR_FLAGS to silence warning
The automake default ar flags are 'cru', but the 'u' flag in there
causes warnings on many modern Linux distros. Removing 'u' may have a
minor performance impact on older distros but should not cause harm.
Explained on the automake mailing list already back in April 2015:
https://www.mail-archive.com/automake-patches@gnu.org/msg07705.html
Reported-by: elephoenix on github
Fixes #2617
Closes #2619
Sergei Nikulov [Mon, 28 May 2018 06:01:48 +0000 (09:01 +0300)]
cmake: fixed comments in compile checks code
Daniel Stenberg [Mon, 28 May 2018 21:54:19 +0000 (23:54 +0200)]
INSTALL: LDFLAGS=-Wl,-R/usr/local/ssl/lib
... the older description doesn't work
Reported-by: Peter Varga
Fixes #2615
Closes #2616
Will Dietz [Tue, 29 May 2018 03:17:07 +0000 (22:17 -0500)]
KNOWN_BUGS: restore text regarding #2101.
This was added earlier but appears to have been removed accidentally.
AFAICT this is very much still an issue.
-----
I say "accidentally" because the text seems to have harmlessly snuck
into [1] (which makes no mention of it). [1] was later reverted for
unspecified reasons in [2], presumably because the mentioned issue was
fixed or invalid.
[1]
de9fac00c40db321d44fa6fbab6eb62ec4c83998
[2]
16d1f369403cbb04bd7b085eabbeebf159473fc2
Closes #2618
Daniel Stenberg [Sun, 27 May 2018 21:24:27 +0000 (23:24 +0200)]
fnmatch: insist on escaped bracket to match
A non-escaped bracket ([) is for a character group - as documented. It
will *not* match an individual bracket anymore. Test case 1307 updated
accordingly to match.
Problem detected by OSS-Fuzz, although this fix is probably not a final
fix for the notorious timeout issues.
Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8525
Closes #2614