- Nov 21, 2017
-
-
Daniel Stenberg authored
Fixes a scan-build warning.
-
Daniel Stenberg authored
-
- Nov 20, 2017
-
-
Daniel Stenberg authored
-
- Nov 18, 2017
-
-
fmmedeiros authored
- Add braces around multi-line if statement. Closes https://github.com/curl/curl/pull/2096
-
- Nov 17, 2017
-
-
Daniel Stenberg authored
... so that IPv6 addresses can be passed like they can for connect-to and how they're used in URLs. Added test 1324 to verify Reported-by: Alex Malinovich Fixes #2087 Closes #2091
-
- Nov 15, 2017
-
-
Pavol Markovic authored
The previous fix https://github.com/curl/curl/pull/1788 worked just for Xcode 9. This commit extends the fix to older Xcode versions effectively by not using connectx function. Fixes https://github.com/curl/curl/issues/1330 Fixes https://github.com/curl/curl/issues/2080 Closes https://github.com/curl/curl/pull/1336 Closes #2082
-
Dirk Feytons authored
Fixes #2079 Closes #2081
-
- Nov 14, 2017
-
-
Daniel Stenberg authored
Closes #1455
-
Daniel Stenberg authored
-
Michael Kaufmann authored
Follow-up to aadb7c7b. Verified by new test 1263. Closes #2072
-
Daniel Stenberg authored
-
- Nov 13, 2017
-
-
Patrick Monnerat authored
There is a conflict on symbol 'free_func' between openssl/crypto.h and zlib.h on AIX. This is an attempt to resolve it. Bug: https://curl.haxx.se/mail/lib-2017-11/0032.html Reported-By: Michael Felt
-
Daniel Stenberg authored
Reported-by: Brian Carpenter
-
- Nov 12, 2017
-
-
Orgad Shaneh authored
Closes #2071
-
- Nov 11, 2017
-
-
hsiao yi authored
Closes #2069
-
- Nov 10, 2017
-
-
Daniel Stenberg authored
... to make url.c smaller. Closes #1944
-
John Starks authored
Ensure HAVE_SETMODE is set to 1 on OSes that have setmode. Without this, curl will corrupt binary files when writing them to stdout on Windows. Closes https://github.com/curl/curl/pull/2067
-
Daniel Stenberg authored
CID 984459, detected by Coverity
-
John Starks authored
Update CMakeLists.txt to add curl.rc to the correct list.
-
- Nov 09, 2017
-
-
Daniel Stenberg authored
-
Luca Boccassi authored
The --interface command (CURLOPT_INTERFACE option) already uses SO_BINDTODEVICE on Linux, but it tries to parse it as an interface or IP address first, which fails in case the user passes a VRF. Try to use the socket option immediately and parse it as a fallback instead. Update the documentation to mention this feature, and that it requires the binary to be ran by root or with CAP_NET_RAW capabilities for this to work. Closes #2024
-
Daniel Stenberg authored
Closes #2043
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
As documented in RFC 3501 section 9: https://tools.ietf.org/html/rfc3501#section-9 Closes #2061
-
Daniel Stenberg authored
... previously it would store it already in the happy eyeballs stage which could lead to the IPv6 bit being set for an IPv4 connection, leading to curl not wanting to do EPSV=>PASV for FTP transfers. Closes #2053
-
Daniel Stenberg authored
... even when there's no socket to wait for, the timeout can still be very short.
-
Jay Satiro authored
- Don't call zlib's inflate() when avail_in stream bytes is 0. This is a follow up to the parent commit 19e66e53. Prior to that change libcurl's inflate_stream could call zlib's inflate even when no bytes were available, causing inflate to return Z_BUF_ERROR, and then inflate_stream would treat that as a hard error and return CURLE_BAD_CONTENT_ENCODING. According to the zlib FAQ, Z_BUF_ERROR is not fatal. This bug would happen randomly since packet sizes are arbitrary. A test of 10,000 transfers had 55 fail (ie 0.55%). Ref: https://zlib.net/zlib_faq.html#faq05 Closes https://github.com/curl/curl/pull/2060
-
- Nov 07, 2017
-
-
Patrick Monnerat authored
-
- Nov 06, 2017
-
-
Daniel Stenberg authored
There was a duplicate check for backslashes in the setcharset() function. Coverity CID 1420611
-
Daniel Stenberg authored
Since 'conn' won't be NULL in there and we also access the pointer in there without the check. Coverity CID 1420610
-
Viktor Szakats authored
Ref cc1f4436
-
- Nov 05, 2017
-
-
Viktor Szakats authored
It adds the ability to link against static brotli libs. Also fix brotli include path.
-
Patrick Monnerat authored
-
Viktor Szakats authored
-
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
-