- 15 Apr, 2018 1 commit
-
-
Daniel Gustafsson authored
When a zeroed out allocation is required, use calloc() rather than malloc() followed by an explicit memset(). The result will be the same, but using calloc() everywhere increases consistency in the codebase and avoids the risk of subtle bugs when code is injected between malloc and memset by accident. Closes https://github.com/curl/curl/pull/2497
-
- 12 Apr, 2018 2 commits
-
-
Daniel Stenberg authored
Verified in test 1502 now Fixes #2485 Closes #2486 Reported-by: Ernst Sjöstrand
-
Daniel Stenberg authored
-
- 11 Apr, 2018 1 commit
-
-
Daniel Stenberg authored
... to aid debugging etc as it sometimes isn't immediately obvious why curl uses or doesn't use a proxy. Inspired by #2477 Closes #2480
-
- 10 Apr, 2018 3 commits
-
-
Daniel Stenberg authored
closes #2471
-
Daniel Stenberg authored
Extra-eye-on-this-by: Marcel Raad Closes #2478
-
Marcel Raad authored
This works now and precise is in the process of being decommissioned. Closes https://github.com/curl/curl/pull/2476
-
- 09 Apr, 2018 3 commits
-
-
Marcel Raad authored
In debug mode, MingGW-w64's GCC 7.3 issues null-dereference warnings when dereferencing pointers after DEBUGASSERT-ing that they are not NULL. Fix this by removing the DEBUGASSERTs. Suggested-by: Daniel Stenberg Ref: https://github.com/curl/curl/pull/2463
-
kdekker authored
Follow up on https://github.com/curl/curl/pull/2472. Now using en-us instead of nl-nl as language code in the URL. Closes https://github.com/curl/curl/pull/2475
-
kdekker authored
The setenv command no longer exists and visual studio build prompts got changed. Used Visual Studio 2015/2017 as reference. Closes #2472
-
- 08 Apr, 2018 2 commits
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
unit1309 and vtls/gtls: error: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension Reported-by: Rikard Falkeborn Fixes #2466 Closes #2468
-
- 07 Apr, 2018 5 commits
-
-
Jay Satiro authored
- Use _fseeki64 instead of fseek (long) to seek curl_off_t in Windows. - Use CURL_FORMAT_CURL_OFF_T specifier instead of %ld to print curl_off_t. Caught by Marc's CI builds.
-
Daniel Stenberg authored
... and use this type instead of 'sa_family_t' in the code since several platforms don't have it. Closes #2463
-
Eric Gallager authored
-
Daniel Stenberg authored
-
Stefan Agner authored
Only treat response code as FTP response codes in case the protocol type is FTP. This fixes an issue where an HTTP download was treated as FTP in case libcurl returned with 33. This happens when the download has already finished and the server responses 416: HTTP/1.1 416 Requested Range Not Satisfiable This should not be treated as an FTP error. Fixes #2464 Closes #2465
-
- 06 Apr, 2018 10 commits
-
-
Daniel Stenberg authored
... since they return size_t anyway! closes #2462
-
Daniel Stenberg authored
-
Jay Satiro authored
.. and do the same for build-wolfssl.bat. Because MS calls it VC14.1. Closes https://github.com/curl/curl/pull/2189
-
kdekker authored
Due to the check in Makefile.vc and MakefileBuild.vc, no make call can be invoked unless a build-type was specified. However, a clean target only existed when a build type was specified. As a result, the clean target was unreachable. Made clean target unconditional. Closes #2455
-
patelvivekv1993 authored
Fixes #2430 Closes #2457
-
Laurie Clark-Michalek authored
In the situation of a client connecting to an FTP server using an IPv6 tunnel proxy, the connection info will indicate that the connection is IPv6. However, because the server behing the proxy is IPv4, it is permissable to attempt PSV mode. In the case of the FTP server being IPv4 only, EPSV will always fail, and with the current logic curl will be unable to connect to the server, as the IPv6 fwdproxy causes curl to think that EPSV is impossible. Closes #2432
-
file:////foo/barJon DeVree authored
curl 7.57.0 and up interpret this according to Appendix E.3.2 of RFC 8089 but then returns an error saying this is unimplemented. This is actually a regression in behavior on both Windows and Unix. Before curl 7.57.0 this URL was treated as a path of "//foo/bar" and then passed to the relevant OS API. This means that the behavior of this case is actually OS dependent. The Unix path resolution rules say that the OS must handle swallowing the extra "/" and so this path is the same as "/foo/bar" The Windows path resolution rules say that this is a UNC path and automatically handles the SMB access for the program. So curl on Windows was already doing Appendix E.3.2 without any special code in curl. Regression Closes #2438
-
Gaurav Malhotra authored
This reverts commit dc854377. libcurl (with the OpenSSL backend) performs server certificate verification even if verifypeer == 0 and the verification result is available using CURLINFO_SSL_VERIFYRESULT. The commit that is being reverted caused the CURLINFO_SSL_VERIFYRESULT to not have useful information for the verifypeer == 0 use case (it would always have X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY). Closes #2451
-
Wyatt O'Day authored
(mbedtls 2.70 compiled with MBEDTLS_DEPRECATED_REMOVED) Closes #2453
-
Lauri Kasanen authored
closes #2458
-
- 04 Apr, 2018 3 commits
-
-
Patrick Monnerat authored
This fixes a segfault occurring when a name of the (invalid) form "domain..tld" is processed. test46 updated to cover this case. Follow-up to commit c990eadd. Ref: https://github.com/curl/curl/pull/2440
-
Daniel Stenberg authored
... as OpenSSL >= 1.1.0 and libressl >= 2.7.0 use different argument types.
-
Bernard Spil authored
- LibreSSL 2.7 implements (most of) OpenSSL 1.1 API Fixes #2319 Closes #2447 Closes #2448 Signed-off-by:
Bernard Spil <brnrd@FreeBSD.org>
-
- 02 Apr, 2018 3 commits
-
-
Lauri Kasanen authored
This makes libcurl handle thousands of cookies much better and speedier. Closes #2440
-
Lauri Kasanen authored
This drops the cookie load time for 8k cookies from 178ms to 15ms. Closes #2441
-
Daniel Stenberg authored
...as otherwise it might use a different decimal sign. Bug: #2436 Reported-by: Oumph on github
-
- 31 Mar, 2018 1 commit
-
-
Jay Satiro authored
- Put a percent sign before each CURL_FORMAT_CURL_OFF_T in printf. For example "%" CURL_FORMAT_CURL_OFF_T becomes %lld or similar. Bug: https://curl.haxx.se/mail/lib-2018-03/0140.html Reported-by: David L.
-
- 27 Mar, 2018 1 commit
-
-
Michał Janiszewski authored
ARM targets need advapi32 explicitly. Closes #2363
-
- 26 Mar, 2018 3 commits
-
-
Daniel Stenberg authored
-
Jay Satiro authored
This is a workaround for an unsolved travis issue that is causing CI instances to sporadically fail due to 'unable to connect' issues during apt stage. Ref: https://github.com/travis-ci/travis-ci/issues/8507 Ref: https://github.com/travis-ci/travis-ci/issues/9112#issuecomment-376305909
-
Michael Kaufmann authored
follow-up to a9a7b606 Closes #2428
-
- 23 Mar, 2018 2 commits
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
In order to make curl_multi_timeout() return suitable "sleep" times even when there's no socket to wait for while the name is being resolved in a helper thread. It will increases the timeouts as time passes. Closes #2419
-