Marcel Raad
b4d87f54d6
examples: fix Wimplicit-fallthrough warnings
...
This is contained in -Wextra with GCC 7.
2017-05-24 11:56:38 +02:00
Sergei Nikulov
63cd0d60ea
LDAP: documentation update per #878 changes ( #1506 )
2017-05-24 01:03:29 +03:00
Daniel Stenberg
bba59073c5
redirect: store the "would redirect to" URL when max redirs is reached
...
Test 1261 added to verify.
Reported-by: Lloyd Fournier
Fixes #1489
Closes #1497
2017-05-23 23:27:58 +02:00
Daniel Stenberg
e5491e0f9c
ghiper.c/hiperfifo.c: add comment about missing timer functionality
...
It takes someone to read up on the APIs of these libraries to figure out
how to do this correctly.
Reported-by: Michael Kaufmann
Closes #1253
2017-05-19 14:25:16 +02:00
Daniel Stenberg
d6bb1f1d56
asiohiper.cpp / evhiperfifo.c: deal with negative timerfunction input
...
That means delete the timer.
Reported-by: Michael Kaufmann
Ref: #1253
2017-05-19 14:16:37 +02:00
Daniel Stenberg
ce73a30168
cmdline-opts/write-out.d: s/-L/--location
...
Since the man page generator wants the long option name version to
generate the proper output.
2017-05-18 23:11:45 +02:00
Daniel Stenberg
a6f657911e
oauth2-bearer.d: mention the <token> argument
2017-05-17 10:55:12 +02:00
Daniel Stenberg
4fcc0b09fb
docs/cmdline-opts/config.d: edit for language
2017-05-16 08:49:11 +02:00
eb16305e6a
SecureTransport/DarwinSSL: Implement public key pinning
...
Closes #1400
2017-05-15 22:54:33 +02:00
Daniel Stenberg
1919569633
man pages: fix example syntax errors
...
follow-up to 5ddad099b4
2017-05-15 13:01:15 +02:00
Daniel Stenberg
5ddad099b4
docs/libcurl/opts: added more examples in man pages
2017-05-15 11:45:19 +02:00
Daniel Stenberg
e366ca2b85
CURLOPT_HTTPPROXYTUNNEL: clarify, add example
2017-05-15 10:11:23 +02:00
Dan Fandrich
d836c9fee4
url.c: add a compile-time check that CURL_MAX_WRITE_SIZE is large enough
...
Some code (e.g. Curl_fillreadbuffer) assumes that this buffer is not
exceedingly tiny and will break if it is. This same check is already
done at run time in the CURLOPT_BUFFERSIZE option.
2017-05-13 23:21:27 +02:00
Daniel Stenberg
d5649c91a1
THANKS: add a few missing names
...
... I found them in the commit logs from the early years
2017-05-13 21:14:59 +02:00
Daniel Stenberg
6d49695bca
FAQ: add 7.4 to toc
...
... and delete trailing whitespace
Fixes #1484
2017-05-12 19:58:06 +02:00
Marcel Raad
77b90997dd
cookie_interface: fix -Wcomma warning
...
clang 5.0 complains:
possible misuse of comma operator here [-Wcomma]
2017-05-11 10:04:01 +02:00
Daniel Stenberg
8b2f22ed29
curl: generate the --help output
...
... using the docs/cmdline-opts/gen.pl script, so that we get all the
command line option documentation from the same source.
The generation of the list has to be done manually and pasted into the
source code.
Closes #1465
2017-05-08 23:30:29 +02:00
Daniel Stenberg
7800730520
curl.1: depend the build on the Makefile.inc too
...
... to also make it update when we remove files, like we did for
--environment in commit a8e388dd10
.
2017-05-08 15:11:11 +02:00
Marcel Raad
d99acd937a
sendrecv: fix MinGW-w64 warning
...
The first argument to select is an int, while curl_socket_t is
unsigned long long when using WinSock. It's ignored anyway [1].
[1] https://msdn.microsoft.com/en-us/library/windows/desktop/ms740141.aspx
2017-05-07 22:14:28 +02:00
Daniel Stenberg
289236b223
opts: fix bad example formatting \n => \\n
...
...to render properly nroff.
2017-05-06 23:51:29 +02:00
Daniel Stenberg
271c63748a
opts: examples added to 8 more libcurl option man pages
2017-05-06 23:38:39 +02:00
Daniel Stenberg
a8e388dd10
curl: remove tool_writeenv.[ch]
...
... and USE_ENVIRONMENT and --environment. It was once added for RISC OS
support and its platform specific behavior has been annoying ever
since. Added in commit c3c8bbd3b2
, mostly unchanged since
then. Most probably not actually used for years.
Closes #1463
2017-05-06 23:13:08 +02:00
Daniel Stenberg
2b7bde4d3f
docs/opts: 24 more man pages now have examples
2017-05-05 17:26:08 +02:00
Daniel Stenberg
58a6265a40
docs/opts: 23 more man pages now have examples
2017-05-05 16:30:23 +02:00
Daniel Stenberg
22fdb0954c
tests/server: run checksrc by default in debug-builds
2017-05-05 15:51:25 +02:00
Daniel Stenberg
9b47f67929
curl_slist_append.3: clarify a NULL input creates a new list
2017-05-05 13:54:56 +02:00
Daniel Stenberg
4b93382193
CURLINFO_REDIRECT_URL.3: add example
2017-05-04 00:00:13 +02:00
Daniel Stenberg
b065a508c6
CURLINFO_EFFECTIVE_URL.3: add example
2017-05-04 00:00:07 +02:00
Daniel Stenberg
1bfdbb5a51
abstract-unix-socket.d: shorten the help text to fit within 79 cols
2017-05-03 14:22:58 +02:00
Marcel Raad
35311b22b9
anyauthput: remove unused code
...
The definition of TRUE was introduced in
4a728747e6
and is not used anymore since
e664cd5826
.
The usage of intptr_t was removed in
32e38b8f42
.
2017-05-01 21:51:02 +02:00
Dan Fandrich
6cba8dacea
examples: fixed too long line and too long string warnings
2017-05-01 09:16:12 +02:00
Marcel Raad
c23177d5e9
examples: declare TU-local variables static
...
This fixes missing-variable-declarations warnings when building with
clang.
2017-04-30 23:29:31 +02:00
Daniel Stenberg
7543f28ad2
cookie_interface.c: changed the other domain to example.com too
2017-04-27 00:30:34 +02:00
Daniel Stenberg
afe05ee2ee
cookie_interface.c: fix cookie domain so the example works
2017-04-27 00:27:59 +02:00
Dan Fandrich
8b03436d3c
Makefile: fix make dist
...
Commit 80a87e8a
broke 'make dist' as it can't handle installing from
absolute target names. Rearranged the dependencies so the absolute name
is used for building but the relative name is use for distributing.
2017-04-26 23:02:42 +02:00
Daniel Stenberg
e7f8ac1945
examples: ftpuploadfrommem.c
...
Uploads data to an FTP site, directly from memory.
Closes #1451
2017-04-25 20:53:46 +02:00
Kamil Dudka
e3e8d0204b
nss: load libnssckbi.so if no other trust is specified
...
The module contains a more comprehensive set of trust information than
supported by nss-pem, because libnssckbi.so also includes information
about distrusted certificates.
Reviewed-by: Kai Engert
Closes #1414
2017-04-25 13:24:24 +02:00
Dan Fandrich
80a87e8abc
Makefile: avoid use of GNU-specific form of $<
...
$< is only allowed in implicit rules in some non-GNU makes (e.g. BSD,
AIX) so avoid use elsewhere by referencing the dependent curl.1 file
directly instead. This is somewhat tricky because the file is supplied
in the packaged tar ball (but not in git) but must still be able to be
rebuilt when its dependencies change. The right thing must happen in
both tar ball and git source trees, as well as in both in-tree and
out-of-tree builds.
2017-04-24 21:38:11 +02:00
Daniel Stenberg
d957e2189f
THANKS: add contributors from 7.54.0 release notes
2017-04-19 07:41:40 +02:00
Dan Fandrich
f9d1e9a27f
libcurl-thread.3: fixed a bad macro that caused test 1140 to fail
2017-04-10 07:42:22 +02:00
Daniel Stenberg
1b9b90d94a
libcurl-thread.3: also mention threaded-resolver
...
Reported-by: Alex Bligh
Bug: https://curl.haxx.se/mail/lib-2017-04/0044.html
2017-04-09 23:09:50 +02:00
Jay Satiro
fa66403280
CURLINFO_SCHEME.3: fix variable type
...
- Change documented param type to char ** from incorrect long *.
2017-04-08 15:44:39 -04:00
Marcel Raad
e8c3c92d58
INSTALL.md: fix secure transport configure arguments
...
--without-ssl is needed instead of --with-winssl.
2017-04-08 14:44:18 +02:00
Daniel Stenberg
e10db122a2
BUGS: "Bugs in old versions"
2017-04-07 13:33:08 +02:00
Daniel Stenberg
1526912b98
INSTALL.cmake: more problems
...
and mention specific issues where they are discussed
2017-04-06 08:04:32 +02:00
Richlv
d9c9611a2f
docs: minor typo in write-out.d
...
Closes #1382
2017-04-04 07:46:31 +02:00
Daniel Stenberg
721f8c05c7
docs: added examples for CURLINFO_FILETIME.3 and CURLOPT_FILETIME.3
2017-04-03 00:00:43 +02:00
Jay Satiro
fb84faf001
fail-early.d: fix typos
2017-03-31 22:36:46 -04:00
Jay Satiro
15b8c6795a
docs: Explain --fail-early does not imply --fail
...
Closes https://github.com/curl/curl/pull/1375
2017-03-31 19:01:38 -04:00
Daniel Stenberg
d6bf5abd60
docs/index.html: removed, was not shipped anyway
2017-03-31 00:05:31 +02:00