summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fixup test1292bagder/speedup-many-urlsDaniel Stenberg2017-11-041-2/+2
| | | | make it work even with HTTP disabled
* curl: speed up handling of many URLsDaniel Stenberg2017-11-044-11/+63
| | | | | | | | | | | | | 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
* curl: pass through [] in URLs instead of calling globbing errorDaniel Stenberg2017-11-043-4/+54
| | | | | | | Assisted-by: Per Lundberg Fixes #2044 Closes #2046 Closes #2048
* CURLOPT_INFILESIZE: accept -1Daniel Stenberg2017-11-031-2/+2
| | | | | | | Regression since f121575 Reported-by: Petr Voytsik Fixes #2047
* url: fix CURLOPT_DNS_CACHE_TIMEOUT arg value check to allow -1Jay Satiro2017-11-021-1/+1
| | | | | Prior to this change since f121575 (7.56.1+) CURLOPT_DNS_CACHE_TIMEOUT erroneously rejected -1 with CURLE_BAD_FUNCTION_ARGUMENT.
* http2: Fixed OOM handling in upgrade requestDan Fandrich2017-11-011-1/+4
| | | | This caused the torture tests on test 1800 to fail.
* tests: Fixed torture tests on tests 556 and 650Dan Fandrich2017-11-012-20/+41
| | | | Test cleanup after OOM wasn't being consistently performed.
* CURLOPT_MAXREDIRS: allow -1 as a valueDaniel Stenberg2017-11-012-2/+5
| | | | | | | | | | | ... which is valid according to documentation. Regression since f121575c0b5f. Verified now in test 501. Reported-by: cbartl on github Fixes #2038 Closes #2039
* include: remove conncache.h inclusion from where its not neededDaniel Stenberg2017-11-013-3/+0
|
* url: fix CURLOPT_POSTFIELDSIZE arg value check to allow -1Jay Satiro2017-11-011-1/+3
| | | | | | | | | | .. also add same arg value check to CURLOPT_POSTFIELDSIZE_LARGE. Prior to this change since f121575 (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
* cookie: avoid NULL dereferenceDaniel Stenberg2017-10-311-1/+1
| | | | | | | | ... when expiring old cookies. Reported-by: Pavel Gushchin Fixes #2032 Closes #2035
* memdebug: use send/recv signature for curl_dosend/curl_dorecvMarcel Raad2017-10-302-14/+22
| | | | | | This avoids build errors and warnings caused by implicit casts. Closes https://github.com/curl/curl/pull/2031
* mkhelp.pl: support reproducible buildJuro Bystricky2017-10-301-2/+0
| | | | | | | | | | | | | 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
* runtests.pl: Fixed typo in messageDan Fandrich2017-10-301-1/+1
|
* curlx: the timeval functions are no longer provided as curlx_*Daniel Stenberg2017-10-301-11/+1
| | | | | Pointed-out-by: Dmitri Tikhonov Bug: #2034
* select: update commentsDaniel Stenberg2017-10-301-2/+2
| | | | s/curlx_tvnow/Curl_now
* INTERNALS: remove curlx_tv* functions no longer providedDaniel Stenberg2017-10-301-14/+0
|
* timeval: use mach time on MacOSDmitri Tikhonov2017-10-304-0/+36
| | | | | | If clock_gettime() is not supported, use mach_absolute_time() on MacOS. closes #2033
* cli tool: improve ";type=" handling in -F option argumentsPatrick Monnerat2017-10-291-20/+16
|
* cli tool: in -F option arg, comma is a delimiter for files onlyPatrick Monnerat2017-10-293-20/+34
| | | | | | | | 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
* timeleft: made two more users of Curl_timeleft use timediff_tDaniel Stenberg2017-10-292-2/+2
|
* cmake: Export libcurl and curl targets to use by other cmake projectsJakub Zakrzewski2017-10-285-4/+117
| | | | | | | | | 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
* RELEASE-NOTES: synced with f20cbac97Daniel Stenberg2017-10-281-3/+30
|
* auth: Added test cases for RFC7616Florin2017-10-2815-3/+1098
| | | | | | | | Updated docs to include support for RFC7616 Signed-off-by: Florin <petriuc.florin@gmail.com> Closes #1934
* auth: add support for RFC7616 - HTTP Digest access authenticationFlorin2017-10-287-46/+455
| | | | Signed-off-by: Florin <petriuc.florin@gmail.com>
* TODO: support multiple Content-EncodingsDaniel Bankhead2017-10-282-26/+34
| | | | Closes #2002
* ROADMAP: cleanupDaniel Stenberg2017-10-281-83/+7
| | | | | Removed done stuff. Removed entries no longer considered for the near term.
* ROADMAP.md: spelling fixesMagicansk2017-10-281-15/+15
| | | | Closes #2028
* Curl_timeleft: change return type to timediff_tDaniel Stenberg2017-10-289-18/+19
| | | | | | | | 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
* appveyor: add a win32 buildDaniel Stenberg2017-10-271-1/+6
|
* setopt: fix CURLOPT_SSH_AUTH_TYPES option readDaniel Stenberg2017-10-271-1/+1
| | | | | | Regression since f121575c0b5f Reported-by: Rob Cotrone
* resolvers: only include anything if neededMarcel Raad2017-10-275-27/+28
| | | | | | This avoids warnings about unused stuff. Closes https://github.com/curl/curl/pull/2023
* HELP-US: rename the subtitle too since the label is changedDaniel Stenberg2017-10-271-1/+1
| | | | "PR-welcome" was the former name.
* curl_setup.h: oops, shorten the too long lineDaniel Stenberg2017-10-271-2/+3
|
* curl_setup: Improve detection of CURL_WINDOWS_APPMartin Storsjo2017-10-271-1/+1
| | | | | | | | | | 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
* transfer: Fix chunked-encoding upload bugJay Satiro2017-10-261-2/+5
| | | | | | | | | | | | | | | | | | | | - 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
* timeval: make timediff_t also work on 32bit windowsDaniel Stenberg2017-10-261-1/+1
| | | | | | | | | | ... by using curl_off_t for the typedef if time_t is larger than 4 bytes. Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/b9d25f9a6b3ca791385b80a6a3c3fa5ae113e1e0#co mmitcomment-25205058 Closes #2019
* curl_fnmatch: return error on illegal wildcard patternDaniel Stenberg2017-10-263-4/+58
| | | | | | | | | | ... instead of doing an infinite loop! Added test 1162 to verify. Reported-by: Max Dymond Fixes #2015 Closes #2017
* wildcards: don't use with non-supported protocolsMax Dymond2017-10-265-17/+27
| | | | | | Fixes timeouts in the fuzzing tests for non-FTP protocols. Closes #2016
* multi: allow table handle sizes to be overriddenMax Dymond2017-10-251-0/+2
| | | | | | | Allow users to specify their own hash define for CURL_CONNECTION_HASH_SIZE so that both values can be overridden. Closes #1982
* time: rename Curl_tvnow to Curl_nowDaniel Stenberg2017-10-2523-83/+73
| | | | | | | | | | ... since the 'tv' stood for timeval and this function does not return a timeval struct anymore. Also, cleaned up the Curl_timediff*() functions to avoid typecasts and clean up the descriptive comments. Closes #2011
* ftplistparser: follow-up cleanup to remove PL_ERROR()Daniel Stenberg2017-10-251-89/+78
|
* ftplistparser: free off temporary memory alwaysMax Dymond2017-10-251-41/+51
| | | | | | | | When using the FTP list parser, ensure that the memory that's allocated is always freed. Detected by OSS-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3682 Closes #2013
* timediff: return timediff_t from the time diff functionsDaniel Stenberg2017-10-2522-110/+214
| | | | | | | | | | | | | | | ... to cater for systems with unsigned time_t variables. - Renamed the functions to curlx_timediff and Curl_timediff_us. - Added overflow protection for both of them in either direction for both 32 bit and 64 bit time_ts - Reprefixed the curlx_time functions to use Curl_* Reported-by: Peter Piekarski Fixes #2004 Closes #2005
* libtest: Add required test libraries for lib1552 and lib1553Paul Howarth2017-10-241-0/+2
| | | | | | | | They use $(TESTUTIL) and thus should use $(TESTUTIL_LIBS) too. This fixes build failures on Fedora 13. Closes #2006
* libcurl-tutorial.3: fix typoAlessandro Ghedini2017-10-241-1/+1
| | | | closes #2008
* curl_mime_filedata.3: fix typosAlessandro Ghedini2017-10-231-2/+2
|
* RELEASE-NOTES: clean slate towards 7.57.0Daniel Stenberg2017-10-231-94/+8
|
* travis: exit if any steps failMax Dymond2017-10-231-0/+7
| | | | | | We don't expect any steps to fail in travis. Exit the script if they do. Closes #1966
* RELEASE-NOTES: 7.56.1curl-7_56_1Daniel Stenberg2017-10-232-10/+21
|