Daniel Stenberg
acc2aeb407
CHECKSRC.md: clarified, explained the whitelist file
2016-05-02 11:18:59 +02:00
Daniel Stenberg
1135340214
nroff-scan.pl: verify that references are made with \fI
2016-05-02 09:09:59 +02:00
Daniel Stenberg
dac8ce9558
docs: unified man page references to use \fI
2016-05-02 09:09:59 +02:00
Daniel Stenberg
7e5f3c3781
TODO: 17.14 --fail without --location should treat 3xx as a failure
...
Closes #727
2016-05-02 08:36:54 +02:00
Daniel Stenberg
9cf8577eb3
RELEASE-NOTES: synced with 7987f5cb14
2016-05-01 23:44:02 +02:00
Isaac Boukris
7987f5cb14
CURLOPT_ACCEPT_ENCODING.3: Follow-up clarification
...
Mention possible content-length mismatch with sum of bytes reported
by write callbacks when auto decoding is enabled.
See #785
2016-05-01 23:27:01 +02:00
Daniel Stenberg
9291e2b9d0
test1140: run nroff-scan to verify man pages
2016-05-01 23:24:09 +02:00
Daniel Stenberg
2a6c34c8ad
nroff-scan.pl: verify the .BR references as well
2016-05-01 23:24:09 +02:00
Daniel Stenberg
6485d4ee9d
CURLOPT_CONV_TO_NETWORK_FUNCTION.3: fix bad man page reference
2016-05-01 23:24:09 +02:00
Daniel Stenberg
ea8694da41
CURLOPT_BUFFERSIZE.3: fix reference to CURLOPT_MAX_RECV_SPEED_LARGE
2016-05-01 23:24:09 +02:00
Daniel Stenberg
ce7aa90ade
curl_easy_pause.3: fix man page reference
2016-05-01 23:24:09 +02:00
Jay Satiro
b9728bca54
tool_cb_hdr: Fix --remote-header-name with schemeless URL
...
- Move the existing scheme check from tool_operate.
In the case of --remote-header-name we want to parse Content-disposition
for a filename, but only if the scheme is http or https. A recent
adjustment 0dc4d8e
was made to account for schemeless URLs however it's
not 100% accurate. To remedy that I've moved the scheme check to the
header callback, since at that point the library has already determined
the scheme.
Bug: https://github.com/curl/curl/issues/760
Reported-by: Kai Noda
2016-05-01 16:07:04 -04:00
Daniel Stenberg
283babfaf8
tls: make setting pinnedkey option fail if not supported
...
to make it obvious to users trying to use the feature with TLS backends
not supporting it.
Discussed in #781
Reported-by: Travis Burtrum
2016-05-01 17:05:38 +02:00
Daniel Stenberg
100c7b478f
nroff-scan.pl: verifies nroff pages
...
... not used by any test yet but can be used stand-alone.
2016-05-01 16:41:35 +02:00
Daniel Stenberg
aba4727533
opts: fix broken/bad references
2016-05-01 16:41:04 +02:00
Michael Kaufmann
6940f4b52a
docs: fix bugs in CURLOPT_HTTP_VERSION.3 and CURLOPT_PIPEWAIT.3
...
Closes #786
2016-05-01 13:32:49 +02:00
Daniel Stenberg
ffd0e6193f
CURLOPT_ACCEPT_ENCODING.3: clarified
...
As discussed in #785
2016-05-01 13:29:11 +02:00
Daniel Stenberg
22aa34f745
curl.1: --mail-rcpt can be used multiple times
...
Reported-by: mgendre
Closes #784
2016-04-30 00:15:44 +02:00
Karlson2k
50129e6a96
tests: Use 'pathhelp' for paths conversions in secureserver.pl
...
Closes #675
2016-04-29 23:43:18 +02:00
Karlson2k
4c5d5e5e55
tests: Use 'pathhelp' for paths conversions in sshserver.pl
2016-04-29 23:42:55 +02:00
Karlson2k
221deef580
tests: Use 'pathhelp' for current path in runtests.pl
2016-04-29 23:42:44 +02:00
Karlson2k
315f06f569
tests: pathhelp.pm to process paths on Msys/Cygwin
2016-04-29 23:42:28 +02:00
Daniel Stenberg
4f45240bc8
lib: include curl_printf.h as one of the last headers
...
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
2016-04-29 22:32:49 +02:00
Daniel Stenberg
63b5378a61
memdebug.h: remove inclusion of other headers
...
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.
2016-04-29 15:33:46 +02:00
Jay Satiro
0dc4d8e42e
curl -J: make it work even without http:// scheme on URL
...
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
2016-04-29 15:24:10 +02:00
Daniel Stenberg
9dbcab3a0c
manpage-scan.pl: also verify the command line option docs
...
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.
2016-04-29 00:31:37 +02:00
Daniel Stenberg
a744591d60
curl: show the long option version of -q in the -h list
2016-04-29 00:31:37 +02:00
Daniel Stenberg
ce7826f613
curl: remove "--socks" as "--socks5" turned 8
...
In commit 2e42b0a252
(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.
2016-04-29 00:31:37 +02:00
Daniel Stenberg
394d7917b7
curl.1: document the deprecated --ftp-ssl option
2016-04-29 00:31:37 +02:00
Daniel Stenberg
d0f42e5273
curl: remove --http-request
...
It was mentioned as deprecated already in commit ae1912cb0d
from
1999. It has not been documented in this millennium.
2016-04-29 00:31:37 +02:00
Daniel Stenberg
9b1ed2ea8e
curl: mention --ntlm-wb in -h list
2016-04-29 00:31:37 +02:00
Daniel Stenberg
c6eb7b6301
curl: -h output lacked --proxy-header
2016-04-29 00:31:37 +02:00
Daniel Stenberg
59a09055af
curl.1: document --ntlm-wb
2016-04-29 00:31:37 +02:00
Daniel Stenberg
51d62a6b66
curl.1: document the long format of -q: --disable
2016-04-29 00:31:37 +02:00
Daniel Stenberg
12622f3899
curl.1: mention the deprecated --krb4 option
2016-04-29 00:31:37 +02:00
Daniel Stenberg
d848be14b2
curl.1: document --ftp-ssl-reqd
...
Even if deprecated, document it so that people will find it as old
scripts may still use it.
2016-04-29 00:31:37 +02:00
Daniel Stenberg
10ea631390
curl: use --telnet-option as documented
...
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.
2016-04-29 00:31:37 +02:00
Daniel Stenberg
d6fa190503
getparam: remove support for --ftpport
...
It has been deprecated and undocumented since commit ad5ead8bed
(Dec
2003). --ftp-port is the proper long option name.
2016-04-29 00:31:37 +02:00
Daniel Stenberg
e200034425
curl: make --disable work as long form of -q
...
To make the aliases list reflect reality.
2016-04-29 00:31:37 +02:00
Daniel Stenberg
b499973c7b
aliases: remove trailing space from capath string
2016-04-29 00:31:37 +02:00
Daniel Stenberg
388c6b5e75
cmdline parse: only single letter options have single-letter strings
...
... moved around options so that parsing the code to find all
single-letter options easier.
2016-04-29 00:31:37 +02:00
Jay Satiro
7028ed6d31
CURLINFO_TLS_SSL_PTR.3: Clarify SSL pointer availability
...
Bug: https://curl.haxx.se/mail/lib-2016-04/0126.html
Reported-by: Bru Rom
2016-04-28 16:48:38 -04:00
Daniel Stenberg
9a42b061e7
curl_easy_getinfo.3: remove superfluous blank lines
2016-04-28 16:31:37 +02:00
Daniel Stenberg
6a9abbd4d4
test1139: verifies libcurl option man page presence
...
- checks that each option has its own man page present
- checks that each option is mentioned in its corresponding index man
page
2016-04-28 16:30:22 +02:00
Daniel Stenberg
220a0b065f
curl_easy_getinfo.3: added missing mention of CURLINFO_TLS_SESSION
...
... although it is deprecated.
2016-04-28 16:26:42 +02:00
Jay Satiro
9f498de9a2
mbedtls: Fix session resume
...
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
2016-04-28 02:57:38 -04:00
Daniel Stenberg
ba06adc4c5
RELEASE-NOTES: synced with f4298fcc6d
2016-04-27 15:31:38 +02:00
Michael Kaufmann
f4298fcc6d
opts: Fix some syntax errors in example code fragments
...
Fixes #779
2016-04-27 00:05:04 +02:00
Daniel Stenberg
ab691309ce
openssl: avoid BN_print a NULL bignum
...
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
2016-04-26 23:55:31 +02:00
Marcel Raad
c2b3f264cb
CONNECT_ONLY: don't close connection on GSS 401/407 reponses
...
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
79b9d5f1a4
Closes #655
2016-04-26 23:01:56 +02:00