- Mar 03, 2017
-
-
Greg Rowe authored
Prior to this change if you attempted to configure curl using --wtih-zlib and specified a path the path would be ignored if you also had pkg-config installed on your system. This situation can easily arise when you are cross compiling. This change moves the test for detecting zlib settings via pkg-config only if OPT_ZLIB is not set. Closes https://github.com/curl/curl/pull/1292
-
Carlo Teubner authored
Closes https://github.com/curl/curl/pull/1301
-
- Mar 02, 2017
-
-
Jay Satiro authored
-
Jay Satiro authored
Better handle options conflicts that can occur if --enable-pthreads. Bug: https://github.com/curl/curl/pull/1295 Reported-by: Marc-Antoine Perennou
-
Joel Depooter authored
In DarwinSSL the SSLSetPeerDomainName function is used to enable both sending SNI and verifying the host. When host verification is disabled the function cannot be called, therefore SNI is disabled as well. Closes https://github.com/curl/curl/pull/1240
-
- Feb 28, 2017
-
-
Marcel Raad authored
If size_t is 32 bits, MSVC warns: warning C4310: cast truncates constant value The warning is harmless as CURL_MASK_SCOFFT gets truncated to the maximum value of size_t.
-
- Feb 27, 2017
-
-
Dan Fandrich authored
-
Marcel Raad authored
MSVC complains: warning C4701: potentially uninitialized local variable 'output_token_len' used
-
- Feb 26, 2017
-
-
Jay Satiro authored
wolfSSL >= 3.6.0 supports getting its library version string at runtime.
-
Dan Fandrich authored
This is likely to be the case when building from a tar ball release package which includes a prebuilt man page. In that case, test the packaged man page instead. This only makes a difference when building out-of-tree (in-tree, the location in both cases is identical).
-
- Feb 25, 2017
-
-
Isaac Boukris authored
Prior to this change if curl was built with Unix Socket support (--enable-unix-sockets) and without Proxy support (--disable-proxy) then unix socket options would erroneously be ignored. Regression introduced in: 0b8d682f Bug: https://github.com/curl/curl/issues/1274 Reported-by: <mccormickt12@users.noreply.github.com> Closes https://github.com/curl/curl/pull/1289
-
Dan Fandrich authored
-
Dan Fandrich authored
-
Peter Wu authored
Make use of macro substitution of suffix patterns to remove duplication of manual names. This approach is portable according to http://pubs.opengroup.org/onlinepubs/009695399/utilities/make.html Closes https://github.com/curl/curl/pull/1287
-
Dan Fandrich authored
-
Dan Fandrich authored
-
Dan Fandrich authored
The character set in POSIX is set by the locale defined by (in decreasing order of precedence) the LC_ALL, LC_CTYPE and LANG environment variables (CHARSET was used by libidn but not libidn2). LC_ALL is cleared to ensure that LC_CTYPE takes effect, but LC_ALL is not used to set the locale to ensure that other parts of the locale aren't overridden. Since there doesn't seem to be a cross-platform way of specifying a UTF-8 locale, and not all systems may support UTF-8, a <precheck> is used to skip the test if UTF-8 can't be verified to be available. Test 1035 was also converted to UTF-8 for consistency, as the actual character set used there is irrelevant to the test. This patch uses a different UTF-8 locale than the last attempt, namely en_US.UTF-8. This one has been verified on 7 different Linux and BSD distributions and is more complete and usable than the locale UTF-8 (on at least some systems).
-
Dan Fandrich authored
-
Simon Warta authored
- Change the encoding of the regex temp placeholder token to UTF-8. Prior to this change the file contained special chars in a different encoding than ASCII or UTF-8 making text editors and Python complain when reading the file. Closes https://github.com/curl/curl/pull/1271 Closes https://github.com/curl/curl/pull/1275
-
- Feb 24, 2017
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
This reverts commit ecd1d020. That commit caused test failures on my Debian Linux machine for all changed test cases. We need to reconsider how that should get done.
-
- Feb 23, 2017
-
-
Dan Fandrich authored
Character set in POSIX is set by the locale defined (in decreasing order of precedence) by the LC_ALL, LC_CTYPE and LANG environment variables (I believe CHARSET is only historic). LC_ALL is cleared to ensure that LC_CTYPE takes effect, but LC_ALL is not used to set the locale to ensure that other parts of the locale aren't overriden, if set. Since there doesn't seem to be a cross-platform way of specifying a UTF-8 locale, and not all systems may support UTF-8, a <precheck> is used (where relevant) to skip the test if UTF-8 isn't in use. Test 1035 was also converted to UTF-8 for consistency, as the actual character set used there is irrelevant to the test.
-
Jay Satiro authored
If the compile-time CURL_CA_BUNDLE location is defined use it as the default value for the proxy CA bundle location, which is the same as what we already do for the regular CA bundle location. Ref: https://github.com/curl/curl/pull/1257
-
Sergii Pylypenko authored
Closes #1285
-
Daniel Stenberg authored
Closes #1280
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
İsmail Dönmez authored
Closes #1283 Fixes #1277
-
Daniel Stenberg authored
synced with df665f4df0f7a352
-
Daniel Stenberg authored
Reported-by: <shachaf@users.noreply.github.com> Fixes #1281
-
- Feb 22, 2017
-
-
Jay Satiro authored
curl.1 is generated by the cmdline-opts script since 4c49b835.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Viktor Szakats authored
f77dabef broke builds in Windows using Windows SSPI but not Windows SSL. Bug: https://github.com/curl/curl/issues/1276 Reported-by: <jveazey@users.noreply.github.com>
-
Jay Satiro authored
- Change CURLOPT_PROXY_CAPATH to return CURLE_NOT_BUILT_IN if the option is not supported, which is the same as what we already do for CURLOPT_CAPATH. - Change the curl tool to handle CURLOPT_PROXY_CAPATH error CURLE_NOT_BUILT_IN as a warning instead of as an error, which is the same as what we already do for CURLOPT_CAPATH. - Fix CAPATH docs to show that CURLE_NOT_BUILT_IN is returned when the respective CAPATH option is not supported by the SSL library. Ref: https://github.com/curl/curl/pull/1257
-
Jay Satiro authored
-
- Feb 21, 2017
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
The CURLOPT_SSL_VERIFYSTATUS option was not properly handled by libcurl and thus even if the status couldn't be verified, the connection would be allowed and the user would not be told about the failed verification. Regression since cb4e2be7 CVE-2017-2629 Bug: https://curl.haxx.se/docs/adv_20170222.html Reported-by: Marcus Hoffmann
-