- Nov 05, 2017
-
-
Patrick Monnerat authored
This uses the brotli external library (https://github.com/google/brotli). Brotli becomes a feature: additional curl_version_info() bit and structure fields are provided for it and CURLVERSION_NOW bumped. Tests 314 and 315 check Brotli content unencoding with correct and erroneous data. Some tests are updated to accomodate with the now configuration dependent parameters of the Accept-Encoding header.
-
Patrick Monnerat authored
This is implemented as an output streaming stack of unencoders, the last calling the client write procedure. New test 230 checks this feature. Bug: https://github.com/curl/curl/pull/2002 Reported-By: Daniel Bankhead
-
- Nov 04, 2017
-
-
Jay Satiro authored
Since CURLSSH_AUTH_ANY (aka CURLSSH_AUTH_DEFAULT) is ~0 an arg value check on this option is incorrect; we have to accept any value. Prior to this change since f121575c (7.56.1+) CURLOPT_SSH_AUTH_TYPES erroneously rejected CURLSSH_AUTH_ANY with CURLE_BAD_FUNCTION_ARGUMENT. Bug: https://github.com/curl/curl/commit/f121575#commitcomment-25347120
-
Daniel Stenberg authored
It triggers an assert() when built with memdebug since malloc(0) may return NULL *or* a valid pointer. Detected by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=4054 Assisted-by: Max Dymond Closes #2054
-
Daniel Stenberg authored
-
Daniel Stenberg authored
By properly keeping track of the last entry in the list of URLs/uploads to handle, curl now avoids many meaningless traverses of the list which speeds up many-URL handling *MASSIVELY* (several magnitudes on 100K URLs). Added test 1291, to verify that it doesn't take ages - but we don't have any detection of "too slow" command in the test suite. Reported-by: arainchik on github Fixes #1959 Closes #2052
-
Daniel Stenberg authored
Assisted-by: Per Lundberg Fixes #2044 Closes #2046 Closes #2048
-
- Nov 03, 2017
-
-
Daniel Stenberg authored
Regression since f121575c Reported-by: Petr Voytsik Fixes #2047
-
- Nov 02, 2017
-
-
Jay Satiro authored
Prior to this change since f121575c (7.56.1+) CURLOPT_DNS_CACHE_TIMEOUT erroneously rejected -1 with CURLE_BAD_FUNCTION_ARGUMENT.
-
- Nov 01, 2017
-
-
Dan Fandrich authored
This caused the torture tests on test 1800 to fail.
-
Dan Fandrich authored
Test cleanup after OOM wasn't being consistently performed.
-
Daniel Stenberg authored
... which is valid according to documentation. Regression since f121575c. Verified now in test 501. Reported-by: cbartl on github Fixes #2038 Closes #2039
-
Daniel Stenberg authored
-
Jay Satiro authored
.. also add same arg value check to CURLOPT_POSTFIELDSIZE_LARGE. Prior to this change since f121575c (7.56.1+) CURLOPT_POSTFIELDSIZE erroneously rejected -1 value with CURLE_BAD_FUNCTION_ARGUMENT. Bug: https://curl.haxx.se/mail/lib-2017-11/0000.html Reported-by: Andrew Lambert
-
- Oct 31, 2017
-
-
Daniel Stenberg authored
... when expiring old cookies. Reported-by: Pavel Gushchin Fixes #2032 Closes #2035
-
- Oct 30, 2017
-
-
Marcel Raad authored
This avoids build errors and warnings caused by implicit casts. Closes https://github.com/curl/curl/pull/2031
-
Juro Bystricky authored
Do not generate line with the current date, such as: * Generation time: Tue Oct-24 18:01:41 2017 This will improve reproducibility. The generated string is only part of a comment, so there should be no adverse consequences. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> closes #2026
-
Dan Fandrich authored
-
Daniel Stenberg authored
Pointed-out-by: Dmitri Tikhonov Bug: #2034
-
Daniel Stenberg authored
s/curlx_tvnow/Curl_now
-
Daniel Stenberg authored
-
Dmitri Tikhonov authored
If clock_gettime() is not supported, use mach_absolute_time() on MacOS. closes #2033
-
- Oct 29, 2017
-
-
Patrick Monnerat authored
-
Patrick Monnerat authored
Also upgrade test 1133 to cover this case and clarify man page about form data quoting. Bug: https://github.com/curl/curl/issues/2022 Reported-By: omau on github
-
Daniel Stenberg authored
-
- Oct 28, 2017
-
-
Jakub Zakrzewski authored
The config files define curl and libcurl targets as imported targets CURL::curl and CURL::libcurl. For backward compatibility with CMake- provided find-module the CURL_INCLUDE_DIRS and CURL_LIBRARIES are also set. Closes #1879
-
Daniel Stenberg authored
-
Florin Petriuc authored
Updated docs to include support for RFC7616 Signed-off-by: Florin <petriuc.florin@gmail.com> Closes #1934
-
Florin Petriuc authored
Signed-off-by: Florin <petriuc.florin@gmail.com>
-
Daniel Bankhead authored
Closes #2002
-
Daniel Stenberg authored
Removed done stuff. Removed entries no longer considered for the near term.
-
Magicansk authored
Closes #2028
-
Daniel Stenberg authored
returning 'time_t' is problematic when that type is unsigned and we return values less than zero to signal "already expired", used in several places in the code. Closes #2021
-
- Oct 27, 2017
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Regression since f121575c Reported-by: Rob Cotrone
-
Marcel Raad authored
This avoids warnings about unused stuff. Closes https://github.com/curl/curl/pull/2023
-
Daniel Stenberg authored
"PR-welcome" was the former name.
-
Daniel Stenberg authored
-
Martin Storsjo authored
If WINAPI_FAMILY is defined, it should be safe to try to include winapifamily.h to check what the define evaluates to. This should fix detection of CURL_WINDOWS_APP if building with _WIN32_WINNT set to 0x0600. Closes #2025
-
- Oct 26, 2017
-
-
Jay Satiro authored
- When uploading via chunked-encoding don't compare file size to bytes sent to determine whether the upload has finished. Chunked-encoding adds its own overhead which why the bytes sent is not equal to the file size. Prior to this change if a file was uploaded in chunked-encoding and its size was known it was possible that the upload could end prematurely without sending the final few chunks. That would result in a server hang waiting for the remaining data, likely followed by a disconnect. The scope of this bug is limited to some arbitrary file sizes which have not been determined. One size that triggers the bug is 475020. Bug: https://github.com/curl/curl/issues/2001 Reported-by: <moohoorama@users.noreply.github.com> Closes https://github.com/curl/curl/pull/2010
-