- 09 Jan, 2018 2 commits
-
-
Dimitrios Apostolou authored
__SIZEOF_LONG__ was introduced in GCC 4.4, __LONG_MAX__ was introduced in GCC 3.3. Closes #2216
-
Daniel Stenberg authored
-
- 08 Jan, 2018 1 commit
-
-
Daniel Stenberg authored
to increase accuracy for quick transfers Fixes #2200 Closes #2206
-
- 07 Jan, 2018 2 commits
-
-
Jay Satiro authored
- Enable execute permission (chmod +x) - Change interpreter to /usr/bin/env perl Closes https://github.com/curl/curl/pull/2222
-
Jay Satiro authored
-
- 06 Jan, 2018 1 commit
-
-
Jay Satiro authored
.. because limits.h presence isn't optional, it's required by C89. Ref: http://port70.net/~nsz/c/c89/c89-draft.html#2.2.4.2 Closes https://github.com/curl/curl/pull/2215
-
- 03 Jan, 2018 1 commit
-
-
Jay Satiro authored
- Free the copy of SSLKEYLOGFILE env returned by curl_getenv during ossl initialization. Caught by ASAN.
-
- 02 Jan, 2018 1 commit
-
-
Jay Satiro authored
This reverts commit c97648b5. SIZEOF_LONG should not be checked in system.h since that macro is only defined when building libcurl. Ref: https://github.com/curl/curl/pull/2186#issuecomment-354767080 Ref: https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
-
- 30 Dec, 2017 2 commits
-
-
Michael Kaufmann authored
-
Michael Kaufmann authored
-
- 29 Dec, 2017 1 commit
-
-
Daniel Stenberg authored
Reported-by: Pete Lomax Bug: https://curl.haxx.se/mail/lib-2017-12/0074.html
-
- 27 Dec, 2017 1 commit
-
-
Mikalai Ananenka authored
Decoding loop implementation did not concern the case when all received data is consumed by Brotli decoder and the size of decoded data internally hold by Brotli decoder is greater than CURL_MAX_WRITE_SIZE. For content with unencoded length greater than CURL_MAX_WRITE_SIZE this can result in the loss of data at the end of content. Closes #2194
-
- 26 Dec, 2017 2 commits
-
-
Jay Satiro authored
- Ignore X509_R_CERT_ALREADY_IN_HASH_TABLE errors in the CTX callback since it's possible the cert may have already been loaded by libcurl. - Remove the EXAMPLE code in the CURLOPT_SSL_CTX_FUNCTION.3 doc. Instead have it direct the reader to this cacertinmem.c example. - Fix the CA certificate to use the right CA for example.com, Digicert. Bug: https://curl.haxx.se/mail/lib-2017-12/0057.html Reported-by: Thomas van Hesteren Closes https://github.com/curl/curl/pull/2182
-
Gisle Vanem authored
- Move the size modifier detection code from limit-rate to its own function so that it can also be used with max-filesize. Size modifiers are the suffixes such as G (gigabyte), M (megabyte) etc. For example --max-filesize 1G Ref: https://curl.haxx.se/mail/archive-2017-12/0000.html Closes https://github.com/curl/curl/pull/2179
-
- 22 Dec, 2017 8 commits
-
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Steve Holme authored
-
Dimitrios Apostolou authored
Closes https://github.com/curl/curl/pull/2186
-
Mattias Fornander authored
Closes https://github.com/curl/curl/pull/2185
-
- 20 Dec, 2017 3 commits
-
-
Patrick Monnerat authored
Move curl_mime_initpart() and curl_mime_cleanpart() calls to lower-level functions dealing with UserDefined structure contents. This avoids memory leakages on curl-generated part mime headers. New test 2073 checks this using the cli tool --next option: it triggers a valgrind error if bug is present. Bug: https://curl.haxx.se/mail/lib-2017-12/0060.html Reported-by: Martin Galvan
-
Patrick Monnerat authored
- When zlib version is < 1.2.0.4, process gzip trailer before considering extra data as an error. - Inflate with Z_BLOCK instead of Z_SYNC_FLUSH to maximize correct data and minimize corrupt data output. - Do not try to restart deflate decompression in raw mode if output has started or if the leading data is not available anymore. - New test 232 checks inflating raw-deflated content. Closes #2068
-
Patrick Monnerat authored
Some error codes were not yet defined in brotli 0.6.0: do not issue code for them in this case.
-
- 13 Dec, 2017 1 commit
-
-
Daniel Stenberg authored
Bug: #2175 [ci skip]
-
- 12 Dec, 2017 10 commits
-
-
Daniel Stenberg authored
scan-build would warn on a potential access of an uninitialized buffer. I deem it a false positive and had to add this somewhat ugly work-around to silence it.
-
Daniel Stenberg authored
A scan-build warning.
-
Daniel Stenberg authored
This broke in 07cb27c9. Make sure to return 'result' properly. Pointed out by scan-build!
-
Daniel Stenberg authored
Bug: #2174
-
Michael Kaufmann authored
Follow-up to c92d2e14 Closes #2172
-
Daniel Stenberg authored
... to make it clearer that the options want address-only, while the headers in an email can also have the real name. Assisted-by: Sean MacLennan
-
Daniel Stenberg authored
... as I reran the contrithanks script after the mailmap name fixups.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
... for the CURLOPT_TIMEOUT, CURLOPT_CONNECTTIMEOUT and CURLOPT_SERVER_RESPONSE_TIMEOUT range checks. Reported-by: Dominik Hölzl Bug: https://curl.haxx.se/mail/lib-2017-12/0037.html Closes #2173
-
dmitrykos authored
Fixed undefined symbol of getenv() which does not exist when compiling for Windows 10 App (CURL_WINDOWS_APP). Replaced getenv() with curl_getenv() which is aware of getenv() absence when CURL_WINDOWS_APP is defined. Closes #2171
-
- 11 Dec, 2017 4 commits
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Suggested-by: Rainer Canavan Closes #2126
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-