- Jun 07, 2017
-
-
Daniel Stenberg authored
... as it would previously just get the "now" timestamp before the transfer starts and then not update it again. Closes #1550
-
- Jun 05, 2017
-
-
Daniel Stenberg authored
mk-lib1521.pl generates a test program (lib1521.c) that calls curl_easy_setopt() for every known option with a few typical values to make sure they work (ignoring the return codes). Some small changes were necessary to avoid asserts and NULL accesses when doing this. The perl script needs to be manually rerun when we add new options. Closes #1543
-
- Jun 04, 2017
-
-
Marcel Raad authored
This was the only remaining use of toupper in the entire source code. Suggested-by: Daniel Stenberg
-
Marcel Raad authored
Otherwise, clang on Cygwin64 warns: curl_ntlm_core.c:525:35: error: array subscript is of type 'char' [-Werror,-Wchar-subscripts] dest[2 * i] = (unsigned char)(toupper(src[i])); ^~~~~~~~~~~~~~~ /usr/include/ctype.h:152:25: note: expanded from macro 'toupper' (void) __CTYPE_PTR[__x]; (toupper) (__x);}) ^~~~
-
- Jun 03, 2017
-
-
Marcel Raad authored
-
Marcel Raad authored
This fixes the following warning with CURL_DISABLE_CRYPTO_AUTH, as seen in the autobuilds: curl_sasl.c:417:9: warning: unused variable 'serverdata' [-Wunused-variable]
-
- Jun 02, 2017
-
-
Marcel Raad authored
cyassl/ssl.h needs the macros from cyassl/options.h, so define them before including cyassl/ssl.h the first time, which happens in urldata.h. This broke the build on Ubuntu Xenial, which comes with WolfSSL 3.4.8 and therefore redefines the symbols from cyassl/options.h instead of including the header. Closes https://github.com/curl/curl/pull/1536
-
Daniel Stenberg authored
Found when updating test 1395, which I did to increase test coverage of this source file... Closes #1535
-
Marcel Raad authored
mbedtls_x509_crt_profile_fr is only used locally. This fixes a missing-variable-declarations warning with clang.
-
Marcel Raad authored
Unaligned access is on purpose here and the warning is harmless on affected architectures. GCC knows that, while clang warns on all architectures.
-
Daniel Stenberg authored
Closes #1529
-
Daniel Stenberg authored
Closes #1528
-
- May 30, 2017
-
-
Daniel Stenberg authored
... 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
-
- May 29, 2017
-
-
Jay Satiro authored
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, ^~~~~~~
-
- May 25, 2017
-
-
Daniel Stenberg authored
follow-up to f31760e6 Reported-by: Michael Kaufmann Bug: https://github.com/curl/curl/pull/1495#issuecomment-303982793
-
- May 24, 2017
-
-
Michael Kaufmann authored
Fix bugs and compiler warnings on systems with 32-bit long and 64-bit time_t. Reviewed-by: Daniel Stenberg Closes #1499
-
- May 23, 2017
-
-
Daniel Stenberg authored
Test 1261 added to verify. Reported-by: Lloyd Fournier Fixes #1489 Closes #1497
-
Sergei Nikulov authored
-
Sergei Nikulov authored
* 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
-
Akhil Kedia authored
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>
-
Daniel Stenberg authored
follow-up to 4cdb1be8
-
- May 22, 2017
-
-
Kamil Dudka authored
.... 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]
-
Daniel Stenberg authored
... as it does extra checks to actually work. Reported-by: jonrumsey at github Fixes #1504
-
- May 21, 2017
-
-
Simon Warta authored
This is for symmetry with the autoconf generated curl_config.h.in
-
- May 20, 2017
-
-
Daniel Stenberg authored
... 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
-
- May 17, 2017
-
-
Nick Zitzmann authored
if no error was raised by the API but the SecIdentityRef was null Fixes #1450
-
- May 16, 2017
-
-
Daniel Stenberg authored
Reported-by: wyattoday at github Fixes #1487
-
- May 15, 2017
-
-
Travis Burtrum authored
Closes #1400
-
- May 13, 2017
-
-
Dan Fandrich authored
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.
-
- May 12, 2017
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
The function IsPipeliningPossible() would return TRUE if either pipelining OR HTTP/2 were possible on a connection, which would lead to it returning TRUE even for POSTs on HTTP/1 connections. It now returns a bitmask so that the caller can differentiate which kind the connection allows. Fixes #1481 Closes #1483 Reported-by: stootill at github
-
Ron Eldor authored
Tested with servers: IIS 7.5; OpenSSL 1.0.2. Closes https://github.com/curl/curl/pull/1475
-
- May 11, 2017
-
-
Marcel Raad authored
clang 5.0 complains: possible misuse of comma operator here [-Wcomma] Change the comma to a semicolon to fix that.
-
- May 10, 2017
-
-
Daniel Stenberg authored
... since the total amount is low this is faster, easier and reduces memory overhead. Also, Curl_expire_done() can now mark an expire timeout as done so that it never times out. Closes #1472
-
Daniel Stenberg authored
A) reduces the timeout lists drastically B) prevents a lot of superfluous loops for timers that expires "in vain" when it has actually already been extended to fire later on
-
- May 09, 2017
-
-
Daniel Stenberg authored
... to really make sure the boundary fits in the target buffer. Fixes unused parameter 'buflen' warning. Reported-by: Michael Kaufmann Bug: https://github.com/curl/curl/pull/1468#issuecomment-300078754
-
- May 08, 2017
-
-
Jay Satiro authored
When the random seed is purposely made predictable for testing purposes by using the CURL_ENTROPY environment variable, process that data in an endian agnostic way so the the initial random seed is the same regardless of endianness. - Change Curl_rand to write to a char array instead of int array. - Add Curl_rand_hex to write random hex characters to a buffer. Fixes #1315 Closes #1468 Co-authored-by: Daniel Stenberg Reported-by: Michael Kaufmann
-
- May 07, 2017
-
-
Marcel Raad authored
Don't do anything in this file if CURLRES_THREADED is not defined.
-
Marcel Raad authored
The cases this warns about are handled elsewhere, so just use an intermediate variable to silence the warning.
-
- May 04, 2017
-
-
Dan Fandrich authored
-