Jay Satiro
534056297f
build-wolfssl: Sync config with wolfSSL 3.11
...
wolfSSL configure script relevant changes from 3.10 to 3.11:
- Async threading support added; disabled by default without async
crypto, which continues to be disabled by default.
wolfSSL configure script relevant changes from 3.11 to 3.11.1 (beta):
- TLS 1.3 beta support added; disabled by default.
For experimenting I put in a comment block the defines needed to enable
TLS 1.3 support (ie the equivalent of --enable-tls13).
2017-05-31 01:40:39 -04:00
Daniel Stenberg
bb1a8c174b
opts: more examples added to man pages
2017-05-30 23:35:30 +02:00
Daniel Stenberg
2d5fa35e85
docs: clarify NO_PROXY further
...
Fixes #1208
2017-05-30 22:43:34 +02:00
Daniel Stenberg
dd97551746
CURLOPT_PROXY.3: describe the environment variables more
2017-05-30 18:05:33 +02:00
Daniel Stenberg
e54db1b053
transfer: init the infilesize from the postfields...
...
... with a strlen() if no size was set, and do this in the pretransfer
function so that the info is set early. Otherwise, the default strlen()
done on the POSTFIELDS data never sets state.infilesize.
Reported-by: Vincas Razma
Bug: #1294
2017-05-30 11:39:42 +02:00
Jay Satiro
35682764a9
test557: fix ubsan runtime error due to int left shift
...
- Test curl_msnprintf negative int width arg using INT_MIN instead of
1 << 31 which is undefined behavior.
Closes https://github.com/curl/curl/issues/1516
2017-05-29 18:04:53 -04:00
Jay Satiro
35e9281ef8
mbedtls: fix variable shadow warning
...
vtls/mbedtls.c:804:69: warning: declaration of 'entropy' shadows a global declaration [-Wshadow]
CURLcode Curl_mbedtls_random(struct Curl_easy *data, unsigned char *entropy,
^~~~~~~
2017-05-29 17:38:33 -04:00
Daniel Stenberg
3558e14967
RELEASE-NOTES: synced with 3aaac8c2f
2017-05-29 09:42:03 +02:00
Dan Fandrich
3aaac8c2f7
tests: removed some redundant empty <stdout> sections
2017-05-28 23:07:35 +02:00
Dan Fandrich
01f9487967
runtests.pl: removed <precommand> feature
...
This hasn't been used in over a decade. <precheck> can still be used to
run commands before the main test.
2017-05-28 20:57:47 +02:00
Daniel Stenberg
c2227dae53
opts: more examples added in option man pages
2017-05-27 23:11:26 +02:00
Dan Fandrich
14514c9796
runtests.pl: removed unused arguments to valgrindparse
2017-05-27 14:30:24 +02:00
Daniel Stenberg
d90b729c3b
TODO: 6.4 is done, send telnet data in chunks
2017-05-25 21:54:26 +02:00
Phil Crump
a9de0a9f54
docs/CURLOPT_SSLVERSION.3: Correct define name in example
...
Closes #1509
2017-05-25 16:28:30 +02:00
Daniel Stenberg
59cc0234e5
ssh: fix 'left' may be used uninitialized
...
follow-up to f31760e63b
Reported-by: Michael Kaufmann
Bug: https://github.com/curl/curl/pull/1495#issuecomment-303982793
2017-05-25 13:02:29 +02:00
Michael Kaufmann
8ab22a7453
time: fix type conversions and compiler warnings
...
Fix bugs and compiler warnings on systems with 32-bit long and
64-bit time_t.
Reviewed-by: Daniel Stenberg
Closes #1499
2017-05-24 22:56:22 +02:00
Marcel Raad
b4d87f54d6
examples: fix Wimplicit-fallthrough warnings
...
This is contained in -Wextra with GCC 7.
2017-05-24 11:56:38 +02:00
Anatol Belski
df45f2c33e
winbuild: fix the nghttp2 build
...
Closes #1321
2017-05-24 08:27:12 +02:00
Sergei Nikulov
63cd0d60ea
LDAP: documentation update per #878 changes ( #1506 )
2017-05-24 01:03:29 +03:00
Daniel Stenberg
bba59073c5
redirect: store the "would redirect to" URL when max redirs is reached
...
Test 1261 added to verify.
Reported-by: Lloyd Fournier
Fixes #1489
Closes #1497
2017-05-23 23:27:58 +02:00
Sergei Nikulov
48f2a96a60
LDAP: fixed checksrc issue
2017-05-24 00:14:13 +03:00
Sergei Nikulov
f0fe66f13c
LDAP: using ldap_bind_s on Windows with methods ( #878 )
...
* LDAP: using ldap_bind_s on Windows with methods(BASIC/DIGEST/NTLM/AUTONEG)
* ldap: updated per build options handling
* ldap: fixed logic for auth selection
2017-05-23 22:45:39 +03:00
Akhil Kedia
b4d6b99445
cmake: fix build on Ubuntu 14.04
...
Fixed a syntax error with setting cache variables (The type and
docstring were missing), resulting in build errors. Quoted the
CURL_CA_PATH and CURL_CA_BUNDLE otherwise the path was written without
quotes in C code, resulting in build errors.
Closes #1503
Signed-off-by: Akhil <akhil.kedia@samsung.com>
2017-05-23 10:07:08 +02:00
Daniel Stenberg
a1b3a95c96
url: fix declaration of 'pipe' shadows a global declaration
...
follow-up to 4cdb1be824
2017-05-23 07:41:52 +02:00
Kamil Dudka
945919db5b
memdebug: fix compilation failure
...
.... caused by a typo in the last commit (fixing issue #1504 ):
memdebug.c: In function ‘curl_fclose’:
memdebug.c:444:3: error: implicit declaration of function
‘DEBUGDEBUGASSERT’ [-Werror=implicit-function-declaration]
2017-05-22 19:03:16 +02:00
Daniel Stenberg
8589e1fe30
assert: avoid, use DEBUGASSERT instead!
...
... as it does extra checks to actually work.
Reported-by: jonrumsey at github
Fixes #1504
2017-05-22 13:59:29 +02:00
Simon Warta
fab9629133
cmake: remove unused variables: GNUTLS_ENABLED, NSS_ENABLED
2017-05-21 23:20:12 +02:00
Simon Warta
2ea297564d
cmake: remove CURL_CA_BUNDLE from cmake TODO
2017-05-21 23:20:12 +02:00
Simon Warta
6a9489dc45
cmake: auto detection of CURL_CA_BUNDLE/CURL_CA_PATH
...
Closes #1461
2017-05-21 23:19:59 +02:00
Simon Warta
8256cce2c7
cmake: add CURL_CA_BUNDLE/CURL_CA_FALLBACK/CURL_CA_PATH options
2017-05-21 23:19:16 +02:00
Simon Warta
5606fcc657
cmake: Add CURL_CA_FALLBACK to curl_config.h.cmake
...
This is for symmetry with the autoconf generated curl_config.h.in
2017-05-21 23:19:05 +02:00
Daniel Stenberg
edd7603e99
RELEASE-NOTES: synced with 052a14e3c
2017-05-21 00:26:27 +02:00
Michael Kaufmann
052a14e3cd
tests: stabilize test 1034
...
Pass the invalid domain name on stdin. On some systems, the test
framework cannot pass invalid UTF-8 sequences on the command line.
Closes #1488
2017-05-20 19:00:16 +02:00
Daniel Stenberg
f31760e63b
ssh: ignore timeouts during disconnect
...
... as otherwise it risks not cleaning up the libssh2 handle properly
which leads to memory leak!
Assisted-by: Joel Depooter
Closes #1495
Closes #1479
Bug: https://curl.haxx.se/mail/lib-2017-04/0024.html
2017-05-20 11:22:20 +02:00
Daniel Stenberg
e5491e0f9c
ghiper.c/hiperfifo.c: add comment about missing timer functionality
...
It takes someone to read up on the APIs of these libraries to figure out
how to do this correctly.
Reported-by: Michael Kaufmann
Closes #1253
2017-05-19 14:25:16 +02:00
Daniel Stenberg
d6bb1f1d56
asiohiper.cpp / evhiperfifo.c: deal with negative timerfunction input
...
That means delete the timer.
Reported-by: Michael Kaufmann
Ref: #1253
2017-05-19 14:16:37 +02:00
Daniel Stenberg
ce73a30168
cmdline-opts/write-out.d: s/-L/--location
...
Since the man page generator wants the long option name version to
generate the proper output.
2017-05-18 23:11:45 +02:00
Bernhard M. Wiedemann
b4cfda8a4a
mkhelp.pl: do not add current time into curl binary
...
... as part of hugehelpgz rodata to make build reproducible.
See https://reproducible-builds.org/ for why this is good
Closes #1490
2017-05-17 23:17:07 +02:00
Daniel Stenberg
a6f657911e
oauth2-bearer.d: mention the <token> argument
2017-05-17 10:55:12 +02:00
Nick Zitzmann
c58063b4f8
darwinssl: Fix exception when processing a client-side certificate file
...
if no error was raised by the API but the SecIdentityRef was null
Fixes #1450
2017-05-16 19:21:12 -05:00
Daniel Stenberg
32c27f9e98
curl_sasl: fix build error with CURL_DISABLE_CRYPTO_AUTH + USE_NTLM
...
Reported-by: wyattoday at github
Fixes #1487
2017-05-16 16:13:03 +02:00
Daniel Stenberg
4fcc0b09fb
docs/cmdline-opts/config.d: edit for language
2017-05-16 08:49:11 +02:00
Daniel Stenberg
590991d07a
RELEASE-NOTES: synced with eb16305e6
2017-05-15 23:19:45 +02:00
eb16305e6a
SecureTransport/DarwinSSL: Implement public key pinning
...
Closes #1400
2017-05-15 22:54:33 +02:00
Daniel Stenberg
1919569633
man pages: fix example syntax errors
...
follow-up to 5ddad099b4
2017-05-15 13:01:15 +02:00
Daniel Stenberg
5ddad099b4
docs/libcurl/opts: added more examples in man pages
2017-05-15 11:45:19 +02:00
Daniel Stenberg
e366ca2b85
CURLOPT_HTTPPROXYTUNNEL: clarify, add example
2017-05-15 10:11:23 +02:00
Daniel Stenberg
180c75eb63
curl: show the libcurl release date in --version output
...
... and support and additional "security patched" date for those who
enhance older versions that way. Pass on the define CURL_PATCHSTAMP with
a date for that.
Building with non-release headers shows the date as [unreleased].
Also: this changes the date format generated in the curlver.h file to be
"YYYY-MM-DD" (no name of the day or month, no time, no time zone) to
make it easier on the eye and easier to parse. Example (new) date
string: 2017-05-09
Suggested-by: Brian Childs
Closes #1474
2017-05-14 17:10:04 +02:00
Dan Fandrich
d836c9fee4
url.c: add a compile-time check that CURL_MAX_WRITE_SIZE is large enough
...
Some code (e.g. Curl_fillreadbuffer) assumes that this buffer is not
exceedingly tiny and will break if it is. This same check is already
done at run time in the CURLOPT_BUFFERSIZE option.
2017-05-13 23:21:27 +02:00
Dan Fandrich
b1fa80b84f
lib510: don't write past the end of the buffer if it's too small
2017-05-13 23:13:09 +02:00