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