Kamil Dudka
8924f58c37
CURLOPT_SOCKS5_AUTH: allowed methods for SOCKS5 proxy auth
...
If libcurl was built with GSS-API support, it unconditionally advertised
GSS-API authentication while connecting to a SOCKS5 proxy. This caused
problems in environments with improperly configured Kerberos: a stock
libcurl failed to connect, despite libcurl built without GSS-API
connected fine using username and password.
This commit introduces the CURLOPT_SOCKS5_AUTH option to control the
allowed methods for SOCKS5 authentication at run time.
Note that a new option was preferred over reusing CURLOPT_PROXYAUTH
for compatibility reasons because the set of authentication methods
allowed by default was different for HTTP and SOCKS5 proxies.
Bug: https://curl.haxx.se/mail/lib-2017-01/0005.html
Closes https://github.com/curl/curl/pull/1454
2017-06-28 08:02:58 +02:00
Daniel Stenberg
924cd3e25b
CURLINFO_REDIRECT_URL.3: mention the CURLOPT_MAXREDIRS case
...
... supported since 7.54.1
2017-06-24 00:59:10 +02:00
Daniel Stenberg
b4043706eb
CONTRIBUTE.md: mention the out-of-tree build test too
2017-06-22 10:31:03 +02:00
Daniel Stenberg
9b167fd090
--request-target: instead of --strip-path-slash
...
... and CURLOPT_REQUEST_TARGET instead of CURLOPT_STRIP_PATH_SLASH.
This option instead provides the full "alternative" target to use in the
request, instead of extracting the path from the URL.
Test 1298 and 1299 updated accordingly.
Idea-by: Evert Pot
Suggestion: https://daniel.haxx.se/blog/2017/06/19/options-with-curl/comment-page-1/#comment-18373
Closes #1593
2017-06-21 23:39:10 +02:00
Daniel Stenberg
b778ae4c5e
http: add --strip-path-slash and CURLOPT_STRIP_PATH_SLASH
...
... to enable sending "OPTIONS *" which wasn't possible previously.
This option currently only works for HTTP.
Added test cases 1298 + 1299 to verify
Fixes #1280
Closes #1462
2017-06-19 16:39:22 +02:00
Daniel Stenberg
3b80d3ca46
getinfo: return sizes as curl_off_t
...
This change introduces new alternatives for the existing six
curl_easy_getinfo() options that return sizes or speeds as doubles. The
new versions are named like the old ones but with an appended '_T':
CURLINFO_CONTENT_LENGTH_DOWNLOAD_T
CURLINFO_CONTENT_LENGTH_UPLOAD_T
CURLINFO_SIZE_DOWNLOAD_T
CURLINFO_SIZE_UPLOAD_T
CURLINFO_SPEED_DOWNLOAD_T
CURLINFO_SPEED_UPLOAD_T
Closes #1511
2017-06-19 09:27:42 +02:00
Daniel Stenberg
7b3b4722be
CURLOPT_PREQUOTE.3: spellfix man page reference
2017-06-18 17:06:51 +02:00
Daniel Stenberg
c095d7b590
TODO: update the TOC too
2017-06-18 00:30:16 +02:00
Daniel Stenberg
8bc9cabd7f
TODO: implement support for CURLOPT_PREQUOTE with SFTP
...
... also updated the CURLOPT_PREQUOTE.3 man page to mention the correct
protocol support.
Closes #1514
2017-06-18 00:25:09 +02:00
Daniel Stenberg
5385450afd
curl: prevent binary output spewed to terminal
...
... unless "--output -" is used. Binary detection is done by simply
checking for a binary zero in early data.
Added test 1425 1426 to verify.
Closes #1512
2017-06-16 23:38:13 +02:00
Marcel Raad
ce2cc568f8
Makefile.m32: enable -W for MinGW32 build
...
The configure-based build also has this in addition to -Wall.
Closes https://github.com/curl/curl/pull/1578
2017-06-16 22:32:22 +02:00
Daniel Stenberg
4d1147ae20
TODO: the generated include file is gone
...
... since commit 73a2fcea0b
2017-06-15 13:30:57 +02:00
Daniel Stenberg
84b9458837
curl: allow --header and --proxy-header read from file
...
So many headers can be provided as @filename.
Suggested-by: Timothe Litt
Closes #1486
2017-06-15 11:09:40 +02:00
Daniel Stenberg
5113ad0424
http-proxy: do the HTTP CONNECT process entirely non-blocking
...
Mentioned as a problem since 2007 (8f87c15bda
) and of course it
existed even before that.
Closes #1547
2017-06-14 23:43:52 +02:00
Daniel Stenberg
73a2fcea0b
includes: remove curl/curlbuild.h and curl/curlrules.h
...
Rely entirely on curl/system.h now.
Introduced in Aug 2008 with commit 14240e9e10
. Now gone.
Fixes #1456
2017-06-14 11:07:33 +02:00
Daniel Stenberg
54b636f145
release: 7.54.1
2017-06-14 08:08:56 +02:00
ygrek
ab1f4eb011
BINDINGS: update SP-Forth and OCaml urls
2017-06-12 00:43:20 +02:00
Daniel Stenberg
4024a0b93b
RELEASE-PROCEDURE: updated future release dates
2017-06-09 15:58:51 +02:00
Ryuichi KAWAMATA
bc164de7b3
examples/multi-uv.c: fix deprecated symbol
...
Closes #1557
2017-06-08 23:23:59 +02:00
Mahmoud Samir Fayed
65ba92650d
BINDINGS: add Ring binding
...
Closes https://github.com/curl/curl/pull/1539
2017-06-03 23:53:51 -04:00
Daniel Stenberg
c3ad22697c
CONTRIBUTE.md: mention tests done on pull requests
2017-06-04 00:21:59 +02:00
Daniel Stenberg
efc7c1d86f
typecheck-gcc.h: check CURLINFO_CERTINFO
...
... and update the certinfo.c example accordingly.
Fixes https://github.com/curl/curl/issues/846
2017-06-01 21:06:09 +02:00
Daniel Stenberg
5fe4f78902
typecheck-gcc.h: separate getinfo slist checks from other pointers
...
Fixes #1524
2017-06-01 21:06:09 +02:00
Daniel Stenberg
c5de7f50f7
examples/externalsocket.c: s/closesocket/closecb
...
... since closesocket is a function in WinSock.
Reported-by: Marcel Raad
Bug: 55fcb84859 (co)
mmitcomment-22347818
2017-05-31 23:22:46 +02:00
Daniel Stenberg
aae4a4788a
CURLOPT_SSH_KEY*.3: typos
...
Reported-by: Gisle Vanem
2017-05-31 13:52:03 +02:00
Daniel Stenberg
399a1a6182
CURLOPT_STREAM_DEPENDS.3: typo
2017-05-31 13:39:56 +02:00
Daniel Stenberg
f072393feb
CURLOPT_FNMATCH_FUNCTION.3: also modified example to avoid fcpp issues
2017-05-31 13:36:51 +02:00
Daniel Stenberg
28baf380fa
CURLOPT_FNMATCH_DATA.3: modified example to avoid fcpp issues
2017-05-31 13:30:04 +02:00
Daniel Stenberg
4600362a5a
opts: more than 100 more examples for man pages...
2017-05-31 11:56:53 +02:00
Daniel Stenberg
501b9ebe92
examples/sampleconv.c: indent changes, made callbacks static
2017-05-31 11:56:53 +02:00
Daniel Stenberg
55fcb84859
example/externalsocket.c: make it use CLOSESOCKETFUNCTION too
2017-05-31 11:56:53 +02:00
Daniel Stenberg
a6ad28a75e
CURLOPT_PROXY.3: fix test 1140 breakage
2017-05-31 08:45:36 +02:00
Daniel Stenberg
bb1a8c174b
opts: more examples added to man pages
2017-05-30 23:35:30 +02:00
Daniel Stenberg
2d5fa35e85
docs: clarify NO_PROXY further
...
Fixes #1208
2017-05-30 22:43:34 +02:00
Daniel Stenberg
dd97551746
CURLOPT_PROXY.3: describe the environment variables more
2017-05-30 18:05:33 +02:00
Daniel Stenberg
c2227dae53
opts: more examples added in option man pages
2017-05-27 23:11:26 +02:00
Daniel Stenberg
d90b729c3b
TODO: 6.4 is done, send telnet data in chunks
2017-05-25 21:54:26 +02:00
Phil Crump
a9de0a9f54
docs/CURLOPT_SSLVERSION.3: Correct define name in example
...
Closes #1509
2017-05-25 16:28:30 +02:00
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
Daniel Stenberg
2ff9c3e145
dist: add missing files to the tarball
2017-03-31 00:05:31 +02:00
Peter Wu
ec493dbda2
cmake: fix build with cmake 2.8.12.2
...
For some reason, CMake 2.8.12.2 did not expand the list argument in a
single DEPENDS argument. Remove the quotes, so it gets expanded into
multiple arguments for add_custom_command and add_custom_target.
Fixes https://github.com/curl/curl/issues/1370
Closes #1372
2017-03-30 23:43:35 +02:00
Daniel Stenberg
f8952932e7
cmake: add cmake file in docs/libcurl/opts/ to dist
2017-03-30 08:16:56 +02:00
Daniel Stenberg
63dd7bbc50
cmake: add more missing files to the dist
2017-03-30 08:12:37 +02:00
Daniel Stenberg
6a819089a6
docs/Makefile.am: include CMakeLists.txt in the dist tarball
2017-03-30 00:36:04 +02:00
madblobfish
556c51a2df
KNOWN_BUGS: typo
...
Closes #1364
2017-03-29 08:18:57 +02:00
Maksim Stsepanenka
d1ddda7e75
make: use the variable MAKE for recursive calls
...
Closes #1366
2017-03-29 08:17:13 +02:00
Jay Satiro
041ded0459
examples/fopen: checksrc compliance
2017-03-28 02:55:14 -04:00
klemens
f7df67cff0
spelling fixes
...
Closes #1356
2017-03-26 23:56:23 +02:00
Edward Kimmel
99d708a016
asiohiper: make sure socket is open in event_cb
...
Send curl_socket_t to event_cb and make sure it hasn't been closed yet.
Closes https://github.com/curl/curl/pull/1318
2017-03-23 22:58:29 +01:00
Daniel Stenberg
e369303cdc
CURLINFO_PRIMARY_IP.3: add example
2017-03-22 11:28:33 +01:00
Ales Mlakar
a360906de6
mbedtls: add support for CURLOPT_SSL_CTX_FUNCTION
...
Ref: https://curl.haxx.se/mail/lib-2017-02/0097.html
Closes https://github.com/curl/curl/pull/1272
2017-03-21 23:51:44 -04:00
Peter Wu
898b012a9b
cmake: add support for building HTML and PDF docs
...
Note that for some reason there is this warning (that also exists with
autotools, added since curl-7_15_1-94-ga718cb05f):
docs/libcurl/curl_multi_socket_all.3:1: can't open `man3/curl_multi_socket.3': No such file or directory
Additionally, adjust the roffit --mandir option to support creating
links when doing out-of-tree builds.
Ref: https://github.com/curl/curl/pull/1288
2017-03-21 14:49:53 +01:00
Peter Wu
84a226a30b
cmake: build manual pages (including curl.1)
...
Also make Perl mandatory to allow building the docs.
While CMakeLists.txt could probably read the list of manual pages from
Makefile.am, actually putting those in CMakeLists.txt is cleaner so that
is what is done here.
Fixes #1230
Ref: https://github.com/curl/curl/pull/1288
2017-03-21 14:49:53 +01:00
Peter Wu
6f6e9193df
docs: split file lists into Makefile.inc
...
For easier sharing with CMake. The contents were reformatted to use
two-space indent and expanded tabs (matching lib/Makefile.common).
Ref: https://github.com/curl/curl/pull/1288
2017-03-21 14:49:53 +01:00
Daniel Stenberg
26baf39f3d
examples: comment typos in http2 examples
2017-03-21 12:55:46 +01:00
Daniel Stenberg
0005d00766
CONTRIBUTE: mention referring to github issues in commit msgs
2017-03-21 00:41:56 +01:00
Jay Satiro
f7b3914c55
CURLINFO_LOCAL_PORT.3: fix typo
2017-03-16 18:18:49 -04:00
Daniel Stenberg
49f7b13536
CURLINFO_LOCAL_PORT.3: added example
2017-03-16 23:05:22 +01:00
Daniel Stenberg
c5357b7b99
SSLCERTS.md: mention HTTPS proxies and their separate options
2017-03-16 23:00:24 +01:00
Daniel Stenberg
280e8c6e37
BINDINGS: a Delphi binding
2017-03-15 13:47:53 +01:00
Daniel Stenberg
a2eb08607c
KNOWN_BUGS: remove libidn related issue
...
... as we no longer use libidn
2017-03-14 21:13:10 +01:00
Daniel Stenberg
bfb2a0ad77
RELEASE-NOTES: synced with c25e0761d0
2017-03-13 15:55:53 +01:00
Daniel Stenberg
c25e0761d0
make: regenerate docs/curl.1 by runinng make in docs
...
... previously, docs/ was only a dist subdir, now also a build subdir.
Reported-by: Dan Fandrich
Bug: https://curl.haxx.se/mail/lib-2017-03/0017.html
2017-03-13 08:01:27 +01:00
Desmond O. Chang
d2bcf1e3e2
url: add option CURLOPT_SUPPRESS_CONNECT_HEADERS
...
- Add new option CURLOPT_SUPPRESS_CONNECT_HEADERS to allow suppressing
proxy CONNECT response headers from the user callback functions
CURLOPT_HEADERFUNCTION and CURLOPT_WRITEFUNCTION.
- Add new tool option --suppress-connect-headers to expose
CURLOPT_SUPPRESS_CONNECT_HEADERS and allow suppressing proxy CONNECT
response headers from --dump-header and --include.
Assisted-by: Jay Satiro
Assisted-by: CarloCannas@users.noreply.github.com
Closes https://github.com/curl/curl/pull/783
2017-03-12 01:32:33 -05:00
Dan Fandrich
03c5223ee7
cmdline-opts: fixed a few typos
2017-03-11 11:44:18 +01:00
Dan Fandrich
e1960fef12
tls-max.d: added to the makefile
2017-03-09 23:08:06 +01:00
Jozef Kralik
6448f98c18
vtls: add options to specify range of enabled TLS versions
...
This commit introduces the CURL_SSLVERSION_MAX_* constants as well as
the --tls-max option of the curl tool.
Closes https://github.com/curl/curl/pull/1166
2017-03-08 15:54:07 +01:00
Daniel Stenberg
6888a670aa
MANPAGE: clarify the dash situation in meta data
2017-03-08 09:20:36 +01:00
Daniel Stenberg
324bf2fd36
insecure.d: clarify that this is for server connections
...
Assisted-by: Ray Satiro
Bug: https://curl.haxx.se/mail/lib-2017-03/0002.html
2017-03-08 09:17:32 +01:00
Steve Brokenshire
beff139d3d
maketgz: Run updatemanpages.pl to update man pages
...
maketgz now runs scripts/updatemanpages.pl to update the man pages .TH
section to use the current date and curl/libcurl version.
(TODO Section 3.1)
Closes #1058
2017-03-07 23:36:17 +01:00
Steve Brokenshire
d960e57029
gitignore: Ignore man page dist files
...
Ignore man page dist files generated by scripts/updatemanpages.pl
2017-03-07 23:27:31 +01:00
Steve Brokenshire
f5712ca277
Makefile.am: Remove distribution man pages when running 'make clean'
2017-03-07 23:27:31 +01:00
Jay Satiro
f023f258fa
KNOWN_BUGS: Add DarwinSSL won't import PKCS#12 without a password
...
Bug: https://github.com/curl/curl/issues/1308
Reported-by: Justin Clift
2017-03-06 19:13:03 -05:00
Daniel Stenberg
7ad72e0fc2
BINDINGS: update the Lua-cURL URL
2017-03-06 12:57:33 +01:00
Sylvestre Ledru
df77f1772d
BINDINGS: add Scilab binding
...
Closes #1312
2017-03-06 12:51:27 +01:00
Daniel Stenberg
5e99ede6d3
BINDINGS: add go-curl and perl6-net-curl
...
Reported-by: Peter Pentchev
2017-03-06 10:11:55 +01:00
Daniel Stenberg
bfcb3150a7
BINDINGS: add misssing C++ bindings
...
Reported-by: Giuseppe Persico
2017-03-06 09:44:08 +01:00
Michael Maltese
813263dc3a
CMake: Set at most one SSL library
...
Ref: https://github.com/curl/curl/pull/1228
2017-03-05 14:42:53 +01:00
Jay Satiro
21512a015f
CURLOPT_SSL_CTX_FUNCTION.3: Fix EXAMPLE formatting errors
...
.. also document that CURLE_NOT_BUILT_IN is a RETURN VALUE.
Ref: https://github.com/curl/curl/pull/1290
2017-03-04 16:07:28 -05:00
Sylvestre Ledru
658b9a200a
fix some typos in the doc ( #1306 )
2017-03-04 15:50:33 +01:00
c4rlo
e952402404
no-keepalive.d: fix typo
...
Closes https://github.com/curl/curl/pull/1301
2017-03-03 02:37:43 -05:00
JDepooter
0966ab5bd4
darwinssl: Warn that disabling host verify also disables SNI
...
In DarwinSSL the SSLSetPeerDomainName function is used to enable both
sending SNI and verifying the host. When host verification is disabled
the function cannot be called, therefore SNI is disabled as well.
Closes https://github.com/curl/curl/pull/1240
2017-03-02 02:42:15 -05:00
Peter Wu
eac0dc6a3f
docs: de-duplicate file lists in the Makefiles
...
Make use of macro substitution of suffix patterns to remove duplication
of manual names. This approach is portable according to
http://pubs.opengroup.org/onlinepubs/009695399/utilities/make.html
Closes https://github.com/curl/curl/pull/1287
2017-02-25 16:26:22 -05:00
Daniel Stenberg
25df50aa33
release: 7.53.1
2017-02-24 08:47:45 +01:00
Daniel Stenberg
ed74c6442d
TODO: "OPTIONS *"
...
Closes #1280
2017-02-23 16:58:21 +01:00
Daniel Stenberg
443e5b03a7
THANKS-filter: shachaf
2017-02-23 11:21:19 +01:00
Jay Satiro
035c2eceeb
docs: gitignore curl.1
...
curl.1 is generated by the cmdline-opts script since 4c49b83
.
2017-02-22 14:08:29 -05:00
Daniel Stenberg
f57eb1f8e3
TODO: HTTP Digest using SHA-256
2017-02-22 14:16:45 +01:00
Daniel Stenberg
b702a4d848
TODO: brotli is deployed widely now
2017-02-22 11:00:18 +01:00
Jay Satiro
b259646ea1
url: Improve CURLOPT_PROXY_CAPATH error handling
...
- Change CURLOPT_PROXY_CAPATH to return CURLE_NOT_BUILT_IN if the option
is not supported, which is the same as what we already do for
CURLOPT_CAPATH.
- Change the curl tool to handle CURLOPT_PROXY_CAPATH error
CURLE_NOT_BUILT_IN as a warning instead of as an error, which is the
same as what we already do for CURLOPT_CAPATH.
- Fix CAPATH docs to show that CURLE_NOT_BUILT_IN is returned when the
respective CAPATH option is not supported by the SSL library.
Ref: https://github.com/curl/curl/pull/1257
2017-02-21 22:24:40 -05:00
Daniel Stenberg
a7135ac3c3
release: 7.53.0
2017-02-22 00:23:38 +01:00
Daniel Stenberg
73ef4ed612
TODO: CURLOPT_RESOLVE for any port number
...
Closes #1264
2017-02-20 09:15:13 +01:00
Jay Satiro
889ca45ab8
examples/multi-uv: checksrc compliance
2017-02-20 00:52:16 -05:00
Michael Kaufmann
4ddf9798ab
docs: fix timeout handling in multi-uv example
2017-02-18 18:09:17 +01:00
Daniel Stenberg
62c857acd6
RELEASE-PROCEDURE: update the upcoming release calendar
2017-02-16 07:44:39 +01:00
Daniel Stenberg
c2127b448d
TODO: consider file name from the redirected URL with -O ?
...
It isn't easily solved, but with some thinking someone could probably
come up with a working approach?
Closes #1241
2017-02-15 15:12:32 +01:00
Daniel Stenberg
a08db49642
axtls: adapt to API changes
...
Builds with axTLS 2.1.2. This then also breaks compatibility with axTLS
< 2.1.0 (the older API)
... and fix the session_id mixup brought in 04b4ee549
Fixes #1220
2017-02-15 08:27:35 +01:00
Daniel Stenberg
8721f3a50e
cmdline-opts/page-footer: ftp.sunet.se is no longer an FTP mirror
2017-02-10 16:21:18 +01:00
Jay Satiro
7017c421a1
cmdline-opts/socks*: Mention --preproxy in --socks* opts
...
- Document in --socks* opts they're still mutually exclusive of --proxy.
Partial revert of 423a93c; I had misinterpreted the SOCKS proxy +
HTTP/HTTPS proxy combination.
- Document in --socks* opts that --preproxy can be used to specify a
SOCKS proxy at the same time --proxy is used with an HTTP/HTTPS proxy.
2017-02-09 18:26:16 -05:00
Daniel Stenberg
1dcf244721
CURLOPT_SSL_VERIFYPEER.3: also the https proxy version
2017-02-09 23:22:57 +01:00
Daniel Stenberg
bef0d00110
examples/multithread.c: link to our multi-thread docs
...
... instead of the OpenSSL mutex page.
2017-02-09 16:16:21 +01:00
Daniel Stenberg
102454459d
THANKS-filter: polish some recent contributors
2017-02-07 10:43:25 +01:00
Dan Fandrich
edb2d02855
cmdline-opts: Fixed build and test in out of source tree builds
2017-02-06 23:37:05 +01:00
Viktor Szakats
88bdd7cf6f
use *.sourceforge.io and misc URL updates
...
Ref: https://sourceforge.net/blog/introducing-https-for-project-websites/
Closes: https://github.com/curl/curl/pull/1247
2017-02-06 19:21:05 +00:00
Jay Satiro
423a93ce32
docs: Add more HTTPS proxy documentation
...
- Document HTTPS proxy type.
- Document --write-out %{proxy_ssl_verify_result}.
- Document SOCKS proxy + HTTP/HTTPS proxy combination.
HTTPS proxy support was added in 7.52.0 for OpenSSL, GnuTLS and NSS.
Ref: https://github.com/curl/curl/commit/cb4e2be
2017-02-06 03:13:42 -05:00
Daniel Stenberg
a1a5dd14d7
docs: we no longer ship HTML versions of man pages
...
... refer to the web site for the web versions.
2017-01-29 11:11:19 +01:00
railsnewbie257
bd7eaf75f1
docs: proofread README.netware README.win32
...
Closes #1231
2017-01-29 11:11:14 +01:00
Michael Kaufmann
bcca842e0d
polarssl: fix hangs
...
This bugfix is similar to commit c111178bd4
.
2017-01-28 19:47:08 +01:00
Daniel Stenberg
074405786b
TODO: remove "Support TLS v1.3"
...
Support is trickling in already.
2017-01-27 10:00:33 +01:00
railsnewbie257
77350cef00
INTERNALS.md: language improvements
...
Closes #1226
2017-01-24 23:42:16 +01:00
Daniel Stenberg
8611d985ee
VC: remove the makefile.vc6 build infra
...
The winbuild/ build files is now the single MSVC makefile build choice.
Closes #1215
2017-01-23 14:27:32 +01:00
Jay Satiro
d0837f36db
cmdline-opts/gen.pl: Open input files in CRLF mode
...
On Windows it's possible to have input files with CRLF line endings and
a perl that defaults to LF line endings (eg msysgit). Currently that
results in generator output of mixed line endings of CR, LF and CRLF.
This change fixes that issue in the most succinct way by opening the
files in :crlf text mode even when the perl being used does not default
to that mode. (On operating systems that don't have a separate text mode
it's essentially a no-op.) The output continues to be in the perl's
native line ending.
2017-01-23 13:57:54 +01:00
Daniel Stenberg
4c49b83597
docs/curl.1: generate from the cmdline-opts script
2017-01-23 13:57:54 +01:00
Richy Kim
6b7616690e
CURLOPT_BUFFERSIZE: support enlarging receive buffer
...
Replace use of fixed macro BUFSIZE to define the size of the receive
buffer. Reappropriate CURLOPT_BUFFERSIZE to include enlarging receive
buffer size. Upon setting, resize buffer if larger than the current
default size up to a MAX_BUFSIZE (512KB). This can benefit protocols
like SFTP.
Closes #1222
2017-01-19 23:38:04 +01:00
Michael Kaufmann
1a9a99adf9
KNOWN_BUGS: HTTP/2 server push enabled when no pushes can be accepted
...
This has been implemented with commit 9ad034e
.
2017-01-19 21:02:11 +01:00
Kamil Dudka
f1261b1253
docs: non-blocking SSL handshake is now supported with NSS
...
Implemented since curl-7_36_0-130-g8868a22
Reported-by: Fahim Chandurwala
2017-01-19 12:20:04 +01:00
Daniel Stenberg
3a4326efd5
usercertinmem.c: improve the short description
2017-01-18 08:09:09 +01:00
Daniel Stenberg
25543b8392
TODO: share OpenSSL contexts
...
By supporting this, subsequent connects would load a lot less data from
disk.
Closes #1110
2017-01-17 07:58:27 +01:00
Daniel Stenberg
8f8ba61224
bump: next release will be 7.53.0
2017-01-16 08:34:15 +01:00
railsnewbie257
02ee3b2737
docs: improved language in README.md HISTORY.md CONTRIBUTE.md
...
Closes #1211
2017-01-14 16:02:33 +01:00
Daniel Stenberg
e3b911463a
TODO: send only part of --data
...
Closes #1200
2017-01-14 12:49:12 +01:00
Daniel Stenberg
535a29c01a
TODO: implemened "--fail-fast to exit on first transfer fail"
...
Even though it is called --fail-early
2017-01-14 12:42:53 +01:00
Daniel Stenberg
9dea60e550
TODO: Chunked transfer multipart formpost
...
Closes #1139
2017-01-14 12:41:46 +01:00
Daniel Stenberg
eb6cf75130
TODO: Improve formpost API, not just add an easy argument
2017-01-14 12:34:53 +01:00
Daniel Stenberg
d24c4ea2d0
THANKS-filter: Jiri Malak
2017-01-13 23:26:09 +01:00
Isaac Boukris
1d786faee1
unix_socket: add support for abstract unix domain socket
...
In addition to unix domain sockets, Linux also supports an
abstract namespace which is independent of the filesystem.
In order to support it, add new CURLOPT_ABSTRACT_UNIX_SOCKET
option which uses the same storage as CURLOPT_UNIX_SOCKET_PATH
internally, along with a flag to specify abstract socket.
On non-supporting platforms, the abstract address will be
interpreted as an empty string and fail gracefully.
Also add new --abstract-unix-socket tool parameter.
Signed-off-by: Isaac Boukris <iboukris@gmail.com>
Reported-by: Chungtsun Li (typeless)
Reviewed-by: Daniel Stenberg
Reviewed-by: Peter Wu
Closes #1197
Fixes #1061
2017-01-13 16:25:20 +01:00
Daniel Stenberg
a7c73ae309
write-out.d: 'time_total' is not always shown with ms precision
...
We have higher resolution since 7.52.0
2017-01-13 16:23:57 +01:00
Daniel Stenberg
ac548bbaab
next.d: --trace and --trace-ascii are also global
2017-01-13 15:34:01 +01:00
Frank Gevaerts
dbd3793859
docs: Add note about libcurl copying strings to CURLOPT_* manpages
...
Closes #1169
2017-01-13 15:14:55 +01:00
Frank Gevaerts
d2b2c63852
CURLOPT_PREQUOTE.3: takes a struct curl_slist*, not a char*
2017-01-13 15:14:38 +01:00
ERAMOTO Masaya
2ac1942c72
url: --noproxy option overrides NO_PROXY environment variable
...
Under condition using http_proxy env var, noproxy list was the
combination of --noproxy option and NO_PROXY env var previously. Since
this commit, --noproxy option overrides NO_PROXY environment variable
even if use http_proxy env var.
Closes #1140
2017-01-13 11:18:29 +01:00
railsnewbie257
cd6b99ef32
docs: FAQ MAIL-ETIQUETTE language fixes
...
Closes #1194
2017-01-13 10:11:58 +01:00
Daniel Stenberg
a41e8592d6
examples: make the C++ examples follow our code style too
...
At least mostly, not counting // comments.
2017-01-08 16:39:41 +01:00
Aulddays
ed2fcd5428
asiohiper: improved socket handling
...
libcurl requires CURLMOPT_SOCKETFUNCTION to KEEP watching socket events
and notify back. Modify event_cb() to continue watching events when
fired.
Fixes #1191
Closes #1192
Fixed-by: Mingliang Zhu
2017-01-08 16:39:36 +01:00
Daniel Stenberg
5df25fdce4
ROADMAP: 2017 cleanup
...
Removed items already fixed, clarified a few others.
2017-01-07 23:46:19 +01:00
Daniel Stenberg
acd29dc108
docs/silent: mention --show-error in --silent description
...
Reported in #1190
Reported-by: Dan Jacobson
2017-01-07 20:23:31 +01:00
Daniel Stenberg
e8404adc85
docs/page-header: mention how to disable the progress meter
...
curl.1 is regenerated
Fixes #1190
2017-01-07 20:22:20 +01:00
Dan Fandrich
bbee0d4eee
wolfssl: support setting cipher list
2017-01-06 23:02:09 +01:00
Patrick Monnerat
5d7a7fcdcb
CIPHERS.md: document GSKit ciphers
2017-01-06 17:43:57 +01:00
peterpih
feca30419a
TheArtOfHttpScripting: grammar
2017-01-05 01:52:32 -05:00
Jay Satiro
4f2239c5ca
docs/libcurl: TCP_KEEPALIVE start and interval default to 60
...
Since the TCP keep-alive options were added in 705f0f7
the start and
interval default values have been 60, but that wasn't documented.
Bug: https://curl.haxx.se/mail/lib-2017-01/0000.html
Reported-by: Praveen Pvs
2017-01-02 13:43:05 -05:00
Daniel Stenberg
278034a61c
page-footer: error 36 is protocol agnostic!
2016-12-29 11:31:01 +01:00
Jay Satiro
ee3c83f39c
tool_operate: Fix --remote-time incorrect times on Windows
...
- Use Windows API SetFileTime to set the file time instead of utime.
Avoid utime on Windows if possible because it may apply a daylight
saving time offset to our UTC file time.
Bug: https://curl.haxx.se/mail/archive-2016-11/0033.html
Reported-by: Tim
Closes https://github.com/curl/curl/pull/1121
2016-12-28 21:19:40 -05:00
Daniel Stenberg
0128925de5
curl_formadd.3: CURLFORM_CONTENTSLENGTH not needed when chunked
...
Mentioned in #1013
2016-12-28 11:49:00 +01:00
Daniel Stenberg
209b230227
docs/ciphers: link to our own new page about ciphers
...
... as the former ones always go stale!
2016-12-25 11:01:17 +01:00
Daniel Stenberg
7776abb2e6
cmdline-opts/page-footer: add three more exit codes
...
... and regenerated curl.1
2016-12-25 10:58:08 +01:00
Daniel Stenberg
95c717bbd9
THANKS: 13 new contributors from 7.52.0
2016-12-20 16:16:47 +01:00
Daniel Stenberg
afb57f7b0b
cmdline-opts/tlsv1.d: rephrased
2016-12-19 08:19:44 +01:00
Daniel Stenberg
4517158abf
CIPHERS.md: backtick the names to show underscores fine
2016-12-18 16:44:45 +01:00
Daniel Stenberg
111f3c1fde
form-string.d: fix format mistake
...
and regenerated curl.1
Reported-by: Gisle Vanem
2016-12-18 16:29:59 +01:00
Michael Kaufmann
afff64dbcd
curl_easy_recv: Improve documentation and example program
...
Follow-up to 82245ea
: Fix the example program sendrecv.c (handle
CURLE_AGAIN, handle incomplete send). Improve the documentation
for curl_easy_recv() and curl_easy_send().
Reviewed-by: Frank Meier
Assisted-by: Jay Satiro
See https://github.com/curl/curl/pull/1134
2016-12-18 12:56:23 +01:00