summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* cmake: fixed comments in compile checks codeSergei Nikulov2018-05-291-3/+3
|
* INSTALL: LDFLAGS=-Wl,-R/usr/local/ssl/libDaniel Stenberg2018-05-291-3/+2
| | | | | | | | ... the older description doesn't work Reported-by: Peter Varga Fixes #2615 Closes #2616
* KNOWN_BUGS: restore text regarding #2101.Will Dietz2018-05-291-0/+3
| | | | | | | | | | | | | | | | | | This was added earlier but appears to have been removed accidentally. AFAICT this is very much still an issue. ----- I say "accidentally" because the text seems to have harmlessly snuck into [1] (which makes no mention of it). [1] was later reverted for unspecified reasons in [2], presumably because the mentioned issue was fixed or invalid. [1] de9fac00c40db321d44fa6fbab6eb62ec4c83998 [2] 16d1f369403cbb04bd7b085eabbeebf159473fc2 Closes #2618
* fnmatch: insist on escaped bracket to matchDaniel Stenberg2018-05-282-6/+15
| | | | | | | | | | | | A non-escaped bracket ([) is for a character group - as documented. It will *not* match an individual bracket anymore. Test case 1307 updated accordingly to match. Problem detected by OSS-Fuzz, although this fix is probably not a final fix for the notorious timeout issues. Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8525 Closes #2614
* psl: use latest psl and refresh it periodicallyPatrick Monnerat2018-05-2814-29/+254
| | | | | | | | | | | The latest psl is cached in the multi or share handle. It is refreshed before use after 72 hours. New share lock CURL_LOCK_DATA_PSL controls the psl cache sharing. If the latest psl is not available, the builtin psl is used. Reported-by: Yaakov Selkowitz Fixes #2553 Closes #2601
* configure: fix ssh2 linking when built with a static mbedtlsFabrice Fontaine2018-05-281-1/+1
| | | | | | | | | | | | | | | | | | | The ssh2 pkg-config file could contain the following lines when build with a static version of mbedtls: Libs: -L${libdir} -lssh2 /xxx/libmbedcrypto.a Libs.private: /xxx/libmbedcrypto.a This static mbedtls library must be used to correctly detect ssh2 support and this library must be copied in libcurl.pc otherwise compilation of any application (such as upmpdcli) with libcurl will fail when trying to found mbedtls functions included in libssh2. So, replace pkg-config --libs-only-l by pkg-config --libs. Fixes: - http://autobuild.buildroot.net/results/43e24b22a77f616d6198c10435dcc23cc3b9088a Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Closes #2613
* RELEASE-NOTES: syncedDaniel Stenberg2018-05-281-3/+34
|
* cmake: check for getpwuid_rBernhard Walle2018-05-282-0/+4
| | | | | | | The autotools-based build system does it, so we do it also in CMake. Bug: #2609 Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
* cmdline-opts/gen.pl: warn if mutexes: or see-also: list non-existing optionsDaniel Stenberg2018-05-281-0/+6
|
* curl.1: Fix cmdline-opts reference errors.Frank Gevaerts2018-05-283-3/+3
| | | | | | | | | --data, --form, and --ntlm were declared to be mutually exclusive with non-existing options. --data and --form referred to --upload (which is short for --upload-file and therefore did work, so this one was merely a bit confusing), --ntlm referred to --negotiated instead of --negotiate. Closes #2612
* docs: fix cmdline-opts metadata headers case consistency.Frank Gevaerts2018-05-2812-14/+14
| | | | Almost all headers start with an uppercase letter, but some didn't.
* mailmap: Max SavenkovDaniel Stenberg2018-05-281-0/+1
|
* Fix the test for fsetxattr and strerror_r tests in CMake to work without ↵maxed2018-05-282-17/+17
| | | | compiling
* mailmap: a Richard Alcock fixupDaniel Stenberg2018-05-271-0/+1
|
* schannel: add failf calls for client certificate failuresralcock2018-05-271-0/+4
| | | | Closes #2604
* winbuild: In MakefileBuild.vc fix typo DISTDIR->DIRDISTrichardthe3rd2018-05-271-1/+1
| | | | | | Change requirement from $(DISTDIR) to $(DIRDIST) closes #2603
* winbuild: only delete OUTFILE if it existsrichardthe3rd2018-05-271-1/+3
| | | | | | | | This removes the slightly annoying "Could not file LIBCURL_OBJS.inc" and "Could not find CURL_OBJS.inc.inc" message when building into a clean folder. closes #2602
* content_encoding: handle zlib versions too old for Z_BLOCKAlejandro R. Sedeño2018-05-251-0/+6
| | | | | | | Fallback on Z_SYNC_FLUSH when Z_BLOCK is not available. Fixes #2606 Closes #2608
* multi: provide a socket to wait for in Curl_protocol_getsockDaniel Stenberg2018-05-241-1/+5
| | | | | | | | ... even when there's no protocol specific handler setup. Bug: https://curl.haxx.se/mail/lib-2018-05/0062.html Reported-by: Sean Miller Closes #2600
* httpauth: add support for Bearer tokensLinus Lewandowski2018-05-248-5/+124
| | | | Closes #2102
* TODO: CURLINFO_PAUSE_STATEDaniel Stenberg2018-05-241-0/+6
| | | | Closes #2588
* cmake: set -d postfix for debug builds if not specifiedSergei Nikulov2018-05-245-24/+3
| | | | | | using -DCMAKE_DEBUG_POSTFIX explicitly fixes #2121, obsoletes #2384
* configure: add basic test of --with-ssl prefixDaniel Stenberg2018-05-231-1/+3
| | | | | | | | | | When given a prefix, the $PREFIX_OPENSSL/lib/openssl.pc or $PREFIX_OPENSSL/include/openssl/ssl.h files must be present or cause an error. Helps users detect when giving configure the wrong path. Reported-by: Oleg Pudeyev Assisted-by: Per Malmberg Fixes #2580
* http resume: skip body if http code 416 (range error) is ignored.Patrick Monnerat2018-05-226-14/+262
| | | | | | | | | | | | This avoids appending error data to already existing good data. Test 92 is updated to match this change. New test 1156 checks all combinations of --range/--resume, --fail, Content-Range header and http status code 200/416. Fixes #1163 Reported-By: Ithubg on github Closes #2578
* tftp: make sure error is zero terminated before printfing itDaniel Stenberg2018-05-221-1/+4
|
* configure: add missing m4/ax_compile_check_sizeof.m4Daniel Stenberg2018-05-221-0/+115
| | | | follow-up to mistake in 6876ccf90b4
* schannel: make CAinfo parsing resilient to CR/LFJohannes Schindelin2018-05-221-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | OpenSSL has supported --cacert for ages, always accepting LF-only line endings ("Unix line endings") as well as CR/LF line endings ("Windows line endings"). When we introduced support for --cacert also with Secure Channel (or in cURL speak: "WinSSL"), we did not take care to support CR/LF line endings, too, even if we are much more likely to receive input in that form when using Windows. Let's fix that. Happily, CryptQueryObject(), the function we use to parse the ca-bundle, accepts CR/LF input already, and the trailing LF before the END CERTIFICATE marker catches naturally any CR/LF line ending, too. So all we need to care about is the BEGIN CERTIFICATE marker. We do not actually need to verify here that the line ending is CR/LF. Just checking for a CR or an LF is really plenty enough. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Closes https://github.com/curl/curl/pull/2592
* CURLOPT_ACCEPT_ENCODING.3: add brotli and clarify a bitDaniel Stenberg2018-05-221-6/+14
|
* RELEASE-NOTES: syncedDaniel Stenberg2018-05-221-4/+24
|
* KNOWN_BUGS: mention the -O with %-encoded file namesDaniel Stenberg2018-05-211-2/+9
| | | | Closes #2573
* checksrc: make sure sizeof() is used *with* parenthesesDaniel Stenberg2018-05-2125-64/+77
| | | | | | ... and unify the source code to adhere. Closes #2563
* curl: added --styled-outputDaniel Stenberg2018-05-217-5/+19
| | | | | | | It is enabled by default, so --no-styled-output will switch off the detection/use of bold headers. Closes #2538
* curl: show headers in boldDaniel Stenberg2018-05-2122-55/+81
| | | | | | | | | | | | | | | | | | The feature is only enabled if the output is believed to be a tty. -J: There's some minor differences and improvements in -J handling, as now J should work with -i and it actually creates a file first using the initial name and then *renames* that to the one found in Content-Disposition (if any). -i: only shows headers for HTTP transfers now (as documented). Previously it would also show for pieces of the transfer that were HTTP (for example when doing FTP over a HTTP proxy). -i: now shows trailers as well. Previously they were not shown at all. --libcurl: the CURLOPT_HEADER is no longer set, as the header output is now done in the header callback.
* configure: compile-time SIZEOF checksDaniel Stenberg2018-05-211-8/+8
| | | | | | | | | ... instead of exeucting code to get the size. Removes the use of LD_LIBRARY_PATH for this. Fixes #2586 Closes #2589 Reported-by: Bernhard Walle
* configure: replace AC_TRY_RUN with CURL_RUN_IFELSEDaniel Stenberg2018-05-212-3/+4
| | | | | | | | ... and export LD_LIBRARY_PATH properly. This is a follow-up from 2d4c215. Fixes #2586 Reported-by: Bernhard Walle
* docs: clarify CURLOPT_HTTPGET somewhatDaniel Stenberg2018-05-213-9/+14
| | | | | Reported-by: bsammon on github Fixes #2590
* curl_fnmatch: only allow two asterisks for matchingDaniel Stenberg2018-05-183-7/+3
| | | | | | | | | | | | | The previous limit of 5 can still end up in situation that takes a very long time and consumes a lot of CPU. If there is still a rare use case for this, a user can provide their own fnmatch callback for a version that allows a larger set of wildcards. This commit was triggered by yet another OSS-Fuzz timeout due to this. Bug: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8369 Closes #2587
* checksrc: fix too long lineDaniel Stenberg2018-05-181-1/+1
| | | | follow-up to e05ad5d
* docs: mention HAproxy protocol "version 1"Aleks2018-05-186-10/+10
| | | | | | ...as there's also a version 2. Closes #2579
* examples/progressfunc: make it build on older libcurlsDaniel Stenberg2018-05-181-10/+29
| | | | | | | | This example was changed in ce2140a8c1 to use the new microsecond based getinfo option. This change makes it conditionally keep using the older option so that the example still builds with older libcurl versions. Closes #2584
* stub_gssapi: fix numerous 'unused parameter' warningsDaniel Stenberg2018-05-181-2/+50
| | | | follow-up to d9e92fd9fd1d
* getinfo: add microsecond precise timers for various intervalsPhilip Prindeville2018-05-1723-56/+585
| | | | | | | | | | | | | | | | | Provide a set of new timers that return the time intervals using integer number of microseconds instead of floats. The new info names are as following: CURLINFO_APPCONNECT_TIME_T CURLINFO_CONNECT_TIME_T CURLINFO_NAMELOOKUP_TIME_T CURLINFO_PRETRANSFER_TIME_T CURLINFO_REDIRECT_TIME_T CURLINFO_STARTTRANSFER_TIME_T CURLINFO_TOTAL_TIME_T Closes #2495
* openssl: acknowledge --tls-max for default version tooDaniel Stenberg2018-05-171-2/+1
| | | | | | | | | ... previously it only used the max setting if a TLS version was also explicitly asked for. Reported-by: byte_bucket Fixes #2571 Closes #2572
* bump: start working on the pending 7.61.0Daniel Stenberg2018-05-172-231/+13
|
* tests/libtest/Makefile: Do not unconditionally add gcc-specific flagsDagobert Michelsen2018-05-161-1/+1
| | | | | | The warning flag leads e.g. Sun Studio compiler to bail out. Closes #2576
* schannel_verify: fix build for non-schannelDaniel Stenberg2018-05-161-2/+1
|
* rand: fix typoJay Satiro2018-05-161-1/+1
|
* schannel: disable manual verify if APIs not availableJay Satiro2018-05-163-4/+37
| | | | | .. because original MinGW and old compilers do not have the Windows API definitions needed to support manual verification.
* schannel: disable client cert option if APIs not availableArchangel_SDY2018-05-161-0/+15
| | | | | | | Original MinGW targets Windows 2000 by default, which lacks some APIs and definitions for this feature. Disable it if these APIs are not available. Closes https://github.com/curl/curl/pull/2522
* RELEASE-NOTES: 7.60.0 releasecurl-7_60_0Daniel Stenberg2018-05-151-14/+35
|