Olivier Brunel
4b86113f5e
speed caps: not based on average speeds anymore
...
Speed limits (from CURLOPT_MAX_RECV_SPEED_LARGE &
CURLOPT_MAX_SEND_SPEED_LARGE) were applied simply by comparing limits
with the cumulative average speed of the entire transfer; While this
might work at times with good/constant connections, in other cases it
can result to the limits simply being "ignored" for more than "short
bursts" (as told in man page).
Consider a download that goes on much slower than the limit for some
time (because bandwidth is used elsewhere, server is slow, whatever the
reason), then once things get better, curl would simply ignore the limit
up until the average speed (since the beginning of the transfer) reached
the limit. This could prove the limit useless to effectively avoid
using the entire bandwidth (at least for quite some time).
So instead, we now use a "moving starting point" as reference, and every
time at least as much as the limit as been transferred, we can reset
this starting point to the current position. This gets a good limiting
effect that applies to the "current speed" with instant reactivity (in
case of sudden speed burst).
Closes #971
2016-09-04 13:11:23 +02:00
Daniel Stenberg
4c44155cfe
CURLMOPT_PIPELINING.3: language
2016-09-01 14:09:21 +02:00
Daniel Stenberg
a409b4b466
CURLMOPT_PIPELINING.3: extended and clarified
...
Especially in regards to the multiplexing part.
2016-09-01 14:08:01 +02:00
Nick Zitzmann
e171968ba3
darwinssl: add documentation stating that the --cainfo option is intended for backward compatibility only
...
In other news, I changed one other reference to "Mac OS X" in the documentation (that I previously wrote) to say "macOS" instead.
2016-08-28 16:46:59 -05:00
Daniel Stenberg
2497c42172
CURLMOPT_MAX_TOTAL_CONNECTIONS.3: mention it can also multiplex
2016-08-19 09:40:40 +02:00
Daniel Stenberg
84e45f4b3a
CURLOPT_PROXY.3: unsupported schemes cause errors now
...
Follow-up to a96319ebb9
(document the new behavior)
2016-08-15 14:49:26 +02:00
Daniel Stenberg
85e63bcfc7
symbols-in-versions: add CURL_STRICTER
...
Added in 5fce88aa8c
2016-08-09 21:34:47 +02:00
Daniel Stenberg
4732ca5724
CURLOPT_TCP_NODELAY: now enabled by default
...
After a few wasted hours hunting down the reason for slowness during a
TLS handshake that turned out to be because of TCP_NODELAY not being
set, I think we have enough motivation to toggle the default for this
option. We now enable TCP_NODELAY by default and allow applications to
switch it off.
This also makes --tcp-nodelay unnecessary, but --no-tcp-nodelay can be
used to disable it.
Thanks-to: Tim Rühsen
Bug: https://curl.haxx.se/mail/lib-2016-06/0143.html
2016-08-05 00:12:57 +02:00
Kamil Dudka
8b9ba132f0
docs: distribute the CURLINFO_HTTP_VERSION(3) man page, too
2016-07-21 13:06:17 +02:00
Timothy Polich
16fe3f6b0a
CURLMOPT_SOCKETFUNCTION.3: fix typo
...
Closes https://github.com/curl/curl/pull/914
2016-07-14 02:58:59 -04:00
Daniel Stenberg
306192ba55
curl_global_init.3: improved formatting of the flags
2016-06-29 16:00:46 +02:00
Daniel Stenberg
bbd99a277b
curl_global_init.3: expand on the SSL and WIN32 bits purpose
...
Reported-by: Richard Gray
Bug: https://curl.haxx.se/mail/lib-2016-06/0136.html
2016-06-29 15:57:44 +02:00
Jay Satiro
f77dfbc5fb
CURLOPT_POSTFIELDS.3: Clarify what happens when set empty
...
When CURLOPT_POSTFIELDS is set to an empty string libcurl will send a
zero-byte POST. Prior to this change it was documented as sending data
from the read callback.
This also changes the wording of what happens when empty or NULL so that
it's hopefully easier to understand for people whose primary language
isn't English.
Bug: https://github.com/curl/curl/issues/862
Reported-by: Askar Safin
2016-06-11 17:33:16 -04:00
Michael Wallner
929520582c
curl_multi_socket_action.3: Fix rewording
...
- Remove some erroneous text.
Closes https://github.com/curl/curl/pull/865
2016-06-09 02:10:22 -04:00
Benjamin Kircher
873b4346ba
libcurl-multi.3: fix small typo
...
Closes #850
2016-06-01 23:04:16 +02:00
Andrew Kurushin
6cabd78531
schannel: add CURLOPT_CERTINFO support
...
Closes #822
2016-06-01 08:50:01 +02:00
Frank Gevaerts
071c561394
http: add CURLINFO_HTTP_VERSION and %{http_version}
...
Adds access to the effectively used http version to both libcurl and
curl.
Closes #799
2016-05-30 22:58:51 +02:00
Jay Satiro
694c2dce25
curl_share_setopt.3: Add min ver needed for ssl session lock
...
Bug: https://github.com/curl/curl/issues/826
Reported-by: Michael Wallner
2016-05-29 16:27:44 -04:00
Alexander Traud
fd8d2a0f63
libcurl.m4: Avoid obsolete warning
...
Closes #821
2016-05-20 16:05:39 +02:00
Michael Kaufmann
53ae37088c
CURLOPT_CONNECT_TO.3: user must not free the list prematurely
...
The connect-to list isn't copied so as long as the handle may be used
for a transfer the list must be valid.
Bug: https://github.com/curl/curl/pull/819
Reported-by: Michael Kaufmann
2016-05-20 00:14:38 -04:00
Jay Satiro
194b97b390
dist: include curl_multi_socket_all.3
...
Closes https://github.com/curl/curl/pull/816
2016-05-19 03:13:07 -04:00
Frank Gevaerts
5db313985e
CURLOPT_RESOLVE.3: fix typo
...
Closes #811
2016-05-17 14:28:12 +02:00
Daniel Stenberg
ab5a68937b
docs: CURLOPT_RESOLVE overrides CURLOPT_IPRESOLVE
2016-05-17 13:17:07 +02:00
Daniel Stenberg
d415bdb883
CURLOPT_HTTPPOST.3: the data needs to be around while in use
2016-05-17 11:08:10 +02:00
Jay Satiro
e1372418cd
libcurl-tlibcurl-thread: Update OpenSSL links
...
Because the old OpenSSL link now redirects to their master documentation
(currently 1.1.0), which does not document the required actions for
OpenSSL <= 1.0.2.
2016-05-13 16:01:35 -04:00
Daniel Stenberg
5bf5f6ebfc
libcurl-thread.3: openssl 1.1.0 is safe, and so is boringssl
2016-05-08 15:48:26 +02:00
Daniel Stenberg
dac8ce9558
docs: unified man page references to use \fI
2016-05-02 09:09:59 +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
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
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
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
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
Michael Kaufmann
f4298fcc6d
opts: Fix some syntax errors in example code fragments
...
Fixes #779
2016-04-27 00:05:04 +02:00
Daniel Stenberg
e24e1c9cc6
CURLINFO_TLS_SESSION.3: clarify TLS library support before 7.48.0
2016-04-26 15:17:07 +02:00
Daniel Stenberg
eafd9264aa
symbols-in-versions: added new CURLSSLBACKEND_ symbols
2016-04-25 23:15:00 +02:00
33623d7196
PolarSSL: Implement public key pinning
2016-04-24 12:27:39 +02:00
Daniel Stenberg
8c8177a8a1
opts/Makefile.am: list all docs file one by one
...
... to make it easier to add lines in patches that won't just break all
other patches trying to add lines too.
2016-04-19 07:59:35 +02:00
Daniel Stenberg
0bd295e3ae
curl_easy_setopt.3: mention CURLOPT_TCP_FASTOPEN
2016-04-19 00:48:56 +02:00
Alessandro Ghedini
03de4e4b21
connect: implement TCP Fast Open for Linux
...
Closes #660
2016-04-18 23:21:50 +02:00
Alessandro Ghedini
dc68f2dab9
url: add CURLOPT_TCP_FASTOPEN option
2016-04-18 23:17:19 +02:00
Daniel Stenberg
26ec93dd6a
opts: fix option references missing (section)
2016-04-18 00:02:29 +02:00
Michael Kaufmann
cd8d236245
news: CURLOPT_CONNECT_TO and --connect-to
...
Makes curl connect to the given host+port instead of the host+port found
in the URL.
2016-04-17 23:50:59 +02:00
Tatsuhiro Tsujikawa
92c2a4c053
http2: Add handling stream level error
...
Previously, when a stream was closed with other than NGHTTP2_NO_ERROR
by RST_STREAM, underlying TCP connection was dropped. This is
undesirable since there may be other streams multiplexed and they are
very much fine. This change introduce new error code
CURLE_HTTP2_STREAM, which indicates stream error that only affects the
relevant stream, and connection should be kept open. The existing
CURLE_HTTP2 means connection error in general.
Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663
2016-04-11 21:43:24 -04:00
Steve Holme
ccf7a82605
CURLOPT_SOCKS5_GSSAPI_SERVICE: Merged with CURLOPT_PROXY_SERVICE_NAME
...
As these two options provide identical functionality, the former for
SOCK5 proxies and the latter for HTTP proxies, merged the two options
together.
As such CURLOPT_SOCKS5_GSSAPI_SERVICE is marked as deprecated as of
7.49.0.
2016-04-09 20:47:05 +01:00
Steve Holme
b43fb04516
docs: Added clarification following commit 9d89a0387
2016-04-08 21:45:08 +01:00
Steve Holme
9d89a03872
ftp/imap/pop3/smtp: Allow the service name to be overridden
...
Allow the service name to be overridden for DIGIST-MD5 and Kerberos 5
authentication in FTP, IMAP, POP3 and SMTP.
2016-04-08 18:59:33 +01:00
Viktor Szakats
a24f71aac4
URLs: change http to https in many places
...
Closes #754
2016-04-06 11:58:34 +02:00
Daniel Stenberg
a71012c03e
code: style updates
2016-04-03 22:38:36 +02:00
Steve Holme
4edcfc6bf0
test1119: Fixed missing CURL_DID_MEMORY_FUNC_TYPEDEFS symbol
2016-04-02 00:30:33 +01:00
Daniel Stenberg
55452ebdff
curl/mprintf.h: remove support for _MPRINTF_REPLACE
...
The define is not in our name space and is therefore not protected by
our API promises.
It was only really used by libcurl internals but was mostly erased from
there already in 8aabbf5
(March 2015). This is supposedly the final
death blow to that define from everywhere.
As a side-effect, making sure _MPRINTF_REPLACE is gone and not used, I
made the lib tests in tests/libtest/ use curl_printf.h for its redefine
magic and then subsequently the use of sprintf() got banned in the tests
as well (as it is in libcurl internals) and I then replaced them all
with snprintf().
In the unlikely event that any users is actually using this define and
gets sad by this change, it is very easily copied to the user's own
code.
2016-04-01 10:46:36 +02:00
Daniel Stenberg
213d3c7b0c
http2: more documentation for prior knowledge
2016-03-31 22:23:15 +02:00
Diego Bes
324a97ecf8
http2: support "prior knowledge", no upgrade from HTTP/1.1
...
Supports HTTP/2 over clear TCP
- Optimize switching to HTTP/2 by removing calls to init and setup
before switching. Switching will eventually call setup and setup calls
init.
- Supports new version to “force” the use of HTTP/2 over clean TCP
- Add common line parameter “--http2-prior-knowledge” to the Curl
command line tool.
2016-03-31 22:23:11 +02:00
Daniel Stenberg
d532645afd
build: use roffit 0.11 feature
...
... load file specified as argument.
2016-03-29 16:45:17 +02:00
Daniel Stenberg
5a9ea4b18c
CURLMOPT_SOCKETFUNCTION.3: describe the 'what' argument
2016-03-27 23:50:36 +02:00
Daniel Stenberg
e0b216e38f
curl_multi_socket_action.3: mark the options properly
...
... to make them appear as links on the html version.
2016-03-27 23:34:25 +02:00
marquis-de-muesli
7a23e40f7b
docs: curlinfo_filetime sftp support, new curlopt_quote "statvfs"
...
Closes #677
2016-03-27 17:55:24 +02:00
Jay Satiro
949c388ffb
CURLINFO_TLS_SSL_PTR.3: Warn about limitations
...
Bug: https://github.com/curl/curl/issues/685
2016-03-23 01:16:21 -04:00
Daniel Stenberg
22b21bc40e
libcurl-thread.3: minor nroff format fix
2016-03-22 10:33:44 +01:00
Daniel Stenberg
4574bde908
CURLINFO_TLS_SSL_PTR.3: minor nroff format fix
2016-03-22 10:33:24 +01:00
Jay Satiro
732983eb41
CURLOPT_SSLENGINE.3: Only for OpenSSL built with engine support
...
Bug: https://curl.haxx.se/mail/lib-2016-03/0150.html
Reported-by: Oliver Graute
2016-03-15 16:00:36 -04:00
Daniel Stenberg
b7f3fe125a
curl_multi_wait.3: add example
2016-03-09 08:35:17 +01:00
Jay Satiro
307f3cf3b3
opt-docs: fix heading macros
...
..SH should be .SH
Bug: https://github.com/curl/curl/issues/705
Reported-by: Eric S. Raymond
2016-03-08 13:23:35 -05:00
Daniel Stenberg
b90f9fa5ee
CURLOPT_ACCEPTTIMEOUT_MS.3: added example
2016-03-06 23:33:18 +01:00
Daniel Stenberg
4da5e65dee
CURLOPT_ACCEPT_ENCODING.3: added example
2016-03-06 23:30:42 +01:00
Daniel Stenberg
c13a54a2fb
CURLOPT_APPEND.3: added example
2016-03-06 23:28:35 +01:00
Daniel Stenberg
4ce153c62c
CURLOPT_NOPROGRESS.3: added example, conform to stardard style
2016-03-06 23:14:23 +01:00
Daniel Stenberg
66fa069f1b
opts: added two examples
2016-03-06 17:42:37 +01:00
Daniel Stenberg
ad90a9d9d1
CURLOPT_SSL_CTX_FUNCTION.3: use .NF for example
2016-03-06 17:20:16 +01:00
Daniel Stenberg
aed91f3a7c
CURLOPT_SSL_CTX_FUNCTION.3: added example
...
and removed erroneous reference to test case lib509
2016-03-06 16:59:06 +01:00
Jay Satiro
2e0a3b935c
getinfo: Add support for mbedTLS TLS session info
...
.. and preprocessor check TLS session info is defined for all backends.
2016-02-27 19:01:00 -05:00
Jay Satiro
332414a30e
getinfo: CURLINFO_TLS_SSL_PTR supersedes CURLINFO_TLS_SESSION
...
The two options are almost the same, except in the case of OpenSSL:
CURLINFO_TLS_SESSION OpenSSL session internals is SSL_CTX *.
CURLINFO_TLS_SSL_PTR OpenSSL session internals is SSL *.
For backwards compatibility we couldn't modify CURLINFO_TLS_SESSION to
return an SSL pointer for OpenSSL.
Also, add support for the 'internals' member to point to SSL object for
the other backends axTLS, PolarSSL, Secure Channel, Secure Transport and
wolfSSL.
Bug: https://github.com/curl/curl/issues/234
Reported-by: dkjjr89@users.noreply.github.com
Bug: https://curl.haxx.se/mail/lib-2015-09/0127.html
Reported-by: Michael König
2016-02-23 19:03:03 -05:00
Jay Satiro
186546f1c5
TFTP: add option to suppress TFTP option requests (Part 2)
...
- Add tests.
- Add an example to CURLOPT_TFTP_NO_OPTIONS.3.
- Add --tftp-no-options to expose CURLOPT_TFTP_NO_OPTIONS.
Bug: https://github.com/curl/curl/issues/481
2016-02-23 03:01:07 -05:00
Michael Koenig
9dc3eaee29
TFTP: add option to suppress TFTP option requests (Part 1)
...
Some TFTP server implementations ignore the "TFTP Option extension"
(RFC 1782-1784, 2347-2349), or implement it in a flawed way, causing
problems with libcurl. Another switch for curl_easy_setopt
"CURLOPT_TFTP_NO_OPTIONS" is introduced which prevents libcurl from
sending TFTP option requests to a server, avoiding many problems caused
by faulty implementations.
Bug: https://github.com/curl/curl/issues/481
2016-02-23 03:00:58 -05:00
Jay Satiro
2ac3f427f7
CURLOPT_DEBUGFUNCTION.3: Fix example
2016-02-20 16:23:05 -05:00
Jay Satiro
bdaaba5315
CURLOPT_COOKIEFILE.3: HTTP headers must be Set-Cookie style
...
Bug: https://github.com/curl/curl/issues/666
Reported-by: baumanj@users.noreply.github.com
2016-02-18 21:07:57 -05:00
Daniel Stenberg
091dee8631
opts: add references
2016-02-18 09:14:48 +01:00
Clint Clayton
ede0bfc079
CURLOPT_CONNECTTIMEOUT_MS.3: Fix example to use milliseconds option
...
Change the example in the docs for CURLOPT_CONNECTTIMEOUT_MS to use
CURLOPT_CONNECTTIMEOUT_MS instead of CURLOPT_CONNECTTIMEOUT.
Closes #653
2016-02-14 22:38:12 +01:00
Daniel Stenberg
a87cb257b4
opt-docs: add more references
2016-02-14 15:54:47 +01:00
Timotej Lazar
50cd9c8aa1
opts: update references to renamed options
2016-02-09 14:19:31 -05:00
Viktor Szakats
d49881cb19
URLs: change more http to https
2016-02-04 18:46:54 -05:00
Viktor Szakats
b4f595bde4
URLs: change more http to https
2016-02-02 22:29:47 -05:00
Daniel Stenberg
4af40b3646
URLs: change all http:// URLs to https://
2016-02-03 00:19:02 +01:00
Daniel Stenberg
6b485c7407
HTTPS: update a bunch of URLs from HTTP to HTTPS
2016-02-02 00:24:30 +01:00
Daniel Stenberg
5a28126b22
curl_multi_socket_action.3: line wrap
2016-01-24 20:31:30 +01:00
Daniel Schauenberg
1074cca8cd
CURLINFO_RESPONSE_CODE.3: add example
2016-01-16 23:05:07 -05:00
Kamil Dudka
be538e0766
ssh: make CURLOPT_SSH_PUBLIC_KEYFILE treat "" as NULL
...
The CURLOPT_SSH_PUBLIC_KEYFILE option has been documented to handle
empty strings specially since curl-7_25_0-31-g05a443a but the behavior
was unintentionally removed in curl-7_38_0-47-gfa7d04f.
This commit restores the original behavior and clarifies it in the
documentation that NULL and "" have both the same meaning when passed
to CURLOPT_SSH_PUBLIC_KEYFILE.
Bug: http://curl.haxx.se/mail/lib-2016-01/0072.html
2016-01-15 10:34:34 +01:00
Daniel Stenberg
133cd19244
CURLOPT_RESOLVE.3: minor language polish
2016-01-13 09:11:12 +01:00
Thomas Glanzmann
bf93a1217c
mbedtls: implement CURLOPT_PINNEDPUBLICKEY
2016-01-10 00:17:26 +01:00
Jay Satiro
19ca40100b
curl_global_init.3: Add Windows-specific info for init via DLL
...
- Add to both curl_global_init.3 and libcurl.3 the caveat for Windows
that initializing libcurl via a DLL's DllMain or static initializer
could cause a deadlock.
Bug: https://github.com/bagder/curl/issues/586
Reported-by: marc-groundctl@users.noreply.github.com
2016-01-04 17:44:39 -05:00
Daniel Stenberg
90c2d215d7
CURLOPT_RANGE: for HTTP servers, range support is optional
2015-12-24 23:35:54 +01:00
Daniel Stenberg
4bcc532de5
http: add libcurl option to allow HTTP/2 for HTTPS only
...
... and stick to 1.1 for HTTP. This is in line with what browsers do and
should have very little risk.
2015-12-13 09:24:51 +01:00
Gisle Vanem
b1f9424fa7
version: Add flag CURL_VERSION_PSL for libpsl
2015-12-07 02:59:54 -05:00
Daniel Stenberg
fc5d783589
CURLOPT_HEADERFUNCTION.3: fix typo
...
Refer to _HEADERDATA not _WRITEDATA.
Reported-by: Michał Piechowski
2015-11-23 16:11:57 +01:00
Daniel Shahaf
80562083da
build: Fix theoretical infinite loops
...
Add error-checking to 'cd' in a few cases where omitting the checks
might result in an infinite loop.
Closes #535
2015-11-20 00:25:42 +01:00
Daniel Stenberg
6c5f4303fe
CURLMOPT_PUSHFUNCTION.3: *_byname() returns only the first header
...
... if there are more than one using the same name
2015-11-16 08:26:48 +01:00
Steve Holme
1ee0aded89
symbols-in-versions: Added new CURLOPTTYPE_STRINGPOINT alias
...
...following commit aba281e762
to fix test 1119.
2015-11-13 20:42:35 +00:00
Steve Holme
007f3e0971
opts: Corrected TLS protocols list to include POP3S rather than POP3
2015-11-07 22:11:04 +00:00
Daniel Stenberg
cba5bc5854
symbols-in-version: add all CURL_HTTPPOST_* symbols
2015-11-02 08:41:53 +01:00
Daniel Stenberg
ca5f9341ef
formadd: support >2GB files on windows
...
Closes #425
2015-11-02 08:41:46 +01:00
Kurt Fankhauser
529f9310b1
ftp: allow CURLOPT_IGNORE_CONTENT_LENGTH to ignore size
...
This allows FTP transfers with growing (or shrinking) files without
causing a transfer error.
Closes #480
2015-10-23 14:57:30 +02:00
Daniel Stenberg
b1199def8c
CURLOPT_STREAM_WEIGHT.3: call argument 'weight' too
...
... and add a little example of what the weight actually means. "Relative
proportion of bandwidth".
2015-10-23 09:23:46 +02:00
Daniel Stenberg
b7d894d808
http2: add stream options to dist and curl_easy_setopt.3
2015-10-23 09:16:00 +02:00
Daniel Stenberg
d31ed6ac71
http2: s/priority/weight
2015-10-23 08:22:38 +02:00
Daniel Stenberg
3042cb5043
http2: added three stream prio/deps options
...
CURLOPT_STREAM_DEPENDS
CURLOPT_STREAM_DEPENDS_E
CURLOPT_STREAM_PRIORITY
2015-10-23 08:22:38 +02:00
Jonas Minnberg
fe7590f729
vtls: added support for mbedTLS
...
closes #496
2015-10-20 07:57:24 +02:00
Svyatoslav Mishyn
d30ad55c59
curl_easy_recv.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET
...
Closes #479
2015-10-08 22:50:49 +02:00
Svyatoslav Mishyn
08e5fb4465
curl_easy_send.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET
2015-10-08 22:50:42 +02:00
Svyatoslav Mishyn
2e373f4a6f
CURLOPT_CONNECT_ONLY.3: CURLINFO_LASTSOCKET => CURLINFO_ACTIVESOCKET
2015-10-08 22:50:42 +02:00
Daniel Stenberg
bce689605d
CURLOPT_CERTINFO.3: fix reference to CURLINFO_CERTINFO
2015-10-08 13:47:52 +02:00
Svyatoslav Mishyn
963b7bd4f7
docs: fix unescaped '\n' in man pages
...
Closes https://github.com/bagder/curl/pull/459
2015-09-27 23:45:41 -04:00
Jay Satiro
095fe60e27
curl_easy_getinfo.3: Add brief description for each CURLINFO
2015-09-25 02:37:42 -04:00
Daniel Stenberg
7362008c1c
CURLINFO_TLS_SESSION: always return backend info
...
... even for those that don't support providing anything in the
'internals' struct member since it offers a convenient way for
applications to figure this out.
2015-09-22 17:21:37 +02:00
Richard van den Berg
0583ed3e48
CURLOPT_PROXY.3: A proxy given as env variable gets no special treatment
...
Closes #449
2015-09-22 16:54:28 +02:00
Viktor Szakats
bb72b9453d
CURLOPT_PINNEDPUBLICKEY.3: replace test.com with example.com
...
closes #443
2015-09-20 18:41:23 +02:00
Daniel Stenberg
65ca3b083c
CURLOPT_PINNEDPUBLICKEY.3: mention error code
2015-09-17 08:54:32 +02:00
Daniel Stenberg
887a4a19aa
libcurl-errors.3: add two missing error codes
...
CURLE_SSL_PINNEDPUBKEYNOTMATCH and CURLE_SSL_INVALIDCERTSTATUS
2015-09-17 08:49:06 +02:00
Jay Satiro
b550a1c067
CURLOPT_PINNEDPUBLICKEY.3: Improve pubkey extraction example
...
- Show how a certificate can be obtained using OpenSSL.
Bug: https://github.com/bagder/curl/pull/430
Reported-by: Daniel Hwang
2015-09-14 03:16:04 -04:00
Daniel Stenberg
a7cb6a28e2
CURLINFO_ACTIVESOCKET.3: mention it replaces *LASTSOCKET
2015-09-12 23:37:52 +02:00
Daniel Stenberg
3d4ffa71f7
opts: add CURLINFO_* man pages to dist
2015-09-12 23:22:33 +02:00
Daniel Stenberg
cdba82e1c2
opts: 19 more CURLINFO_* options made into stand-alone man pages
2015-09-12 23:13:47 +02:00
Svyatoslav Mishyn
0e17369f5b
CURLOPT_FNMATCH_FUNCTION.3: fix typo
...
s => is
Closes #428
2015-09-11 18:43:54 +02:00
Svyatoslav Mishyn
4e6f7aee64
docs: fix argument type for CURLINFO_SPEED_*, CURLINFO_SIZE_*
...
long => double
2015-09-08 21:19:34 -04:00
Daniel Stenberg
87e533ace0
parse_proxy: reject illegal port numbers
...
If the port number in the proxy string ended weirdly or the number is
too large, skip it. Mostly as a means to bail out early if a "bare" IPv6
numerical address is used without enclosing brackets.
Also mention the bracket requirement for IPv6 numerical addresses to the
man page for CURLOPT_PROXY.
Closes #415
Reported-by: Marcel Raad
2015-09-08 15:17:00 +02:00
Svyatoslav Mishyn
664398e43b
CURLOPT_TLSAUTH_TYPE.3: update description
...
Closes #414
Closes #413
2015-09-06 23:12:17 +02:00
Svyatoslav Mishyn
3a4f42dd0c
CURLOPT_PATH_AS_IS.3: fix typo
...
leavit => leaveit
closes #412
2015-09-05 23:19:49 +02:00
Svyatoslav Mishyn
5ea0004438
CURLINFO_SSL_VERIFYRESULT.3: add short description
2015-09-05 23:19:33 +02:00
Svyatoslav Mishyn
f1ccf68e8c
CURLINFO_SSL_ENGINES.3: add short description
2015-09-05 23:19:33 +02:00
Svyatoslav Mishyn
d36d83ba4b
CURLINFO_CONTENT_LENGTH_UPLOAD.3: replace "receive" with "get" for consistency
2015-09-05 23:19:33 +02:00
Svyatoslav Mishyn
5dc556031b
CURLINFO_REDIRECT_TIME.3: remove redundant '!'
2015-09-05 23:19:33 +02:00
Kamil Dudka
0e91737615
Revert "has: generate the curl/has.h header"
...
This reverts commit a60bde79f9
I have
pushed by mistake. Apologies for my incompetent use of the git repo!
2015-09-04 16:12:26 +02:00
Daniel Stenberg
a60bde79f9
has: generate the curl/has.h header
...
changed macro name, moved and renamed script to become docs/libcurl/has.pl,
generate code that is checksrc compliant
2015-09-04 10:41:43 +02:00
Daniel Stenberg
e1a4bab86a
CURLOPT_POSTREDIR.3: update RFC number and section
2015-09-03 17:33:16 +02:00
Daniel Stenberg
8a0ff1e529
CURLOPT_FOLLOWLOCATION.3: mention methods for redirects
...
and some general cleaning up
2015-09-03 17:27:40 +02:00
Jay Satiro
cb6a07fed0
docs: Warn about any-domain cookies and multiple transfers
...
- Warn that cookies without a domain are sent to any domain:
CURLOPT_COOKIELIST, CURLOPT_COOKIEFILE, --cookie
- Note that imported Set-Cookie cookies without a domain are no longer
exported:
CURLINFO_COOKIELIST, CURLOPT_COOKIEJAR, --cookie-jar
2015-09-03 02:35:11 -04:00
Daniel Stenberg
9bb198026e
opts: 8 more CURLINFO* options as stand-alone man pages
2015-09-02 00:00:53 +02:00
Daniel Stenberg
c764cb4add
man-pages: more SEE ALSO links
2015-08-31 16:03:53 +02:00
Daniel Stenberg
6099f5fcac
opts: more CURLINFO_* options as stand-alone man pages
2015-08-31 15:28:21 +02:00
Jay Satiro
dfeb85a187
CURLOPT_FILETIME.3: CURLINFO_FILETIME has its own manpage now
2015-08-29 23:23:58 -04:00
Daniel Stenberg
96a3488eae
CURLINFO_RESPONSE_CODE.3: added short description
2015-08-29 13:55:00 +02:00
Daniel Stenberg
45e918564a
opts: 7 initial CURLINFO_* options as stand-alone man pages
2015-08-28 22:58:00 +02:00
Nikolai Kondrashov
1abb218fe0
libcurl.m4: Put braces around empty if body
...
Put braces around empty "if" body in libcurl.m4 check to avoid warning:
suggest braces around empty body in an 'if' statement
and make it work with -Werror builds.
Closes #402
2015-08-28 22:51:55 +02:00
Svyatoslav Mishyn
ac7be02e69
curl_easy_escape.3: escape '\n'
...
Closes #398
2015-08-25 22:44:22 +02:00
Svyatoslav Mishyn
37f173cfd0
curl_easy_{escape,setopt}.3: fix example
...
remove redundant '}'
2015-08-25 22:44:14 +02:00
Svyatoslav Mishyn
f21408132a
curl_easy_{escape,unescape}.3: "char *" vs. "const char *"
...
Closes #395
2015-08-24 23:58:57 +02:00
Razvan Cojocaru
62f306ff34
getinfo: added CURLINFO_ACTIVESOCKET
...
This patch addresses known bug #76 , where on 64-bit Windows SOCKET is 64
bits wide, but long is only 32, making CURLINFO_LASTSOCKET unreliable.
Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
2015-08-24 12:34:17 +02:00
Nathaniel Waisbrot
9756d1da76
CURLOPT_DEFAULT_PROTOCOL: added
...
- Add new option CURLOPT_DEFAULT_PROTOCOL to allow specifying a default
protocol for schemeless URLs.
- Add new tool option --proto-default to expose
CURLOPT_DEFAULT_PROTOCOL.
In the case of schemeless URLs libcurl will behave in this way:
When the option is used libcurl will use the supplied default.
When the option is not used, libcurl will follow its usual plan of
guessing from the hostname and falling back to 'http'.
2015-08-22 21:57:14 -04:00
Sam Roth
e67e71d62b
CURLMOPT_PUSHFUNCTION.3: fix argument types
...
Closes #389
Closes #386
2015-08-19 10:35:24 +02:00
Jay Satiro
1f1f131e09
docs: Update the redirect protocols disabled by default
...
- Clarify that FILE and SCP are disabled by default since 7.19.4
- Add that SMB and SMBS are disabled by default since 7.40.0
- Add CURLPROTO_SMBS to the list of protocols
2015-08-18 01:38:07 -04:00
Daniel Stenberg
5a136398ed
curl_easy_getinfo.3: fix superfluous space
...
... and changed "oriented" to "related"
Closes #378
2015-08-15 23:56:28 +02:00
Daniel Stenberg
7166d91a03
CURLOPT_HTTP_VERSION.3: connection re-use goes before version
2015-08-15 23:36:28 +02:00
Jay Satiro
9e1b1ca606
curl_global_init_mem.3: Stronger thread safety warning
...
Bug: http://curl.haxx.se/mail/lib-2015-08/0016.html
Reported-by: Eric Ridge
2015-08-13 23:29:27 -04:00
Svyatoslav Mishyn
15da07d2f2
curl_multi_add_handle.3: fix a typo
...
"can not" => "cannot"
closes #377
2015-08-12 15:23:59 +02:00
Alessandro Ghedini
5be0c88297
docs: fix typos
...
closes #376
2015-08-12 11:29:55 +02:00
Svyatoslav Mishyn
c75a1e7750
curl_formget.3: correct return code
...
Closes #375
2015-08-11 20:08:33 +02:00
Svyatoslav Mishyn
daf7f98c11
libcurl-tutorial.3: fix formatting
...
Closes #374
2015-08-11 14:59:07 +02:00
Svyatoslav Mishyn
bb0acba67d
curl_easy_recv.3: fix formatting
2015-08-11 14:58:54 +02:00
Jay Satiro
c22fae7ccc
CURLOPT_RESOLVE.3: Note removal support was added in 7.42
...
Bug: http://curl.haxx.se/mail/lib-2015-08/0019.html
Reported-by: Inca R
2015-08-09 02:33:25 -04:00
juef
b9b7ccd04a
curl_multi_remove_handle.3: fix formatting
...
closes #366
2015-08-06 23:37:26 +02:00
Daniel Stenberg
9947f259bf
curl_slist_append.3: add error checking to the example
2015-08-05 14:28:39 +02:00
Daniel Stenberg
4b96240d3f
libcurl.3: fix a single typo
...
Closes #361
2015-08-03 23:28:31 +02:00
Daniel Stenberg
c092b0f0f3
docs: formpost needs the full size at start of upload
...
Closes #360
2015-08-02 00:15:39 +02:00
Daniel Stenberg
c8331f515e
libcurl-thread.3: minor reformatting
2015-07-31 23:19:02 +02:00
Jay Satiro
23b84e448f
curl_global_init_mem.3: Warn threaded resolver needs thread safe funcs
...
Bug: http://curl.haxx.se/mail/lib-2015-07/0149.html
Reported-by: Eric Ridge
2015-07-31 02:38:44 -04:00
Jay Satiro
0da1f5dc5c
libcurl-thread.3: Warn memory functions must be thread safe
...
Bug: http://curl.haxx.se/mail/lib-2015-07/0149.html
Reported-by: Eric Ridge
2015-07-31 01:58:03 -04:00
Viktor Szakats
ecf7618e12
ABI doc: use secure URL
2015-07-30 15:02:44 +02:00
Daniel Stenberg
5b9a006b8f
ABI: remove the ascii logo
...
and made the indent level to 1
2015-07-30 12:16:14 +02:00
Daniel Stenberg
fc69e2f7ec
libcurl-multi.3: mention curl_multi_wait
...
... and some general rewordings to improve this docs.
Reported-by: Tim Stack
Closes #356
2015-07-30 10:18:45 +02:00
Jay Satiro
467309406e
libcurl-thread.3: Clarify CURLOPT_NOSIGNAL takes long value 1L
2015-07-29 02:05:32 -04:00
Jay Satiro
299b74fcfc
libcurl-thread.3: Revert to stricter handle wording
...
.. also update formatting and add WinSSL and wolfSSL to the SSL/TLS
handlers list.
2015-07-28 13:57:06 +02:00
Jay Satiro
279965c923
libcurl-thread.3: Consolidate thread safety info
...
This is a new document to consolidate our thread safety information from
several documents (curl-www:features, libcurl.3, libcurl-tutorial.3).
Each document's section on multi-threading will now point to this one.
2015-07-28 13:57:06 +02:00
Jay Satiro
aab76af1fa
symbols-in-versions: Add new CURLSSLOPT_NO_REVOKE symbol
2015-07-18 15:27:48 -04:00
Jay Satiro
172b2beba6
SSL: Add an option to disable certificate revocation checks
...
New tool option --ssl-no-revoke.
New value CURLSSLOPT_NO_REVOKE for CURLOPT_SSL_OPTIONS.
Currently this option applies only to WinSSL where we have automatic
certificate revocation checking by default. According to the
ssl-compared chart there are other backends that have automatic checking
(NSS, wolfSSL and DarwinSSL) so we could possibly accommodate them at
some later point.
Bug: https://github.com/bagder/curl/issues/264
Reported-by: zenden2k <zenden2k@gmail.com>
2015-07-17 02:40:16 -04:00
55b78c5ae9
SSL: Pinned public key hash support
2015-07-01 19:43:47 +02:00
Jay Satiro
616cecfdb6
symbols-in-versions: Add new http2 push symbols
...
Prior to this change test 1119 failed due to the missing symbols.
2015-06-30 17:03:08 -04:00
Daniel Stenberg
37402b5eb8
CURLOPT_FAILONERROR.3: mention that it closes the connection
...
Reported-by: bemoody
Bug: https://github.com/bagder/curl/issues/325
2015-06-24 15:26:15 -07:00
Daniel Stenberg
69c77f69a5
curl_multi_setopt.3: alpha sort the options
2015-06-24 14:55:12 -07:00
Daniel Stenberg
dc2cbfda89
curl_multi_setopt.3: add the new push options
2015-06-24 14:52:58 -07:00
Tatsuhiro Tsujikawa
77044b53f7
CURLMOPT_PUSHFUNCTION.3: Remove unused variable
2015-06-24 23:44:42 +02:00
Daniel Stenberg
c712aa0ebe
CURLMOPT_PUSHFUNCTION.3: added example
2015-06-24 23:44:42 +02:00
Daniel Stenberg
a384f28ca6
http2: curl_pushheader_byname now takes a const char *
2015-06-24 23:44:42 +02:00
Daniel Stenberg
f65ab8864e
http2: fixed the header accessor functions for the push callback
2015-06-24 23:44:42 +02:00
Daniel Stenberg
ea7134ac87
http2: initial implementation of the push callback
2015-06-24 23:44:42 +02:00
Daniel Stenberg
70191958b5
http2: initial HTTP/2 server push types/docs
2015-06-24 23:44:42 +02:00
Kamil Dudka
ea1eec8ea8
curl_easy_setopt.3: restore contents removed by mistake
...
... in commit curl-7_43_0-18-g570076e
2015-06-19 10:07:32 -04:00
Daniel Stenberg
570076e82c
curl_easy_setopt.3: mention CURLOPT_PIPEWAIT
2015-06-19 15:47:27 +02:00
Daniel Stenberg
cf6ef2dc92
libcurl-errors.3: fix typo
2015-06-18 00:17:47 +02:00
Daniel Stenberg
3b93f1a3ec
curl_easy_setopt.3: option order doesn't matter
2015-06-18 00:09:46 +02:00
Jay Satiro
f72b30e6fb
CURLOPT_ERRORBUFFER.3: Fix example, escape backslashes
2015-06-17 02:49:14 -04:00
Jay Satiro
52d83cb0c6
CURLOPT_ERRORBUFFER.3: Improve example
2015-06-17 02:25:51 -04:00
Paul Oliver
28f4fc5272
Fix typo in docs
...
s/curret/current/
2015-06-16 12:16:55 +02:00
Daniel Stenberg
75ba107767
curl_easy_duphandle: see also *reset
2015-06-15 10:37:38 +02:00
Jay Satiro
dd39a67101
curl_multi_info_read.3: fix example formatting
2015-06-13 23:25:53 -04:00
Daniel Stenberg
4a7feea31a
curl_easy_cleanup.3: provide more SEE ALSO
2015-06-11 08:32:11 +02:00
Ville Skyttä
56b7663f73
docs: Spelling fixes
2015-06-08 13:43:31 +02:00
Daniel Stenberg
3587da9e7c
curl.h: add CURL_HTTP_VERSION_2
...
The protocol is named "HTTP/2" after all. It is an alias for the
existing CURL_HTTP_VERSION_2_0 enum.
2015-06-05 08:26:47 +02:00
Jay Satiro
3013bb6b1c
cookie: Stop exporting any-domain cookies
...
Prior to this change any-domain cookies (cookies without a domain that
are sent to any domain) were exported with domain name "unknown".
Bug: https://github.com/bagder/curl/issues/292
2015-06-03 21:48:47 -04:00
Daniel Stenberg
f6af9aef7e
curl_multi_timeout.3: added example
2015-06-02 12:18:10 +02:00
Daniel Stenberg
46a050e9f5
curl_multi_perform.3: added example
2015-06-02 12:13:23 +02:00
Daniel Stenberg
3cac8c9049
curl_multi_info_read.3: added example
2015-06-02 12:01:39 +02:00
Daniel Stenberg
3bbcb4b036
curl_getdate.3: update RFC reference
2015-06-01 15:04:40 +02:00
Jay Satiro
b18a1654c1
CURLOPT_COOKIELIST.3: Explain Set-Cookie without a domain
...
Document that if Set-Cookie is used without a domain then the cookie is
sent for any domain and will not be modified.
Bug: http://curl.haxx.se/mail/lib-2015-05/0137.html
Reported-by: Alexander Dyagilev
2015-05-25 17:27:53 -04:00
Jay Satiro
96c0164b88
CURLOPT_COOKIE.3: Explain that the cookies won't be modified
...
The CURLOPT_COOKIE doc says it "sets the cookie header explicitly in the
outgoing request(s)." However there seems to be some user confusion
about cookie modification. Document that the cookies set by this option
are not modified by the cookie engine.
Bug: http://curl.haxx.se/mail/lib-2015-05/0115.html
Reported-by: Alexander Dyagilev
2015-05-24 19:01:13 -04:00
Jay Satiro
4bef1c7bf4
CURLOPT_COOKIELIST.3: Add example
2015-05-24 15:39:49 -04:00
Daniel Stenberg
ee04c20b74
CURLOPT_HTTPPROXYTUNNEL.3: only works with a HTTP proxy!
2015-05-21 14:17:17 +02:00
Daniel Stenberg
0f6f7c100a
curl_easy_unescape.3: update RFC reference
...
Reported-by: bsammon
Bug: https://github.com/bagder/curl/issues/282
2015-05-20 08:21:27 +02:00
Jay Satiro
db979fea73
CURLOPT_POSTFIELDS.3: Mention curl_easy_escape
...
.. also correct some variable naming in curl_easy_escape.3
Bug: https://github.com/bagder/curl/issues/281
Reported-by: bsammon@users.noreply.github.com
2015-05-20 01:48:31 -04:00
Daniel Stenberg
7d0df07e48
symbols-in-versions: add CURLOPT_PIPEWAIT
2015-05-18 09:33:47 +02:00
Daniel Stenberg
811443754a
CURLOPT_PIPEWAIT: added
...
By setting this option to 1 libcurl will wait for a connection to reveal
if it is possible to pipeline/multiplex on before it continues.
2015-05-18 09:33:47 +02:00
Daniel Stenberg
783b3c7b42
http2: separate multiplex/pipelining + cleanup memory leaks
2015-05-18 08:57:18 +02:00
Daniel Stenberg
02ec1ced9b
CURLMOPT_PIPELINE: bit 1 is for multiplexing
2015-05-18 08:57:18 +02:00
Daniel Stenberg
a6af3df660
CURLMOPT_MAX_HOST_CONNECTIONS: host = host name + port number
2015-05-12 23:47:01 +02:00
Egon Eckert
8936a23f51
opts: improved the TCP keepalive examples
2015-05-08 08:27:19 +02:00
Daniel Stenberg
8a35211f3e
curl_multi_info_read.3: fix typo
...
Reported-by: Liviu Chircu
2015-05-04 23:45:25 +02:00
Jay Satiro
55db5bdff7
docs/libcurl: gitignore libcurl-symbols.3
...
Bug: http://curl.haxx.se/mail/lib-2015-04/0191.html
Reported-by: Michael Osipov
2015-04-29 13:51:42 -04:00
Daniel Stenberg
6ba2e88a64
CURLOPT_HEADEROPT: default to separate
...
Make the HTTP headers separated by default for improved security and
reduced risk for information leakage.
Bug: http://curl.haxx.se/docs/adv_20150429.html
Reported-by: Yehezkel Horowitz, Oren Souroujon
2015-04-28 21:02:37 +02:00
Linus Nielsen
1f8a337e41
docs/libcurl: Corrected a typo in the CURLOPT_PROXY_SERVICE_NAME documentation
2015-04-28 14:47:18 +02:00
Daniel Stenberg
0741271198
dist: ship CURLOPT_PROXY_SERVICE_NAME and CURLOPT_SERVICE_NAME
2015-04-28 09:03:58 +02:00
Linus Nielsen
97c272e5d1
Negotiate: custom service names for SPNEGO.
...
* Add new options, CURLOPT_PROXY_SERVICE_NAME and CURLOPT_SERVICE_NAME.
* Add new curl options, --proxy-service-name and --service-name.
2015-04-28 08:29:56 +02:00
Daniel Stenberg
b55cb2eef2
curl_easy_getinfo.3: document 'internals' in CURLINFO_TLS_SESSION
...
... as it was previouly undocumented what the pointer was.
2015-04-27 00:29:18 +02:00
Jay Satiro
0675abbc75
cyassl: Implement public key pinning
...
Also add public key extraction example to CURLOPT_PINNEDPUBLICKEY doc.
2015-04-22 17:07:19 -04:00
Kamil Dudka
ba4741842e
docs: distribute the CURLOPT_PINNEDPUBLICKEY(3) man page, too
2015-04-22 14:52:16 +02:00
Kamil Dudka
b47c17d67c
nss: implement public key pinning for NSS backend
...
Bug: https://bugzilla.redhat.com/1195771
2015-04-22 13:21:31 +02:00
Daniel Stenberg
cf2d21d86f
CURLOPT_HEADERFUNCTION.3: match parameter name in synopsis and desc
...
Bug: https://github.com/bagder/curl/issues/229
Reported-by: bsammon
2015-04-20 23:40:40 +02:00
Michael Stapelberg
cc0e7ebc3b
CURLMOPT_TIMERFUNCTION.3: Clarify, add an example
2015-04-19 23:29:51 +02:00
Daniel Stenberg
63c64e05a4
curl_version_info.3: fixed the 'protocols' variable type
...
Reported-by: John Marshall
Bug: https://github.com/bagder/curl/issues/225
2015-04-18 22:46:52 +02:00
Thomas Ruecker
c84f0250e3
CURLOPT_HTTP200ALIASES.3: Mainly SHOUTcast servers use "ICY 200"
...
Icecast versions 1.3.0 through 1.3.12 would reply with "ICY 200"
under certain conditions:
client_wants_icy_headers (connection_t *con)
{
const char *val;
if (!con)
return 1;
val = get_user_agent (con);
if (!val || !val[0] || strcmp (val, "(null)") == 0)
return 1;
if (con->food.client->use_icy)
return 1;
if (strncasecmp (val, "winamp", 6) == 0)
return 1;
if (strncasecmp (val, "Shoutcast", 9) == 0)
return 1;
return 0;
}
So mainly if there is no 'user agent' or it is '(null)' or contains
'winamp' or 'Shoutcast'.
No mainstream distribution carries Icecast 1.3.x anymore, after all
it was released in 2002 and superseded by Icecast 2.x.
2015-03-31 23:53:56 +02:00
Jay Satiro
fcdc597b1a
cyassl: CTX callback cosmetic changes and doc fix
...
- More descriptive fail message for NO_FILESYSTEM builds.
- Cosmetic changes.
- Change more of CURLOPT_SSL_CTX_* doc to not be OpenSSL specific.
2015-03-28 16:41:51 +01:00
Kyle L. Huff
d2feb71752
cyassl: add SSL context callback support for CyaSSL
...
Adds support for CURLOPT_SSL_CTX_FUNCTION when using CyaSSL, and better
handles CyaSSL instances using NO_FILESYSTEM.
2015-03-27 23:32:14 +01:00
Dan Fandrich
aa5808b504
symbols-in-versions: added CURLOPT_PATH_AS_IS
2015-03-24 23:47:02 +01:00
Jay Satiro
9edf28e12d
curl_easy_setopt.3: Fix misspelling in CURLOPT_PATH_AS_IS description
2015-03-24 21:48:15 +01:00
Viktor Szakáts
bbd0dd3fe2
CURLOPT_HTTPHEADER.3: fix typo in recent commit
2015-03-24 21:48:02 +01:00
Viktor Szakáts
e438a9e2f0
CURLOPT_PATH_AS_IS.3: add type 'long' to prototype
2015-03-24 21:46:07 +01:00
Daniel Stenberg
f687860936
curl_easy_setopt.3: Add CURLOPT_PATH_AS_IS
2015-03-24 11:06:38 +01:00
Daniel Stenberg
5d23279299
CURLOPT_PATH_AS_IS: added
...
--path-as-is is the command line option
Added docs in curl.1 and CURLOPT_PATH_AS_IS.3
Added test in test 1241
2015-03-24 10:31:58 +01:00
Yamada Yasuharu
ecc4940df2
curl_easy_recv/send: make them work with the multi interface
...
By making sure Curl_getconnectinfo() uses the correct connection cache
to find the last connection.
2015-03-23 22:46:58 +01:00
Nick Zitzmann
7f5a170442
darwinsssl: add support for TLS False Start
...
TLS False Start support requires iOS 7.0 or later, or OS X 10.9 or later.
2015-03-21 12:22:56 -05:00
Alessandro Ghedini
4dcd25e138
url: add CURLOPT_SSL_FALSESTART option
...
This option can be used to enable/disable TLS False Start defined in the RFC
draft-bmoeller-tls-falsestart.
2015-03-20 20:14:33 +01:00
Alessandro Ghedini
a332922a52
gtls: implement CURLOPT_CERTINFO
2015-03-20 19:03:53 +01:00
Daniel Stenberg
9e8f9dbdd3
CURLOPT_URL.3: spelling!
...
Reported-by: Frank Gevaerts
2015-03-20 13:49:45 +01:00
Daniel Stenberg
620e0b23c8
CURLOPT_URL.3: Added "SECURITY CONCERNS"
2015-03-20 12:14:40 +01:00
Daniel Stenberg
2b7ac4e710
CURLOPT_HTTPHEADER.3: add a "SECURITY CONCERNS" section
2015-03-20 12:03:09 +01:00
Dan Fandrich
8ecfaad2cc
docs/libcurl: clean up libcurl-symbols.3
2015-03-18 23:54:36 +01:00
Dan Fandrich
431c5261d2
docs/libcurl: check that all options with man pages are referenced
...
If a man page exists in the opts/ directory, it must also be referenced
either in curl_easy_setopt.3 or curl_multi_setopt.3
2015-03-18 23:44:45 +01:00
Dan Fandrich
d260a0aeeb
curl_easy_setopt.3: added a few missing options
2015-03-18 23:20:49 +01:00
Christian Weisgerber
e539f01567
docs/libcurl: make portability fix
...
Using $< in a non-suffix rule context is a GNU make idiom. This bug was
introduced in 7.41.0.
2015-03-18 08:31:06 +01:00
Daniel Stenberg
40914fd544
CURLOPT_*.3: more examples and edits
2015-03-17 08:57:31 +01:00
Daniel Stenberg
8c41f368f5
CURLOPT_*.3: added lots of small example sections
2015-03-17 08:03:46 +01:00
Daniel Stenberg
6105029b23
CURLOPT_PRIVATE.3: provide an example
2015-03-16 23:56:11 +01:00
Daniel Stenberg
9c518a7d95
CURLOPT_*TIMEOUT.3: provide examples
2015-03-16 23:51:22 +01:00
Daniel Stenberg
8644a88202
CURLOPT_USERAGENT.3: added an example
2015-03-16 23:41:45 +01:00
Daniel Stenberg
76afe14584
CURLOPT_STDERR.3: added an example
2015-03-16 23:40:52 +01:00
Daniel Stenberg
fe02d132e2
curl_easy_perform.3: remove superfluous close brace from example
2015-03-16 23:28:23 +01:00
Daniel Stenberg
918e040953
mksymbolsmanpage.pl: use std header and generate better nroff header
2015-03-15 23:23:20 +01:00
Alessandro Ghedini
5a1614cecd
gtls: add support for CURLOPT_CAPATH
2015-03-10 15:03:54 +01:00
Daniel Stenberg
163d29826d
curl_easy_setopt.3: added CURLOPT_SSL_VERIFYSTATUS
...
Reported-by: Jonathan Cardoso
2015-03-06 17:07:28 +01:00
Daniel Stenberg
ac4d08b5e2
symbols.pl: handle '-' in the deprecated field
...
... which otherwise made the script skip the _LAST define for some
symbols.
Reported-by: Jeroen Ooms
Bug: http://curl.haxx.se/mail/lib-2015-03/0052.html
2015-03-04 08:36:38 +01:00
Daniel Stenberg
f3f7d37c1d
CURLOPT_HEADERFUNCTION.3: typo in error code name
...
Reported-by: Jonathan Cardoso
2015-03-02 17:25:39 +01:00
Jay Satiro
e349a1bf74
opts: Fix pipelining examples
2015-03-02 08:38:43 +01:00
Jay Satiro
70523c690b
curl_multi_setopt.3: Link to CURLMOPT_MAXCONNECTS
2015-03-02 08:38:30 +01:00
Jay Satiro
ac100f1624
opts: CURLOPT_CAINFO availability depends on SSL engine
2015-02-03 08:41:25 +01:00
Daniel Stenberg
ae9963776a
libcurl-symbols: first basic shot for autogenerated docs
2015-02-02 15:38:54 +01:00
Daniel Stenberg
ca51ac4017
CURLOPT_HTTP_VERSION.3: CURL_HTTP_VERSION_2_0 added in 7.33.0
...
And modify the text to refer to HTTP 2 as it isn't called "2.0".
Reported-By: Michael Wallner
2015-02-02 13:17:20 +01:00
Michael Kaufmann
04f246f8c7
CURLOPT_SEEKFUNCTION.3: also when server closes a connection
2015-01-29 22:34:21 +01:00
Alessandro Ghedini
d1cf5d5706
openssl: add support for the Certificate Status Request TLS extension
...
Also known as "status_request" or OCSP stapling, defined in RFC6066
section 8.
Thanks-to: Joe Mason
- for the work-around for the OpenSSL bug.
2015-01-22 23:25:23 +01:00
Daniel Stenberg
b2c01f02d5
CURLOPT_SSL_VERIFYSTATUS.3: mention it is added in version 7.41.0
2015-01-16 23:41:50 +01:00
Daniel Stenberg
14a6cfaddb
opts: add CURLOPT_SSL_VERIFYSTATUS* to docs/Makefile
2015-01-16 23:34:28 +01:00
Alessandro Ghedini
3af90a6e19
url: add CURLOPT_SSL_VERIFYSTATUS option
...
This option can be used to enable/disable certificate status verification using
the "Certificate Status Request" TLS extension defined in RFC6066 section 8.
This also adds the CURLE_SSL_INVALIDCERTSTATUS error, to be used when the
certificate status verification fails, and the Curl_ssl_cert_status_request()
function, used to check whether the SSL backend supports the status_request
extension.
2015-01-16 23:23:29 +01:00
Steve Holme
1abe65d928
code/docs: Use Unix rather than UNIX to avoid use of the trademark
...
Use Unix when generically writing about Unix based systems as UNIX is
the trademark and should only be used in a particular product's name.
2014-12-26 21:42:44 +00:00
Jay Satiro
7b3afc952f
opts: Warn CURLOPT_TIMEOUT overrides when set after CURLOPT_TIMEOUT_MS
...
Change CURLOPT_TIMEOUT doc to warn that if CURLOPT_TIMEOUT and
CURLOPT_TIMEOUT_MS are both set whichever one is set last is the one
that will be used.
Prior to this change that behavior was only noted in the
CURLOPT_TIMEOUT_MS doc.
2014-12-15 22:24:22 +01:00
Peter Wu
4fd0add1cd
opts: fix CURLOPT_UNIX_SOCKET_PATH formatting
...
Add .nf and .fi such that the code gets wrapped in a pre on the web.
Fixed grammar, fixed formatting of the "See also" items.
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-12-04 06:52:09 -08:00
Daniel Stenberg
b216427e73
opts: added CURLOPT_UNIX_SOCKET_PATH to Makefile.am
2014-12-03 18:42:45 -08:00
Peter Wu
970c22f970
libcurl: add UNIX domain sockets support
...
The ability to do HTTP requests over a UNIX domain socket has been
requested before, in Apr 2008 [0][1] and Sep 2010 [2]. While a
discussion happened, no patch seems to get through. I decided to give it
a go since I need to test a nginx HTTP server which listens on a UNIX
domain socket.
One patch [3] seems to make it possible to use the
CURLOPT_OPENSOCKETFUNCTION function to gain a UNIX domain socket.
Another person wrote a Go program which can do HTTP over a UNIX socket
for Docker[4] which uses a special URL scheme (though the name contains
cURL, it has no relation to the cURL library).
This patch considers support for UNIX domain sockets at the same level
as HTTP proxies / IPv6, it acts as an intermediate socket provider and
not as a separate protocol. Since this feature affects network
operations, a new feature flag was added ("unix-sockets") with a
corresponding CURL_VERSION_UNIX_SOCKETS macro.
A new CURLOPT_UNIX_SOCKET_PATH option is added and documented. This
option enables UNIX domain sockets support for all requests on the
handle (replacing IP sockets and skipping proxies).
A new configure option (--enable-unix-sockets) and CMake option
(ENABLE_UNIX_SOCKETS) can disable this optional feature. Note that I
deliberately did not mark this feature as advanced, this is a
feature/component that should easily be available.
[0]: http://curl.haxx.se/mail/lib-2008-04/0279.html
[1]: http://daniel.haxx.se/blog/2008/04/14/http-over-unix-domain-sockets/
[2]: http://sourceforge.net/p/curl/feature-requests/53/
[3]: http://curl.haxx.se/mail/lib-2008-04/0361.html
[4]: https://github.com/Soulou/curl-unix-socket
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
2014-12-04 02:52:19 +01:00
Bill Nagel
96c3b1a1bb
docs: Updated for the SMB protocol
...
This patch updates the documentation for the SMB/CIFS protocol.
2014-11-30 21:53:30 +00:00
Bill Nagel
557658776f
smb: Added SMB protocol and port definitions
...
Added the necessary protocol and port definitions in order to support
SMB/CIFS.
2014-11-29 21:26:40 +00:00
Steve Holme
982a649aa5
docs: Updated for commit 4bd860a001
and SMTP Unix line ending conversion
2014-11-26 23:32:38 +00:00
Steve Holme
aa3e8dd3da
CURLOPT_CRLF.3: Fixed inclusion of SMTP in listed protocols
2014-11-25 23:23:42 +00:00
Daniel Stenberg
0beda1a388
curl*3: added small examples
...
and some minor edits
2014-11-25 14:25:02 +01:00
Daniel Stenberg
7eb7f7c32d
libcurl.3: fix formatting
...
refer to functions with the man page section properly
2014-11-25 11:56:43 +01:00
Daniel Stenberg
b486d1ce05
man pages: SEE ALSO curl_multi_wait
2014-11-25 11:48:56 +01:00
Daniel Stenberg
29aa9a37cc
curl_multi_wait.3: clarify numfds being used if not NULL
2014-11-25 11:48:38 +01:00
be1a505189
SSL: Add PEM format support for public key pinning
2014-11-24 19:30:09 +01:00
Brad Harder
416cd9ac11
CURLOPT_POSTFIELDS.3: mention the COPYPOSTFIELDS option
2014-11-20 10:27:09 +01:00
Michael Osipov
d54b551f6c
docs: Use consistent naming for Kerberos
2014-11-15 13:10:45 +00:00
Steve Holme
7599143dcc
version info: Added Kerberos V5 to the supported features
2014-11-07 10:55:14 +00:00
Steve Holme
338b641370
docs: Updated following the addition of SSPI based HTTP digest auth
2014-11-06 23:44:11 +00:00
Daniel Stenberg
68542e72a9
curl_easy_setopt.3: add CURLOPT_PINNEDPUBLICKEY
...
Reported-by: Christian Hägele
Bug: http://curl.haxx.se/mail/lib-2014-11/0078.html
2014-11-06 10:15:52 +01:00
Daniel Stenberg
fb24990211
opts-Makefile: put more man pages into dist and make hmtl+pdf
2014-11-04 10:40:07 +01:00
Daniel Stenberg
0320f6930d
curl_multi_setopt.3: refer to stand-alone pages
...
... instead of duplicating info.
2014-11-04 10:37:09 +01:00
Daniel Stenberg
1b8977ff7c
opts: more multi options as stand-alone man pages
2014-11-04 10:37:09 +01:00
Daniel Stenberg
a14ccfffb8
opts: made stand-alone man-pages for several multi options
2014-11-03 23:50:31 +01:00
Steve Holme
e7497c0c99
CURLOPT_XOAUTH2_BEARER.3: Corrected the OAuth version number
2014-11-02 11:03:13 +00:00
Steve Holme
a419802c71
CURLOPT_SASL_IR.3: Added supported mechanism information
...
...and removed duplication of what protocols are supported from the
description text.
2014-11-02 11:03:11 +00:00
Steve Holme
2b535b3947
opts: Use common wording for MAIL related names
2014-11-02 11:03:09 +00:00
Steve Holme
7ba8e0bd01
opts: Use common wording for TLS user/password option names
...
...and revised the proxy wording a little as well.
2014-11-02 11:03:06 +00:00
Steve Holme
49ae8f8144
CURLOPT_MAXCONNECTS.3: Reworked the description to be less confusing
...
...and corrected a related typo in curl_easy_setopt.3.
2014-11-02 11:03:04 +00:00
Steve Holme
e7da67f5d3
docs: Added mention of Kerberos for CURL_VERSION_SSPI
...
As this has been present for SOCKSv5 proxy since v7.19.4 and for IMAP,
POP3 and SMTP authentication since v7.38.0.
2014-11-02 01:00:29 +00:00
Steve Holme
569288b3bf
CURL_VERSION_KERBEROS4: Mark as deprecated
...
Support for Kerberos V4 was removed in v7.33.0.
2014-11-02 00:50:16 +00:00
Steve Holme
795885f454
opts: Use common wording for user/password option names
2014-10-31 22:22:19 +00:00
Steve Holme
7d9c1ebd66
CURLOPT_CONNECT_ONLY.3: Removed "This option is implemented for..." text
...
As this is covered by the PROTOCOLS section and saves having to update
two parts of the document with the same information in future.
2014-10-31 13:14:14 +00:00
Steve Holme
3af962a993
CURLOPT_GSSAPI_DELEGATION.3: Use GSS-API rather than GSSAPI
...
As implementations are refereed to GSS-API libraries as per the RFC and
GSSAPI typically refers to an authentication mechanism.
2014-10-31 12:48:48 +00:00
Steve Holme
211ca5ff77
CURLOPT_CONNECT_ONLY.3: Fixed incomplete protocol list
...
Added missing IMAP to the protocol list.
2014-10-31 12:44:43 +00:00
Steve Holme
a9db36d1fd
curl_easy_setopt.3: Fixed lots of typos
2014-10-30 22:40:05 +00:00
Steve Holme
acd90fcdc6
curl_easy_setopt.3: Moved CURLOPT_DIRLISTONLY into PROTOCOL OPTIONS
...
...as this option affects more that just FTP.
2014-10-30 18:22:25 +00:00
Daniel Stenberg
006556713e
CURLOPT_PINNEDPUBLICKEY.3: added details
2014-10-30 14:57:07 +01:00
Steve Holme
b274dedf1b
CURLOPT_CUSTOMREQUEST.3: Fixed incomplete protocol list
...
Whilst the description included information about SMTP, the protocol
list only showed "TTP, FTP, IMAP, POP3".
2014-10-30 12:42:06 +00:00
Steve Holme
89cc9988c9
CURLOPT_DIRLISTONLY.3: Added information about the usage in POP3
2014-10-30 12:42:05 +00:00
Daniel Stenberg
e102478b3d
opts: added some "SEE ALSO" references
2014-10-29 22:38:39 +01:00
Jay Satiro
ec783dc142
SSL: Remove SSLv3 from SSL default due to POODLE attack
...
- Remove SSLv3 from SSL default in darwinssl, schannel, cyassl, nss,
openssl effectively making the default TLS 1.x. axTLS is not affected
since it supports only TLS, and gnutls is not affected since it already
defaults to TLS 1.x.
- Update CURLOPT_SSLVERSION doc
2014-10-24 13:41:56 +02:00
Daniel Stenberg
e9bbe425d4
*.3: add/extend "SEE ALSO" sections
2014-10-24 09:22:38 +02:00
Daniel Stenberg
019c95f566
curl_easy_pause.3: minor wording edit
2014-10-24 09:16:06 +02:00
Daniel Stenberg
40be9a1c1d
curl_getdate.3: provide a "SEE ALSO" section
2014-10-24 09:12:17 +02:00
Daniel Stenberg
bf769d09ec
curl_global_init.3: minor formatting fix, add version info
2014-10-24 09:08:22 +02:00
Daniel Stenberg
e116d0a625
CURLOPT_RESOLVE.3: add an example
2014-10-23 14:34:41 +02:00
Daniel Stenberg
4cb7aa067c
opts: provide more and updated examples
2014-10-21 13:40:38 +02:00
Daniel Stenberg
4111032511
CURLOPT_RANGE.3: works for SFTP as well
...
... and added a small example
2014-10-21 13:06:22 +02:00
Daniel Stenberg
1de0823953
CURLOPT_SSLVERSION.3: provide an example
2014-10-21 11:10:03 +02:00
Daniel Stenberg
9069794e5e
docs/libcurl/ABI: more markdown friendly
2014-10-21 10:43:12 +02:00
Daniel Stenberg
7b82b07fba
docs: edited lots of libcurl docs for clarity
2014-10-21 10:26:40 +02:00
Daniel Stenberg
c857bb68ec
opts: added examples
2014-10-21 08:58:24 +02:00
Daniel Stenberg
89e543f383
CURLOPT_TLSAUTH_*.3: fix reference typos
2014-10-14 10:23:27 +02:00
Patrick Monnerat
265b9a2e49
vtls: remove QsoSSL
2014-10-13 16:33:47 +02:00
Daniel Stenberg
51f6702fe1
curl_multi_fdset.3: improved the formatting slightly
2014-10-09 13:41:13 +02:00
Daniel Stenberg
93b268ade0
curl_multi_fdset: explain the fd_set arguments
2014-10-09 13:17:27 +02:00
Daniel Stenberg
e0d269c0d8
curl_easy_getinfo.3: spell-fix
...
Reported-By: Luan Cestari
2014-10-07 15:48:37 +02:00
93e450793c
SSL: implement public key pinning
...
Option --pinnedpubkey takes a path to a public key in DER format and
only connect if it matches (currently only implemented with OpenSSL).
Provides CURLOPT_PINNEDPUBLICKEY for curl_easy_setopt().
Extract a public RSA key from a website like so:
openssl s_client -connect google.com:443 2>&1 < /dev/null | \
sed -n '/-----BEGIN/,/-----END/p' | openssl x509 -noout -pubkey \
| openssl rsa -pubin -outform DER > google.com.der
2014-10-07 14:44:19 +02:00
Daniel Stenberg
b1c4c39c58
CURLOPT_HTTPHEADER.3: libcurl doesn't copy the whole list
2014-10-03 13:35:40 +02:00
Yousuke Kimoto
b10a838a7a
CURLOPT_COOKIELIST: Added "RELOAD" command
2014-09-25 16:28:17 +02:00
Michael Wallner
9ee8efc63b
CURLOPT_POSTREDIR.3: Added availability for CURL_REDIR_POST_303
2014-09-25 15:14:16 +02:00
Daniel Stenberg
3ef73d9a88
libcurl docs: improvements all over
2014-09-19 15:08:26 +02:00
Daniel Stenberg
9d49e4706e
tutorial: signals aren't used for the threaded resolver
2014-09-19 12:54:19 +02:00
Daniel Stenberg
841c9884b2
CURLOPT_COOKIE*: added more cross-references
2014-09-18 22:58:12 +02:00
Daniel Stenberg
06b27ea24c
libcurl-tutorial.3: fix GnuTLS link to thread-safety guidelines
...
The former link was turned into a 404 at some point.
Reported-By: Askar Safin
2014-09-12 21:02:12 +02:00
Daniel Stenberg
0b48d1c821
CURLOPT_CA*: better refering between *CAINFO and *CAPATH
...
... and a minor wording edit
2014-09-03 23:04:52 +02:00
Askar Safin
2434a4e88d
getinfo-times: Typo fixed
2014-08-29 16:41:17 +02:00
Askar Safin
c9a981778d
libcurl.3: Typo fixed
2014-08-29 16:41:11 +02:00
Daniel Stenberg
367b784738
curl_formadd.3: setting CURLFORM_CONTENTSLENGTH 0 zero means strlen
2014-08-29 08:10:38 +02:00
Daniel Stenberg
1d30f40950
CURLOPT_NOBODY.3: clarify this option is for downloads
...
When enabling CURLOPT_NOBODY, libcurl effectively switches off upload
mode and will do a download (without a body). This is now better
explained in this man page.
Bug: http://curl.haxx.se/mail/lib-2014-08/0236.html
Reported-by: John Coffey
2014-08-28 00:11:09 +02:00
Steve Holme
75be5a6681
docs: Escaped single backslash
2014-08-16 11:52:11 +01:00
Steve Holme
97f6049bc2
CURLOPT_USERNAME.3: Added Kerberos V5 and NTLM domain information
...
This repeats what has already been documented in both the curl manpage
and CURLOPT_USERPWD documentation but is provided here for completeness
as someone may not especially read the latter when using libcurl.
2014-08-16 10:46:57 +01:00
Steve Holme
29240cb5c1
CURLOPT_USERPWD.3: Updated following Kerberos V5 SSPI changes
...
Added information about Kerberos V5 requiring the domain part in the
user name.
Mentioned that the user name can be specified in UPN format, and not
just in Down-Level Logon Name format, following the information
added in commit 7679cb3fa8
reworking the exisitng information in the
process.
2014-08-16 10:42:31 +01:00
Michael Osipov
37f0e8a32c
docs: Update SPNEGO and GSS-API related doc sections
...
Reflect recent changes in SPNEGO and GSS-API code in the docs.
Update them with appropriate namings and remove visible spots for
GSS-Negotiate.
2014-08-09 00:08:51 +01:00
Daniel Stenberg
e4f6adb023
CURLOPT_SSL_VERIFYPEER.3. add a warning about disabling it
2014-08-02 23:09:22 +02:00
Michael Wallner
7bb4c8cadb
CURLOPT_HEADEROPT.3: typo: do -> to
2014-07-31 17:52:08 +02:00
Daniel Stenberg
0c23ec232b
curl_version_info.3: 'ssl_version_num' is always 0
...
... and has been so since 2005
2014-07-31 12:27:15 +02:00