summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* imap: use defined names for response codesbagder/imap-responsesDaniel Stenberg2017-08-241-20/+18
| | | | | When working on this code I found the previous setup a bit weird while using proper defines increases readability.
* CURLOPT_USERPWD.3: see also CURLOPT_PROXYUSERPWDDaniel Stenberg2017-08-241-0/+1
|
* imap: support PREAUTHDaniel Stenberg2017-08-234-12/+68
| | | | | | | | | | | It is a defined possible greeting at server startup that means the connection is already authenticated. See https://tools.ietf.org/html/rfc3501#section-7.1.4 Test 846 added to verify. Fixes #1818 Closes #1820
* config-tpf: define SIZEOF_LONGJay Satiro2017-08-231-0/+3
| | | | | | | | Recent changes that replaced CURL_SIZEOF_LONG in the source with SIZEOF_LONG broke builds that use the premade configuration files and don't have SIZEOF_LONG defined. Bug: https://github.com/curl/curl/issues/1816
* test1453: Fixed <features>Dan Fandrich2017-08-231-1/+1
|
* config-dos: add missing defines, SIZEOF_* and two othersGisle Vanem2017-08-221-1/+5
| | | | Bug: #1816
* curl: shorten and clean up CA cert verification error messageDaniel Stenberg2017-08-221-21/+7
| | | | | | | | | | The previous message was just too long for ordinary people and it was encouraging users to use `--insecure` a little too easy. Based-on-work-by: Frank Denis Closes #1810 Closes #1817
* request-target.d: mention added in 7.55.0Daniel Stenberg2017-08-221-0/+1
|
* tool_main: turn off MinGW CRT's globbingMarcel Raad2017-08-221-0/+9
| | | | | | | | | By default, the MinGW CRT globs command-line arguments. This prevents getting a single asterisk into an argument as test 1299 does. Turn off globbing by setting the global variable _CRT_glob to 0 for MinGW. Fixes https://github.com/curl/curl/issues/1751 Closes https://github.com/curl/curl/pull/1813
* makefile.m32: add support for libidn2Viktor Szakats2017-08-222-17/+17
| | | | | | | | libidn was replaced with libidn2 last year in configure. Caveat: libidn2 may depend on a list of further libs. These can be manually specified via CURL_LDFLAG_EXTRAS. Closes https://github.com/curl/curl/pull/1815
* config-win32: define SIZEOF_LONGViktor Szakats2017-08-222-0/+6
| | | | | | | | Recent changes that replaced CURL_SIZEOF_LONG in the source with SIZEOF_LONG broke builds that use the premade configuration files and don't have SIZEOF_LONG defined. Closes https://github.com/curl/curl/pull/1814
* cmake: enable picky compiler options with clang and gccDaniel Stenberg2017-08-201-0/+15
| | | | closes #1799
* curl/system.h: fix build for hppaDaniel Stenberg2017-08-201-1/+1
| | | | | Reported-by: John David Anglin Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872502#10
* tftp: fix memory leak on too long filenameEven Rouault2017-08-193-1/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes $ valgrind --leak-check=full ~/install-curl-git/bin/curl tftp://localhost/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaz ==9752== Memcheck, a memory error detector ==9752== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==9752== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==9752== Command: /home/even/install-curl-git/bin/curl tftp://localhost/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaz ==9752== curl: (71) TFTP file name too long ==9752== ==9752== HEAP SUMMARY: ==9752== 505 bytes in 1 blocks are definitely lost in loss record 11 of 11 ==9752== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9752== by 0x4E61CED: Curl_urldecode (in /home/even/install-curl-git/lib/libcurl.so.4.4.0) ==9752== by 0x4E75868: tftp_state_machine (in /home/even/install-curl-git/lib/libcurl.so.4.4.0) ==9752== by 0x4E761B6: tftp_do (in /home/even/install-curl-git/lib/libcurl.so.4.4.0) ==9752== by 0x4E711B6: multi_runsingle (in /home/even/install-curl-git/lib/libcurl.so.4.4.0) ==9752== by 0x4E71D00: curl_multi_perform (in /home/even/install-curl-git/lib/libcurl.so.4.4.0) ==9752== by 0x4E6950D: curl_easy_perform (in /home/even/install-curl-git/lib/libcurl.so.4.4.0) ==9752== by 0x40E0B7: operate_do (in /home/even/install-curl-git/bin/curl) ==9752== by 0x40E849: operate (in /home/even/install-curl-git/bin/curl) ==9752== by 0x402693: main (in /home/even/install-curl-git/bin/curl) Fixes https://oss-fuzz.com/v2/testcase-detail/5232311106797568 Credit to OSS Fuzz Closes #1808
* runtests: fixed case insensitive matching of keywordsDan Fandrich2017-08-191-1/+1
| | | | | Commit 5c2aac71 didn't work in the case of mixed-case keywords given on the command-line.
* tests: Make sure libtests call curl_global_cleanup()Dan Fandrich2017-08-196-18/+28
| | | | | This ensures that global data allocations are freed so Valgrind stays happy. This was a problem with at least PolarSSL and mbedTLS.
* RELEASE-NOTES: synced with 8baead425Daniel Stenberg2017-08-181-5/+41
|
* scripts/contri*sh: use "git log --use-mailmap"Daniel Stenberg2017-08-182-2/+2
|
* mailmap: de-duplify some git authorsDaniel Stenberg2017-08-181-0/+26
|
* http2_recv: return error better on fatal h2 errorsDaniel Stenberg2017-08-181-2/+2
| | | | | Ref #1012 Figured-out-by: Tatsuhiro Tsujikawa
* KNOWN_BUGS: HTTP test server 'connection-monitor' problemsDaniel Stenberg2017-08-181-0/+8
| | | | Closes #868
* curl/system.h: check for __ppc__ as wellDaniel Stenberg2017-08-181-2/+2
| | | | | | | | | | ... regression since issue #1774 (commit 10b3df10596a) since obviously some older gcc doesn't know __powerpc__ while some newer doesn't know __ppc__ ... Fixes #1797 Closes #1798 Reported-by: Ryan Schmidt
* http: Don't wait on CONNECT when there is no proxyJan Alexander Steffens (heftig)2017-08-181-1/+1
| | | | | | | | | | | | | | | Since curl 7.55.0, NetworkManager almost always failed its connectivity check by timeout. I bisected this to 5113ad04 (http-proxy: do the HTTP CONNECT process entirely non-blocking). This patch replaces !Curl_connect_complete with Curl_connect_ongoing, which returns false if the CONNECT state was left uninitialized and lets the connection continue. Closes #1803 Fixes #1804 Also-fixed-by: Gergely Nagy
* metalink: adjust source code styleJohannes Schindelin2017-08-181-1/+1
| | | | Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
* CURL_SIZEOF_LONG: removed, use only SIZEOF_LONGDaniel Stenberg2017-08-175-30/+11
|
* lib557: no longer use CURL_SIZEOF_* definesDaniel Stenberg2017-08-171-11/+11
|
* config-win32: define SIZEOF_CURL_OFF_TDaniel Stenberg2017-08-171-0/+3
|
* cmake: sizeof curl_off_t, remove unused detectionsDaniel Stenberg2017-08-172-44/+10
|
* system.h: remove all CURL_SIZEOF_* definesDaniel Stenberg2017-08-179-412/+27
| | | | | | | ... as they're not used externally and internally we check for the sizes already in configure etc. Closes #1767
* ftp: fix CWD when doing multicwd then nocwd on same connectionDaniel Stenberg2017-08-174-2/+69
| | | | | | Fixes #1782 Closes #1787 Reported-by: Peter Lamare
* CURLOPT_SSH_COMPRESSION.3: enable with 1LDaniel Stenberg2017-08-171-4/+4
| | | | (leaves other values reserved for the future)
* compressed-ssh.d: "Added: 7.56.0"Daniel Stenberg2017-08-171-0/+1
|
* curl/system.h: checksrc complianceDaniel Stenberg2017-08-171-4/+6
|
* ssh: add the ability to enable compression (for SCP/SFTP)Viktor Szakats2017-08-1717-2/+140
| | | | | | | | | | | | | | | | | | The required low-level logic was already available as part of `libssh2` (via `LIBSSH2_FLAG_COMPRESS` `libssh2_session_flag()`[1] option.) This patch adds the new `libcurl` option `CURLOPT_SSH_COMPRESSION` (boolean) and the new `curl` command-line option `--compressed-ssh` to request this `libssh2` feature. To have compression enabled, it is required that the SSH server supports a (zlib) compatible compression method and that `libssh2` was built with `zlib` support enabled. [1] https://www.libssh2.org/libssh2_session_flag.html Ref: https://github.com/curl/curl/issues/1732 Closes https://github.com/curl/curl/pull/1735
* examples/ftpuploadresume: checksrc complianceJay Satiro2017-08-161-1/+2
|
* http_proxy: fix build error for CURL_DOES_CONVERSIONSMaksim Stsepanenka2017-08-161-1/+2
| | | | Closes https://github.com/curl/curl/pull/1793
* configure: check for __builtin_available() availability (#1788)Nick Zitzmann2017-08-163-10/+46
| | | | | | | This change does two things: 1. It un-breaks the build in Xcode 9.0. (Xcode 9.0 is currently failing trying to compile connectx() in lib/connect.c.) 2. It finally weak-links the connectx() function, and falls back on connect() when run on older operating systems.
* travis: add metalink to some osx buildsDaniel Stenberg2017-08-161-4/+4
| | | | Closes #1790
* coverage: Use two coveralls commands to get lib/vtls resultsMax Dymond2017-08-161-1/+2
| | | | closes #1747
* darwinssi: fix error: variable length array usedDaniel Stenberg2017-08-161-1/+1
|
* m4/curl-compilers.m4: use proper quotes around string, not backticksDaniel Stenberg2017-08-161-1/+1
| | | | | | ... when setting clang version to assume 3.7 Caused a lot of "integer expression expected" warnings by configure.
* cmake: remove dead code for DISABLED_THREADSAFEBenbuck Nason2017-08-152-5/+0
| | | | Closes #1786
* curl-confopts.m4: fix --disable-threaded-resolverJakub Zakrzewski2017-08-151-4/+4
| | | | Closes https://github.com/curl/curl/issues/1784
* progress: Track total times following redirectsRyan Winograd2017-08-157-58/+69
| | | | | | | | | | | | | | | | | | | | | | Update the progress timers `t_nslookup`, `t_connect`, `t_appconnect`, `t_pretransfer`, and `t_starttransfer` to track the total times for these activities when a redirect is followed. Previously, only the times for the most recent request would be tracked. Related changes: - Rename `Curl_pgrsResetTimesSizes` to `Curl_pgrsResetTransferSizes` now that the function only resets transfer sizes and no longer modifies any of the progress timers. - Add a bool to the `Progress` struct that is used to prevent double-counting `t_starttransfer` times. Added test case 1399. Fixes #522 and Known Bug 1.8 Closes #1602 Reported-by: joshhe on github
* cmake: remove dead code for CURL_DISABLE_RTMPBenbuck Nason2017-08-152-6/+0
| | | | Closes #1785
* zsh.pl: produce a working completion script againKamil Dudka2017-08-153-4/+5
| | | | | | | | | | | Commit curl-7_54_0-118-g8b2f22e changed the output format of curl --help to use <file> and <dir> instead of FILE and DIR, which caused zsh.pl to produce a broken completion script: % curl --<TAB> _curl:10: no such file or directory: seconds Closes #1779
* curlver: toward 7.56.0?Daniel Stenberg2017-08-151-4/+4
|
* RELEASE-NOTES: synced with 91c46dc44Daniel Stenberg2017-08-151-58/+15
|
* test1449: FTP download range with an too large sizeDaniel Stenberg2017-08-142-1/+39
|
* strtoofft: reduce integer overflow risks globallyDaniel Stenberg2017-08-1413-131/+196
| | | | | | | ... make sure we bail out on overflows. Reported-by: Brian Carpenter Closes #1758