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
Daniel Stenberg
6bc1051608
CIPHERS.md: attempt to document TLS cipher names
...
As the official docs seems really hard to keep track of and link to over
time
2016-12-18 01:08:55 +01:00
Daniel Stenberg
4c9567e394
curl.1: generated after 6cce4dbf83
2016-12-18 00:48:15 +01:00
Daniel Stenberg
6cce4dbf83
cmdline-opts/post30X.d: fix the RFC references
2016-12-18 00:42:36 +01:00
Daniel Stenberg
5f9ce4b05c
curl.1: regenerated
...
Fixed trailing whitespace and numerous formatting glitches
2016-12-17 23:57:34 +01:00
Daniel Stenberg
e79d31715a
cmdline-opts: formatting fixes
2016-12-17 23:56:50 +01:00
Daniel Stenberg
2bd2538eb0
curl_easy_setopt.3: removed CURLOPT_SOCKS_PROXYTYPE
2016-12-17 23:50:14 +01:00
Daniel Stenberg
58206f0ef2
cmdline-opts/gen.pl: trim off trailing spaces
2016-12-17 18:14:01 +01:00
Daniel Stenberg
c47b1eced7
cmdline-opts/proxy-tlsuser.d: remove trailing .d
2016-12-17 18:13:47 +01:00
Daniel Stenberg
6bec14f38e
curl_easy_setopt.3: CURLOPT_PRE_PROXY instead of CURLOPT_SOCKS_PROXY
2016-12-17 18:09:28 +01:00
Daniel Stenberg
20b12987cf
symbols: removed two, added one
2016-12-17 18:00:49 +01:00
Daniel Stenberg
a8ab99766f
cmdline-opts: include the man page split up files in the dist
2016-12-17 00:23:04 +01:00
Daniel Stenberg
c7eab72de0
curl.1: generated with gen.pl
...
This is the first time we replace the manually edited curt.1 with the
generated one created by gen.pl and the individual option documentation
pages.
Do not edit this file, edit the individual pages and regenerate this
output.
This file will be generated by the build system soon and then removed
from git.
2016-12-16 22:02:47 +01:00
Daniel Stenberg
4b8b7a2d36
cmdline-opts: added some missing info
2016-12-16 22:01:01 +01:00
Daniel Stenberg
c588840568
CURLINFO_SSL_VERIFYRESULT.3: language
2016-12-16 16:59:08 +01:00
Daniel Stenberg
b0fcb92f80
HTTPS-PROXY docs: update/polish
2016-12-16 16:57:39 +01:00
Daniel Stenberg
7ebd9bcfc6
cmdline-opts/page-header: mention it is generated
...
... to avoid people from trying to edit the pending curl.1 version that
gets generated by gen.pl
2016-12-16 16:07:59 +01:00
Daniel Stenberg
845522cadb
preproxy: renamed what was added as SOCKS_PROXY
...
CURLOPT_SOCKS_PROXY -> CURLOPT_PRE_PROXY
Added the corresponding --preroxy command line option. Sets a SOCKS
proxy to connect to _before_ connecting to a HTTP(S) proxy.
2016-12-16 16:04:23 +01:00
Daniel Stenberg
7907a2bec9
CURLOPT_SOCKS_PROXYTYPE: removed
...
This was added as part of the SOCKS+HTTPS proxy merge but there's no
need to support this as we prefer to have the protocol specified as a
prefix instead.
2016-12-16 15:10:19 +01:00
Daniel Stenberg
558b5f68a6
curl_multi_socket.3: fix typo
2016-12-15 17:26:23 +01:00
Daniel Stenberg
1c3e8bbfed
checksrc: warn for assignments within if() expressions
...
... they're already frowned upon in our source code style guide, this
now enforces the rule harder.
2016-12-14 01:29:44 +01:00
Daniel Stenberg
b228d2952b
checksrc: stricter no-space-before-paren enforcement
...
In order to make the code style more uniform everywhere
2016-12-13 23:39:11 +01:00
Jeremy Pearson
254c0b3052
libcurl-multi.3: typo
...
Closes https://github.com/curl/curl/pull/1153
2016-12-03 15:40:54 -05:00
Daniel Stenberg
74595b223d
http_proxy: simplify CONNECT response reading
...
Since it now reads responses one byte a time, a loop could be removed
and it is no longer limited to get the whole response within 16K, it is
now instead only limited to 16K maximum header line lengths.
2016-12-01 16:18:52 +01:00
Daniel Stenberg
12d6794b10
BUGS: describe bug handling process
2016-11-29 11:58:50 +01:00
Daniel Stenberg
a387d881ec
cmdline-docs: more options converted and fixed
...
Now all options are in the new system.
2016-11-28 09:53:15 +01:00
Daniel Stenberg
ac85f332f1
gen: include footer in mainpage output
2016-11-28 09:52:05 +01:00
Daniel Stenberg
5c4a526388
cmdline-opts: more command line options documented
...
Moved over to the new format
2016-11-28 00:50:25 +01:00