summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* curl: prevent binary output spewed to terminalbagder/avoid-binary-to-terminalDaniel Stenberg2017-06-1610-12/+42
| | | | | | | | | ... unless "--output -" is used. Binary detection is done by simply checking for a binary zero in early data. Added test 1425 1426 to verify. Closes #1512
* test1148: verify the -# progressbarDaniel Stenberg2017-06-162-1/+58
| | | | Closes #1569
* test1061: mark as flakyDaniel Stenberg2017-06-161-0/+1
| | | | | Fails intermittently on travis builds since a few days. Likely due to 5113ad0424.
* url: refactor the check for Windows drive letter in pathJay Satiro2017-06-161-16/+11
| | | | | | | - Move the logic to detect a Windows drive letter prefix (eg c: in c:foo) into a function-like macro. Closes https://github.com/curl/curl/pull/1571
* mk-ca-bundle.pl: Check curl's exit code after certdata downloadJay Satiro2017-06-161-1/+1
| | | | | | | | | | - No longer allow partial downloads of certdata. Prior to this change partial downloads were (erroneously?) allowed since only the server code was checked to be 200. Bug: https://github.com/curl/curl/pull/1577 Reported-by: Matteo B.
* dist: add the fuzz dir to the tarballDaniel Stenberg2017-06-161-1/+1
|
* configure: disable nghttp2 too if HTTP has been disabledDaniel Stenberg2017-06-161-0/+7
|
* http-proxy: fix build with --disable-proxy or --disable-httpDaniel Stenberg2017-06-162-1/+9
| | | | Reported-by: Dan Fandrich
* fuzz/README: document how to buildDaniel Stenberg2017-06-151-1/+5
| | | | Fixes #1476
* fuzz: corpora file structure, initial commitFrederik B2017-06-156-15/+79
|
* fuzz: bring oss-fuzz initial code converted to C89Frederik B2017-06-155-0/+182
|
* http-proxy: only attempt FTP over HTTP proxyDaniel Stenberg2017-06-156-313/+14
| | | | | | | | | | ... all other non-HTTP protocol schemes are now defaulting to "tunnel trough" mode if a HTTP proxy is specified. In reality there are no HTTP proxies out there that allow those other schemes. Assisted-by: Ray Satiro, Michael Kaufmann Closes #1505
* TODO: the generated include file is goneDaniel Stenberg2017-06-151-28/+0
| | | | ... since commit 73a2fcea0b
* curl_setup.h: error out on CURL_WANTS_CA_BUNDLE_ENV useDaniel Stenberg2017-06-151-0/+4
| | | | | | | | ... to make it really apparent if there's any user using this on purpose. Suggested-by: Jay Satiro Closes #1542
* lib/curl_setup.h: remove CURL_WANTS_CA_BUNDLE_ENVDaniel Stenberg2017-06-153-8/+2
| | | | | | | | | | | | | When this define was set, libcurl would check the environment variable named CURL_CA_BUNDLE at run-time and use that CA cert bundle. This feature was only defined by the watcom and m32 makefiles and caused inconsistent behaviours among libcurls built on different platforms. The curl tool does already feature its own similar logic and the library does not really need it, and it isn't documented libcurl behavior. So this change removes it. Ref: #1538
* test1147: verify -H on a fileDaniel Stenberg2017-06-152-1/+65
|
* curl: allow --header and --proxy-header read from fileDaniel Stenberg2017-06-153-11/+48
| | | | | | | | So many headers can be provided as @filename. Suggested-by: Timothe Litt Closes #1486
* RELEASE-NOTES: synced with 2ad80eec5Daniel Stenberg2017-06-151-195/+16
|
* curl/curlver.h: start working on 7.55.0Daniel Stenberg2017-06-151-4/+4
|
* http-proxy: do the HTTP CONNECT process entirely non-blockingDaniel Stenberg2017-06-149-133/+177
| | | | | | | Mentioned as a problem since 2007 (8f87c15bdac63) and of course it existed even before that. Closes #1547
* progress: let "current speed" be UL + DL speeds combinedDaniel Stenberg2017-06-141-7/+5
| | | | | | Bug #1556 Reported-by: Paul Harris Closes #1559
* system.h: fix MinGW buildMarcel Raad2017-06-141-2/+2
| | | | | CURLSYS_PULL_WS2TCPIP_H got renamed to CURL_PULL_WS2TCPIP_H in commit 73a2fcea0b4adea6ba342cd7ed1149782c214ae3.
* timers: store internal time stamps as time_t instead of doublesDaniel Stenberg2017-06-145-49/+61
| | | | | | | | | | | | This gives us accurate precision and it allows us to avoid storing "no time" for systems with too low timer resolution as we then bump the time up to 1 microsecond. Should fix test 573 on windows. Remove the now unused curlx_tvdiff_secs() function. Maintains the external getinfo() API with using doubles. Fixes #1531
* dist: make the hugehelp.c not get regenerated unnecessarilyDaniel Stenberg2017-06-142-1/+4
| | | | | | | | | | The maketgz script now makes sure the generated hugehelp.c file in the tarball is newer than the generated curl.1 man page, so that it doesn't have to get unnecessarily rebuilt first thing in a typical build. It thus also removes the need for perl to build off a plain release tarball. Fixes #1565
* includes: remove curl/curlbuild.h and curl/curlrules.hDaniel Stenberg2017-06-1446-1997/+390
| | | | | | | | Rely entirely on curl/system.h now. Introduced in Aug 2008 with commit 14240e9e109f. Now gone. Fixes #1456
* release: 7.54.1curl-7_54_1Daniel Stenberg2017-06-142-9/+56
|
* mk-lib1521.pl: updated to match the test changes in 916ec30aDan Fandrich2017-06-131-15/+22
|
* libressl: OCSP and intermediate certs workaround no longer neededStuart Henderson2017-06-131-1/+2
| | | | | | | | lib/vtls/openssl.c has a workaround for a bug with OCSP responses signed by intermediate certs, this was fixed in LibreSSL in https://github.com/libressl-portable/openbsd/commit/912c64f68f7ac4f225b7d1fdc8fbd43168912ba0 Bug: https://curl.haxx.se/mail/lib-2017-06/0038.html
* url: fix buffer overwrite with file protocol (CVE-2017-9502)Daniel Stenberg2017-06-131-5/+22
| | | | | | | | Bug: https://github.com/curl/curl/issues/1540 Advisory: https://curl.haxx.se/docs/adv_20170614.html Assisted-by: Ray Satiro Reported-by: Marcel Raad
* urlglob: fix division by zeroDaniel Stenberg2017-06-131-1/+5
| | | | | | | | The multiply() function that is used to avoid integer overflows, was itself reason for a possible division by zero error when passed a specially formatted glob. Reported-by: GwanYeong Kim
* configure: update the copyright year in the outputDaniel Stenberg2017-06-121-1/+1
|
* BINDINGS: update SP-Forth and OCaml urlsygrek2017-06-121-2/+2
|
* FindWin32CACert: Use a temporary buffer on the stackMichael Kaufmann2017-06-111-8/+2
| | | | | | | | | | | | Don't malloc() the temporary buffer, and use the correct type: SearchPath() works with TCHAR, but SearchPathA() works with char. Set the buffer size to MAX_PATH, because the terminating null byte is already included in MAX_PATH. Reviewed-by: Daniel Stenberg Reviewed-by: Marcel Raad Closes #1548
* test1521: fixed OOM handlingDan Fandrich2017-06-111-752/+759
|
* RELEASE-PROCEDURE: updated future release datesDaniel Stenberg2017-06-091-4/+5
|
* gitignore: ignore all vim swap filesPaul Harris2017-06-091-1/+1
| | | | Closes #1561
* lib1521: fix compiler warnings on the use of bad 'long' valuesbagder/lib1521-long-warningsDaniel Stenberg2017-06-092-7/+7
| | | | | Reported-by: Marcel Raad Bug: https://github.com/curl/curl/commit/cccac4fb2b20d6ed87da7978408c3ecacc464fe4#commitcomment-22453387
* setopt: check CURLOPT_ADDRESS_SCOPE option rangeDaniel Stenberg2017-06-091-1/+4
| | | | | ... and return error instead of triggering an assert() when being way out of range.
* cmake: Fix inconsistency regarding mbed TLS include directoryTheAssassin2017-06-081-3/+3
| | | | | | | | | Previously, one had to set MBEDTLS_INCLUDE_DIR to make CMake find the headers, but the system complained that mbed TLS wasn't found due to MBEDTLS_INCLUDE_DIRS (note the trailing s) was not set. This commit attempts to fix that. Closes https://github.com/curl/curl/pull/1541
* examples/multi-uv.c: fix deprecated symbolRyuichi KAWAMATA2017-06-081-1/+1
| | | | Closes #1557
* asyn-ares: s/Curl_expire_latest/Curl_expireDaniel Stenberg2017-06-081-1/+1
|
* expire: remove Curl_expire_latest()Daniel Stenberg2017-06-084-53/+8
| | | | | | | | | | | | | | | | | With the introduction of expire IDs and the fact that existing timers can be removed now and thus never expire, the concept with adding a "latest" timer is not working anymore as it risks to not expire at all. So, to be certain the timers actually are in line and will expire, the plain Curl_expire() needs to be used. The _latest() function was added as a sort of shortcut in the past that's quite simply not necessary anymore. Follow-up to 31b39c40cf90 Reported-by: Paul Harris Closes #1555
* configure: fix link with librtmp when specifying pathChris Carlmar2017-06-071-0/+1
| | | | Bug: https://curl.haxx.se/mail/lib-2017-06/0017.html
* file: make speedcheck use current time for checksDaniel Stenberg2017-06-071-4/+2
| | | | | | | ... as it would previously just get the "now" timestamp before the transfer starts and then not update it again. Closes #1550
* metalink: remove unused printf() argumentDaniel Stenberg2017-06-071-2/+2
|
* travis: let some builds *not* use --enable-debugDaniel Stenberg2017-06-061-3/+9
| | | | | | typecheck-gcc and other things require optimized builds Closes #1544
* README.md: show the coverall coverage on githubDaniel Stenberg2017-06-061-0/+1
|
* lib1521: fix compiler warningsDaniel Stenberg2017-06-062-54/+86
|
* test1521: make the code < 80 columns wideDaniel Stenberg2017-06-052-21/+41
|
* test1121: use stricter types to work with typcheck-gccDaniel Stenberg2017-06-052-36/+116
|