summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* lib: include curl_printf.h as one of the last headersDaniel Stenberg2016-04-2949-103/+90
| | | | | | | | | | | | | | | | | | | | curl_printf.h defines printf to curl_mprintf, etc. This can cause problems with external headers which may use __attribute__((format(printf, ...))) markers etc. To avoid that they cause problems with system includes, we include curl_printf.h after any system headers. That makes the three last headers to always be, and we keep them in this order: curl_printf.h curl_memory.h memdebug.h None of them include system headers, they all do funny #defines. Reported-by: David Benjamin Fixes #743
* memdebug.h: remove inclusion of other headersDaniel Stenberg2016-04-291-4/+0
| | | | | | | | | Mostly because they're not needed, because memdebug.h is always included last of all headers so the others already included the correct ones. But also, starting now we don't want this to accidentally include any system headers, as the header included _before_ this header may add defines and other fun stuff that we won't want used in system includes.
* curl -J: make it work even without http:// scheme on URLJay Satiro2016-04-292-2/+5
| | | | | | | | | | | | | It does open up a miniscule risk that one of the other protocols that libcurl could use would send back a Content-Disposition header and then curl would act on it even if not HTTP. A future mitigation for this risk would be to allow the callback to ask libcurl which protocol is being used. Verified with test 1312 Closes #760
* manpage-scan.pl: also verify the command line option docsDaniel Stenberg2016-04-291-1/+161
| | | | | | This script now also scans src/tool_getparam.c, docs/curl.1 and src/tool_help.c and will warn if any of them lists a command line option not mentioned in one of the other places.
* curl: show the long option version of -q in the -h listDaniel Stenberg2016-04-291-1/+1
|
* curl: remove "--socks" as "--socks5" turned 8Daniel Stenberg2016-04-291-3/+0
| | | | | | In commit 2e42b0a2524 (Jan 2008) we made the option "--socks" deprecated and it has not been documented since. The more explicit socks options (like --socks4 or --socks5) should be used.
* curl.1: document the deprecated --ftp-ssl optionDaniel Stenberg2016-04-291-2/+3
|
* curl: remove --http-requestDaniel Stenberg2016-04-291-2/+0
| | | | | It was mentioned as deprecated already in commit ae1912cb0d4 from 1999. It has not been documented in this millennium.
* curl: mention --ntlm-wb in -h listDaniel Stenberg2016-04-291-0/+1
|
* curl: -h output lacked --proxy-headerDaniel Stenberg2016-04-291-1/+2
|
* curl.1: document --ntlm-wbDaniel Stenberg2016-04-291-0/+4
|
* curl.1: document the long format of -q: --disableDaniel Stenberg2016-04-291-1/+1
|
* curl.1: mention the deprecated --krb4 optionDaniel Stenberg2016-04-291-0/+2
|
* curl.1: document --ftp-ssl-reqdDaniel Stenberg2016-04-291-2/+4
| | | | | Even if deprecated, document it so that people will find it as old scripts may still use it.
* curl: use --telnet-option as documentedDaniel Stenberg2016-04-291-2/+1
| | | | | | The code said "telnet-options" but no documentation ever said so. It worked fine since the code is fine with a unique match of the first part.
* getparam: remove support for --ftpportDaniel Stenberg2016-04-291-2/+0
| | | | | It has been deprecated and undocumented since commit ad5ead8bed7 (Dec 2003). --ftp-port is the proper long option name.
* curl: make --disable work as long form of -qDaniel Stenberg2016-04-291-1/+3
| | | | To make the aliases list reflect reality.
* aliases: remove trailing space from capath stringDaniel Stenberg2016-04-291-1/+1
|
* cmdline parse: only single letter options have single-letter stringsDaniel Stenberg2016-04-291-9/+8
| | | | | ... moved around options so that parsing the code to find all single-letter options easier.
* CURLINFO_TLS_SSL_PTR.3: Clarify SSL pointer availabilityJay Satiro2016-04-281-1/+2
| | | | | Bug: https://curl.haxx.se/mail/lib-2016-04/0126.html Reported-by: Bru Rom
* curl_easy_getinfo.3: remove superfluous blank linesDaniel Stenberg2016-04-281-46/+0
|
* test1139: verifies libcurl option man page presenceDaniel Stenberg2016-04-283-1/+154
| | | | | | | - checks that each option has its own man page present - checks that each option is mentioned in its corresponding index man page
* curl_easy_getinfo.3: added missing mention of CURLINFO_TLS_SESSIONDaniel Stenberg2016-04-281-1/+6
| | | | ... although it is deprecated.
* mbedtls: Fix session resumeJay Satiro2016-04-285-74/+62
| | | | | | | | | | | | | This also fixes PolarSSL session resume. Prior to this change the TLS session information wasn't properly saved and restored for PolarSSL and mbedTLS. Bug: https://curl.haxx.se/mail/lib-2016-01/0070.html Reported-by: Thomas Glanzmann Bug: https://curl.haxx.se/mail/lib-2016-04/0095.html Reported-by: Moti Avrahami
* RELEASE-NOTES: synced with f4298fcc6d2Daniel Stenberg2016-04-271-5/+13
|
* opts: Fix some syntax errors in example code fragmentsMichael Kaufmann2016-04-273-4/+6
| | | | Fixes #779
* openssl: avoid BN_print a NULL bignumDaniel Stenberg2016-04-261-1/+2
| | | | | | | OpenSSL 1.1.0-pre seems to return NULL(?) for a whole lot of those numbers so make sure the function handles this. Reported-by: Linus Nordberg
* CONNECT_ONLY: don't close connection on GSS 401/407 reponsesMarcel Raad2016-04-261-2/+4
| | | | | | | | | | | Previously, connections were closed immediately before the user had a chance to extract the socket when the proxy required Negotiate authentication. This regression was brought in with the security fix in commit 79b9d5f1a42578f Closes #655
* CURLINFO_TLS_SESSION.3: clarify TLS library support before 7.48.0Daniel Stenberg2016-04-261-1/+2
|
* mbedtls.c: silly spellfix of a commentDaniel Stenberg2016-04-261-1/+1
|
* KNOWN_BUGS: 1.10 Strips trailing dot from host nameDaniel Stenberg2016-04-261-0/+36
| | | | Closes #716
* test1322: verify stripping of trailing dot from host nameDaniel Stenberg2016-04-252-2/+59
| | | | | | | While being debated (in #716) and a violation of RFC 7230 section 5.4, this test verifies that the existing functionality works as intended. It strips the dot from the host name and uses the host without dot throughout the internals.
* multi: accidentally used resolved host name instead of proxyDaniel Stenberg2016-04-251-2/+4
| | | | | | | Regression introduced in 09b5a998 Bug: https://curl.haxx.se/mail/lib-2016-04/0084.html Reported-by: BoBo
* symbols-in-versions: added new CURLSSLBACKEND_ symbolsDaniel Stenberg2016-04-251-0/+3
|
* test148: fixed after the --ftp-create-dirs retry changeDaniel Stenberg2016-04-251-0/+1
| | | | follow-up commit to 3c1e84f569 as it made curl try a little harder
* curl.h: clarify curl_sslbackend for openssl clones and renamesDaniel Stenberg2016-04-251-0/+5
|
* url.c: fixed DEBUGASSERT() for WinSock workaroundKarlson2k2016-04-251-1/+3
| | | | | | | If buffer is allocated, but nothing is received during prereceive stage, than number of processed bytes must be zero. Closes #778
* KNOWN_BUGS: --interface for ipv6 binds to unusable IP addressDaniel Stenberg2016-04-251-0/+15
| | | | Closes #686 for now.
* TODO: 1.17 Add support for IRIsDaniel Stenberg2016-04-241-0/+11
| | | | | | | | Adding support for IRIs is a mouthful, but is probably interesting at least for areas and countries where the use of such "URLs" are growing popularity. Closes #776
* THANKS-filter: Travis BurtrumDaniel Stenberg2016-04-241-0/+1
|
* lib1517: checksrc complianceDaniel Stenberg2016-04-241-2/+3
|
* PolarSSL: Implement public key pinningmoparisthebest2016-04-245-7/+89
|
* os400: upgrade ILE/RPG bindingPatrick Monnerat2016-04-221-0/+6
|
* curl.h: CURLOPT_CONNECT_TO sets a struct slist *, not a stringPatrick Monnerat2016-04-221-1/+1
|
* contributors.sh: make --releasenotes impliedDaniel Stenberg2016-04-221-12/+4
| | | | It got too annoying to type =)
* RELEASE-NOTES: synced with 3c1e84f5693d8093Daniel Stenberg2016-04-221-5/+19
|
* curl: make --ftp-create-dirs retry on failureDaniel Stenberg2016-04-221-2/+5
| | | | | | | | | | | | The underlying libcurl option used for this feature is CURLOPT_FTP_CREATE_MISSING_DIRS which has the ability to retry the dir creation, but it was never set to do that by the command line tool. Now it does. Bug: https://curl.haxx.se/mail/archive-2016-04/0021.html Reported-by: John Wanghui Help-by: Leif W
* winbuild: add mbedtls supportHenrik Gaßmann2016-04-213-2/+30
| | | | | | | Add WITH_MBEDTLS option. Make WITH_SSL, WITH_MBEDTLS and ENABLE_WINSSL options mutual exclusive. Closes #606
* KNOWN_BUGS: fixed "5.6 Improper use of Autoconf cache variables"Daniel Stenberg2016-04-211-8/+0
| | | | As of commit d9f3b365a3
* configure: ac_cv_ -> curl_cv_ for write-only varsIrfan Adilovic2016-04-212-107/+107
| | | | | | | | | | | | | | | | | | | These configure vars are modified in a curl-specific way but never evaluated or loaded from cache, even though they are designated as _cv_. We could either implement proper AC_CACHE_CHECKs for them, or remove them completely. Fixes #603 as ac_cv_func_gethostbyname is no longer clobbered, and AC_CHECK_FUNC(gethostbyname...) will no longer spuriously succeed after the first configure run with caching. `ac_cv_func_strcasecmp` is curious, see #770. `eval "ac_cv_func_$func=yes"` can still cause problems as it works in tandem with AC_CHECK_FUNCS and then potentially modifies its result. It would be best to rewrite this test to use a new CURL_CHECK_FUNCS macro, which works the same as AC_CHECK_FUNCS but relies on caching the values of curl_cv_func_* variables, without modifiying ac_cv_func_*.