Daniel Gustafsson
e953475de5
URLs: fix one more http url
...
This file wasn't included in commit 4af40b3646
which updated all
haxx.se http urls to https. The file was committed prior to that update,
but may have been merged after it and hence didn't get updated.
Closes #2550
2018-05-05 23:02:40 +02:00
Denis Ollier
0be4679ba9
docs: remove extraneous commas in man pages
...
Closes #2544
2018-05-03 15:17:33 +02:00
Daniel Stenberg
d29c455d8c
Revert "TODO: remove configure --disable-pthreads"
...
This reverts commit d5d683a97f
.
--disable-pthreads can be used to disable pthreads and get the threaded
resolver to use the windows threading when building with mingw.
2018-05-03 15:05:48 +02:00
Daniel Stenberg
d5d683a97f
TODO: remove configure --disable-pthreads
2018-05-02 11:21:04 +02:00
Daniel Stenberg
97f63f512d
CURLOPT_URL.3: add ENCODING section [ci skip]
...
Feedback-by: Michael Kilburn
2018-04-30 14:31:04 +02:00
Daniel Stenberg
f022c91df6
KNOWN_BUGS: Client cert with Issuer DN differs between backends
...
Closes #1411
2018-04-30 10:26:26 +02:00
Daniel Stenberg
72be6abb50
KNOWN_BUGS: Passive transfer tries only one IP address
...
Closes #1508
2018-04-30 10:22:17 +02:00
Daniel Stenberg
44936865d5
KNOWN_BUGS: --upload-file . hang if delay in STDIN
...
Closes #2051
2018-04-30 10:19:45 +02:00
Daniel Stenberg
822ef4c454
KNOWN_BUGS: Connection information when using TCP Fast Open
...
Closes #1332
2018-04-30 10:17:10 +02:00
Daniel Stenberg
e085ea95ef
TODO: Support the clienthello extension
...
Closes #2299
2018-04-30 00:42:34 +02:00
Daniel Stenberg
0cbfff9895
TODO: CLOEXEC
...
Closes #2252
2018-04-30 00:10:45 +02:00
Daniel Stenberg
f84139fd08
CURLINFO_PROTOCOL.3: mention the existing defined names
2018-04-27 11:50:16 +02:00
Daniel Stenberg
1778135a9f
examples/http2-upload: expand buffer to avoid silly warning
...
http2-upload.c:135:44: error: ‘%02d’ directive output may be truncated
writing between 2 and 11 bytes into a region of size between 8 and 17
2018-04-24 14:14:23 +02:00
Daniel Stenberg
300f40eb99
examples/sftpuploadresume: typecast fseek argument to long
...
/docs/examples/sftpuploadresume.c:102:12: warning: conversion to 'long
int' from 'curl_off_t {aka long long int}' may alter its value
2018-04-24 14:11:53 +02:00
Christian Schmitz
d0394de152
curl_global_sslset: always provide available backends
...
Closes #2499
2018-04-23 14:18:55 +02:00
Daniel Stenberg
a39593d282
curl.1: clarify that options and URLs can be mixed
...
Fixes #2515
Closes #2517
2018-04-23 13:48:14 +02:00
Archangel_SDY
f0819f99ae
CURLOPT_SSLCERT.3: improve WinSSL-specific usage info
...
Ref: https://github.com/curl/curl/pull/2376#issuecomment-381858780
Closes https://github.com/curl/curl/pull/2504
2018-04-23 03:16:52 -04:00
Jay Satiro
0f72716676
tool_help: clarify --max-time unit of time is seconds
...
Before:
-m, --max-time <time> Maximum time allowed for the transfer
After:
-m, --max-time <seconds> Maximum time allowed for the transfer
2018-04-21 14:19:37 -04:00
Dan McNulty
8996300211
schannel: add support for CURLOPT_CAINFO
...
- Move verify_certificate functionality in schannel.c into a new
file called schannel_verify.c. Additionally, some structure defintions
from schannel.c have been moved to schannel.h to allow them to be
used in schannel_verify.c.
- Make verify_certificate functionality for Schannel available on
all versions of Windows instead of just Windows CE. verify_certificate
will be invoked on Windows CE or when the user specifies
CURLOPT_CAINFO and CURLOPT_SSL_VERIFYPEER.
- In verify_certificate, create a custom certificate chain engine that
exclusively trusts the certificate store backed by the CURLOPT_CAINFO
file.
- doc updates of --cacert/CAINFO support for schannel
- Use CERT_NAME_SEARCH_ALL_NAMES_FLAG when invoking CertGetNameString
when available. This implements a TODO in schannel.c to improve
handling of multiple SANs in a certificate. In particular, all SANs
will now be searched instead of just the first name.
- Update tool_operate.c to not search for the curl-ca-bundle.crt file
when using Schannel to maintain backward compatibility. Previously,
any curl-ca-bundle.crt file found in that search would have been
ignored by Schannel. But, with CAINFO support, the file found by
that search would have been used as the certificate store and
could cause issues for any users that have curl-ca-bundle.crt in
the search path.
- Update url.c to not set the build time CURL_CA_BUNDLE if the selected
SSL backend is Schannel. We allow setting CA location for schannel
only when explicitly specified by the user via CURLOPT_CAINFO /
--cacert.
- Add new test cases 3000 and 3001. These test cases check that the first
and last SAN, respectively, matches the connection hostname. New test
certificates have been added for these cases. For 3000, the certificate
prefix is Server-localhost-firstSAN and for 3001, the certificate
prefix is Server-localhost-secondSAN.
- Remove TODO 15.2 (Add support for custom server certificate
validation), this commit addresses it.
Closes https://github.com/curl/curl/pull/1325
2018-04-18 03:59:47 -04:00
Jakub Wilk
24e8355877
docs: fix typos
...
Closes https://github.com/curl/curl/pull/2503
2018-04-17 15:32:51 -04:00
Archangel_SDY
e35b0256eb
schannel: add client certificate authentication
...
Users can now specify a client certificate in system certificates store
explicitly using expression like `--cert "CurrentUser\MY\<thumbprint>"`
Closes #2376
2018-04-17 00:23:01 +02:00
Daniel Gustafsson
9b96e0bb44
checksrc: Fix typo
...
Fix typo in "semicolon" spelling and remove stray tab character.
Closes https://github.com/curl/curl/pull/2498
2018-04-15 03:05:45 -04:00
Daniel Gustafsson
94400f32e9
all: Refactor malloc+memset to use calloc
...
When a zeroed out allocation is required, use calloc() rather than
malloc() followed by an explicit memset(). The result will be the
same, but using calloc() everywhere increases consistency in the
codebase and avoids the risk of subtle bugs when code is injected
between malloc and memset by accident.
Closes https://github.com/curl/curl/pull/2497
2018-04-15 03:00:37 -04:00
Jay Satiro
817d1c0106
examples/sftpuploadresmue: Fix Windows large file seek
...
- Use _fseeki64 instead of fseek (long) to seek curl_off_t in Windows.
- Use CURL_FORMAT_CURL_OFF_T specifier instead of %ld to print
curl_off_t.
Caught by Marc's CI builds.
2018-04-07 16:03:55 -04:00
Daniel Stenberg
67bd4ab19e
RELEASE-NOTES: synced
2018-04-06 15:52:19 +02:00
Jay Satiro
cbc0f131c2
docs: fix CURLINFO_*_T examples use of CURL_FORMAT_CURL_OFF_T
...
- Put a percent sign before each CURL_FORMAT_CURL_OFF_T in printf.
For example "%" CURL_FORMAT_CURL_OFF_T becomes %lld or similar.
Bug: https://curl.haxx.se/mail/lib-2018-03/0140.html
Reported-by: David L.
2018-03-31 14:52:55 -04:00
Daniel Stenberg
2bd8e684a4
TODO: connection cache sharing is now supporte
2018-03-27 00:36:09 +02:00
Daniel Stenberg
a26d11b8e1
gitignore: ignore more generated files
2018-03-24 00:24:24 +01:00
Daniel Stenberg
3ff09ce777
CURLINFO_SSL_VERIFYRESULT.3: fix the example, add some text
...
Reported-by: Michal Trybus
Fixes #2400
2018-03-21 01:04:41 +01:00
Daniel Stenberg
cf7b009f57
TODO: expand ~/ in config files
...
Closes #2317
2018-03-21 00:50:27 +01:00
Daniel Stenberg
d92a9bd4ec
cookie.d: mention that "-" as filename means stdin
...
Reported-by: Dongliang Mu
Fixes #2410
2018-03-20 23:25:12 +01:00
Daniel Stenberg
27d7e511d5
CURLINFO_COOKIELIST.3: made the example not leak memory
...
Reported-by: Muz Dima
2018-03-20 23:18:23 +01:00
Jay Satiro
712c916d94
examples/hiperfifo: checksrc compliance
2018-03-20 03:12:35 -04:00
Rick Deist
d95f3dc0b1
resolve: add CURLOPT_DNS_SHUFFLE_ADDRESSES
...
This patch adds CURLOPT_DNS_SHUFFLE_ADDRESSES to explicitly request
shuffling of IP addresses returned for a hostname when there is more
than one. This is useful when the application knows that a round robin
approach is appropriate and is willing to accept the consequences of
potentially discarding some preference order returned by the system's
implementation.
Closes #1694
2018-03-17 20:44:14 +01:00
Daniel Stenberg
fb4f568b1e
add_handle/easy_perform: clear errorbuffer on start if set
...
To offer applications a more defined behavior, we clear the buffer as
early as possible.
Assisted-by: Jay Satiro
Fixes #2190
Closes #2377
2018-03-17 12:07:37 +01:00
Lawrence Matthews
6baeb6df35
CURLOPT_HAPROXYPROTOCOL: support the HAProxy PROXY protocol
...
Add --haproxy-protocol for the command line tool
Closes #2162
2018-03-17 11:50:06 +01:00
Daniel Stenberg
9572831b04
curl_version_info.3: fix ssl_version description
...
Reported-by: Vincas Razma
Fixes #2364
2018-03-17 11:18:00 +01:00
Philip Prindeville
9434194be8
examples/hiperfifo.c: improved
...
* use member struct event’s instead of pointers to alloc’d struct
events
* simplify the cases for the mcode_or_die() function via macros;
* make multi_timer_cb() actually do what the block comment says it
should;
* accept a “stop” command on the FIFO to shut down the service;
* use cleaner notation for unused variables than the (void) hack;
* allow following redirections (304’s);
2018-03-16 16:01:01 +01:00
luz.paz
236402fc2d
cleanup: misc typos in strings and comments
...
Found via `codespell`
Closes #2389
2018-03-16 11:08:31 +01:00
Daniel Stenberg
2b083dcc40
user-agent.d:: mention --proxy-header as well
...
Bug: https://github.com/curl/curl/issues/2381
2018-03-15 23:52:43 +01:00
Daniel Stenberg
a857057536
SECURITY-PROCESS: mention how we write/add advisories
2018-03-14 14:20:24 +01:00
Daniel Stenberg
4d6bd91ab3
release: 7.59.0
2018-03-13 23:06:58 +01:00
Daniel Stenberg
d974b39a9e
CURLOPT_COOKIEFILE.3: "-" as file name means stdin
...
Reported-by: Aron Bergman
Bug: https://curl.haxx.se/mail/lib-2018-03/0049.html
[ci skip]
2018-03-13 13:04:12 +01:00
Viktor Szakats
62a71af6d3
FAQ: fix a broken URL [ci skip]
2018-03-12 18:17:05 +00:00
Daniel Stenberg
7fe68c39b3
credits: Viktor prefers without accent
2018-03-12 07:55:58 +01:00
Daniel Stenberg
ddb879c6ae
BUGS: updated link to security process
2018-03-12 00:34:33 +01:00
Daniel Stenberg
029ae11034
docs/SECURITY.md -> docs/SECURITY-PROCESS.md
2018-03-11 23:41:50 +01:00
Daniel Stenberg
9c05701bed
SECURITY.md: call it the security process
2018-03-11 23:40:24 +01:00
Daniel Stenberg
8b754c430b
SECURITY: distros' max embargo time is 14 days now
2018-03-09 21:42:36 +01:00
Daniel Stenberg
b2afc36da1
THANKS + mailmap: remove duplicates, fixup full names
2018-03-05 11:57:44 +01:00
Daniel Stenberg
cb281f9df0
RELEASE-NOTES/THANKS: synced with cc1d4c505
2018-03-04 23:20:12 +01:00
Daniel Stenberg
c74521628b
curl.1: mention how to add numerical IP addresses in NO_PROXY
2018-03-04 19:57:43 +01:00
Daniel Stenberg
4d0b1e6887
CURLOPT_NOPROXY.3: mention how to list numerical IPv6 addresses
2018-03-04 19:51:37 +01:00
Daniel Stenberg
8b0b1a3088
build: get CFLAGS (including -werror) used for examples and tests
...
... so that the CI and more detects compiler warnings/errors properly!
Closes #2337
2018-03-04 19:46:26 +01:00
Daniel Stenberg
ee84085924
docs/MANUAL: formfind.pl is not accessible on the site anymore
...
Fixes #2342
2018-02-26 20:12:23 +01:00
Viktor Szakats
7e35eb7729
spelling fixes
...
Detected using the `codespell` tool.
Also contains one URL protocol upgrade.
Closes https://github.com/curl/curl/pull/2334
2018-02-23 23:29:01 +00:00
Daniel Stenberg
1be96a2952
TODO: remove "sha-256 digest", added in 2b5b37cb91
2018-02-23 14:40:10 +01:00
Daniel Stenberg
1a99ecdf50
curl_share_setopt.3: connection cache is shared within multi handles
2018-02-23 12:52:22 +01:00
Daniel Stenberg
93e7a6ffd1
form.d: rephrased somewhat, added two example command lines
2018-02-22 08:28:05 +01:00
Francisco Sedano
23713645d4
url: Add option CURLOPT_RESOLVER_START_FUNCTION
...
- Add new option CURLOPT_RESOLVER_START_FUNCTION to set a callback that
will be called every time before a new resolve request is started
(ie before a host is resolved) with a pointer to backend-specific
resolver data. Currently this is only useful for ares.
- Add new option CURLOPT_RESOLVER_START_DATA to set a user pointer to
pass to the resolver start callback.
Closes https://github.com/curl/curl/pull/2311
2018-02-21 21:29:10 -05:00
Jay Satiro
dd027c80fe
lib: CURLOPT_HAPPY_EYEBALLS_TIMEOUT => CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS
...
- In keeping with the naming of our other connect timeout options rename
CURLOPT_HAPPY_EYEBALLS_TIMEOUT to CURLOPT_HAPPY_EYEBALLS_TIMEOUT_MS.
This change adds the _MS suffix since the option expects milliseconds.
This is more intuitive for our users since other connect timeout options
that expect milliseconds use _MS such as CURLOPT_TIMEOUT_MS,
CURLOPT_CONNECTTIMEOUT_MS, CURLOPT_ACCEPTTIMEOUT_MS.
The tool option already uses an -ms suffix, --happy-eyeballs-timeout-ms.
Follow-up to 2427d94
which added the lib and tool option yesterday.
Ref: https://github.com/curl/curl/pull/2260
2018-02-21 15:16:50 -05:00
Daniel Stenberg
7b71b5150b
RELEASE-NOTES: synced with 2427d94c6
2018-02-21 00:18:54 +01:00
Anders Bakken
2427d94c6d
url: Add option CURLOPT_HAPPY_EYEBALLS_TIMEOUT
...
- Add new option CURLOPT_HAPPY_EYEBALLS_TIMEOUT to set libcurl's happy
eyeball timeout value.
- Add new optval macro CURL_HET_DEFAULT to represent the default happy
eyeballs timeout value (currently 200 ms).
- Add new tool option --happy-eyeballs-timeout-ms to expose
CURLOPT_HAPPY_EYEBALLS_TIMEOUT. The -ms suffix is used because the
other -timeout options in the tool expect seconds not milliseconds.
Closes https://github.com/curl/curl/pull/2260
2018-02-20 17:51:43 -05:00
Daniel Stenberg
9b4c2165f1
TODO: warning if curl version is not in sync with libcurl version
2018-02-20 11:17:52 +01:00
Anders Bakken
50d1b3379a
CURLOPT_RESOLVE: Add support for multiple IP addresses per entry
...
This enables users to preresolve but still take advantage of happy
eyeballs and trying multiple addresses if some are not connecting.
Ref: https://github.com/curl/curl/pull/2260
2018-02-20 04:24:28 -05:00
Sergio Borghese
e77f0e5a5a
examples/sftpuploadresume: resume upload via CURLOPT_APPEND
...
URL: https://curl.haxx.se/mail/lib-2018-02/0072.html
2018-02-20 09:31:06 +01:00
Daniel Stenberg
a3e52a7b2d
TODO: "Support in-memory certs/ca certs/keys"
...
removed SSLKEYLOGFILE support (fixed)
removed "consider SSL patches" (outdated)
Closes #2310
2018-02-18 22:45:17 +01:00
Daniel Stenberg
174212972c
CURLOPT_HEADER.3: clarify problems with different data sizes
2018-02-16 22:54:51 +01:00
Daniel Stenberg
5a44c9fa8b
CURLOPT_HEADERFUNCTION.3: fix typo from d939226813
...
Reported-by: Erik Johansson
Bug: d939226813 (commitcomment-27607495)
2018-02-16 16:25:52 +01:00
Daniel Stenberg
d939226813
CURLOPT_HEADERFUNCTION.3: mention folded headers
2018-02-16 12:11:23 +01:00
Daniel Stenberg
f549b2cefe
TODO: 1.1 Option to refuse usernames in URLs
...
Also expanded the CURL_REFUSE_CLEARTEXT section with more ideas.
2018-02-16 09:39:20 +01:00
Daniel Stenberg
74b1f89b1a
TODO: 1.7 Support HTTP/2 for HTTP(S) proxies
2018-02-16 09:24:28 +01:00
Daniel Stenberg
16d1f36940
Revert "KNOWN_BUGS: 2.5 curl should not offer "ALPN: h2" when using https-proxy"
...
This reverts commit de9fac00c4
.
Reported-by: Jay Satiro
2018-02-15 22:47:49 +01:00
Daniel Stenberg
ccd1ec7aa8
TODO: 18.18 retry on network is unreachable
...
Closes #1603
2018-02-15 13:52:13 +01:00
Daniel Stenberg
de9fac00c4
KNOWN_BUGS: 2.5 curl should not offer "ALPN: h2" when using https-proxy
...
Closes #1254
2018-02-15 13:31:39 +01:00
Björn Stenberg
b46cfbc068
TODO fixed: Detect when called from within callbacks
...
Closes #2302
2018-02-15 09:36:03 +01:00
Daniel Stenberg
43a50a2580
BINDINGS: fix curb link (and remove ruby-curl-multi)
...
Reported-by: Klaus Stein
2018-02-14 14:57:00 +01:00
Daniel Stenberg
63f6b3b220
libcurl-security.3: separate file:// section
...
... just to make it more apparent. Even if it repeats
some pieces of information.
2018-02-13 14:04:04 +01:00
Daniel Stenberg
1e720400aa
libcurl-security.3: the http://192.168.0.1/my_router_config case
...
Mentioned-By: Rich Moore
2018-02-13 13:54:11 +01:00
Daniel Stenberg
03b7b2e8fc
libcurl-security.3: mention the URL standards problems too
2018-02-13 12:05:43 +01:00
Daniel Stenberg
3901842055
libcurl-security.3: split out from libcurl-tutorial.3
...
To make more accessible.
Merged in some new language from "URLs are dangerous things" as discussed on
the mailing list a few days ago:
Bug: https://curl.haxx.se/mail/lib-2018-02/0013.html
2018-02-13 12:02:09 +01:00
Kamil Dudka
08029a7e73
tlsauthtype.d: works only if libcurl is built with TLS-SRP support
...
Bug: https://bugzilla.redhat.com/1542256
Closes #2306
2018-02-12 18:09:54 +01:00
Daniel Stenberg
34ecdffe90
progress-bar.d: update to match implementation
...
... since commit 993dd5651a
Reported-by: Martin Dreher
Bug: https://github.com/curl/curl/pull/2242#issuecomment-361059228
Closes #2271
2018-01-30 23:46:58 +01:00
Daniel Stenberg
8f69a9f28a
time: support > year 2038 time stamps for system with 32bit long
...
... with the introduction of CURLOPT_TIMEVALUE_LARGE and
CURLINFO_FILETIME_T.
Fixes #2238
Closes #2264
2018-01-30 08:29:59 +01:00
Daniel Stenberg
fecec1d8ae
curl: add --proxy-pinnedpubkey
...
To verify a proxy's public key. For when using HTTPS proxies.
Fixes #2192
Closes #2268
2018-01-30 08:00:31 +01:00
Daniel Stenberg
094647fcac
TODO: UTF-8 filenames in Content-Disposition
...
Closes #1888
2018-01-28 14:53:10 +01:00
Daniel Stenberg
d76709080b
KNOWN_BUGS: DICT responses show the underlying protocol
...
Closes #1809
2018-01-28 14:38:38 +01:00
Alessandro Ghedini
4021bac4cd
docs: fix typos in man pages
...
Closes https://github.com/curl/curl/pull/2266
2018-01-27 14:50:40 -05:00
5c497343d9
GSKit: restore pinnedpubkey functionality
...
inadvertently removed in 283babfaf8
Closes #2263
2018-01-25 23:16:14 +01:00
Daniel Stenberg
1c39128d97
parsedate: fix date parsing for systems with 32 bit long
...
Make curl_getdate() handle dates before 1970 as well (returning negative
values).
Make test 517 test dates for 64 bit time_t.
This fixes bug (3) mentioned in #2238
Closes #2250
2018-01-25 22:20:52 +01:00
e178fbd40a
SChannel/WinSSL: Implement public key pinning
...
Closes #1429
2018-01-25 22:14:39 +01:00
Daniel Stenberg
03ae81097e
TODO: hardcode the "localhost" addresses
2018-01-25 17:23:06 +01:00
Daniel Stenberg
fd9f20737e
TODO: CURL_REFUSE_CLEARTEXT
...
An idea that popped up in discussions on twitter.
2018-01-25 08:17:09 +01:00
Daniel Stenberg
d6c21c8eec
RELEASE: 7.58.0
2018-01-23 22:49:00 +01:00
Daniel Stenberg
96186de1f7
docs: fix man page syntax to make test 1140 OK again
2018-01-23 01:28:18 +01:00
Daniel Stenberg
af32cd3859
http: prevent custom Authorization headers in redirects
...
... unless CURLOPT_UNRESTRICTED_AUTH is set to allow them. This matches how
curl already handles Authorization headers created internally.
Note: this changes behavior slightly, for the sake of reducing mistakes.
Added test 317 and 318 to verify.
Reported-by: Craig de Stigter
Bug: https://curl.haxx.se/docs/adv_2018-b3bf.html
2018-01-22 10:00:00 +01:00
Daniel Stenberg
bb0ffcc36f
libcurl-env.3: first take
2018-01-20 14:32:46 +01:00
Daniel Stenberg
ec122c4c83
TODO: two possible name resolver improvements
2018-01-20 13:57:12 +01:00
Daniel Stenberg
da07dbb869
examples/url2file.c: add missing curl_global_cleanup() call
...
Reported-by: XhstormR on github
Fixes #2245
2018-01-18 17:10:34 +01:00
rouzier
945df74101
CURLOPT_TCP_NODELAY.3: fix typo
...
Closes #2239
2018-01-15 23:06:58 +01:00
Patrick Monnerat
e44ddfd477
mime: clone mime tree upon easy handle duplication.
...
A mime tree attached to an easy handle using CURLOPT_MIMEPOST is
strongly bound to the handle: there is a pointer to the easy handle in
each item of the mime tree and following the parent pointer list
of mime items ends in a dummy part stored within the handle.
Because of this binding, a mime tree cannot be shared between different
easy handles, thus it needs to be cloned upon easy handle duplication.
There is no way for the caller to get the duplicated mime tree
handle: it is then set to be automatically destroyed upon freeing the
new easy handle.
New test 654 checks proper mime structure duplication/release.
Add a warning note in curl_mime_data_cb() documentation about sharing
user data between duplicated handles.
Closes #2235
2018-01-14 19:43:12 +01:00
Patrick Monnerat
2c821bba85
docs: comment about CURLE_READ_ERROR returned by curl_mime_filedata
2018-01-14 16:08:43 +01:00
Jay Satiro
6fa10c8fa2
setopt: fix SSLVERSION to allow CURL_SSLVERSION_MAX_ values
...
Broken since f121575
(precedes 7.56.1).
Bug: https://github.com/curl/curl/issues/2225
Reported-by: cmfrolick@users.noreply.github.com
Closes https://github.com/curl/curl/pull/2227
2018-01-13 02:57:30 -05:00
Jay Satiro
d4e40f0690
scripts: allow all perl scripts to be run directly
...
- Enable execute permission (chmod +x)
- Change interpreter to /usr/bin/env perl
Closes https://github.com/curl/curl/pull/2222
2018-01-07 15:42:11 -05:00
Jay Satiro
e4f86025d6
mail-rcpt.d: fix short-text description
2018-01-07 01:04:36 -05:00
Daniel Stenberg
dc831260b2
curl_version_info.3: call the argument 'age'
...
Reported-by: Pete Lomax
Bug: https://curl.haxx.se/mail/lib-2017-12/0074.html
2017-12-29 22:15:12 +13:00
Jay Satiro
a0f3eaf25d
examples/cacertinmem: ignore cert-already-exists error
...
- Ignore X509_R_CERT_ALREADY_IN_HASH_TABLE errors in the CTX callback
since it's possible the cert may have already been loaded by libcurl.
- Remove the EXAMPLE code in the CURLOPT_SSL_CTX_FUNCTION.3 doc.
Instead have it direct the reader to this cacertinmem.c example.
- Fix the CA certificate to use the right CA for example.com, Digicert.
Bug: https://curl.haxx.se/mail/lib-2017-12/0057.html
Reported-by: Thomas van Hesteren
Closes https://github.com/curl/curl/pull/2182
2017-12-26 02:08:35 -05:00
Gisle Vanem
859ac36021
tool_getparam: Support size modifiers for --max-filesize
...
- Move the size modifier detection code from limit-rate to its own
function so that it can also be used with max-filesize.
Size modifiers are the suffixes such as G (gigabyte), M (megabyte) etc.
For example --max-filesize 1G
Ref: https://curl.haxx.se/mail/archive-2017-12/0000.html
Closes https://github.com/curl/curl/pull/2179
2017-12-26 02:01:48 -05:00
Mattias Fornander
b437557896
examples/rtsp: fix error handling macros
...
Closes https://github.com/curl/curl/pull/2185
2017-12-22 02:59:08 -05:00
Daniel Stenberg
9c6a6be882
CURLOPT_READFUNCTION.3: refer to argument with correct name
...
Bug: #2175
[ci skip]
2017-12-13 08:18:10 +01:00
Daniel Stenberg
7ef0c2d861
examples/smtp-mail.c: use separate defines for options and mail
...
... to make it clearer that the options want address-only, while the
headers in an email can also have the real name.
Assisted-by: Sean MacLennan
2017-12-12 15:28:05 +01:00
Daniel Stenberg
621b24505f
THANKS: added missing names
...
... as I reran the contrithanks script after the mailmap name fixups.
2017-12-12 08:46:29 +01:00
Daniel Stenberg
cc0cca1baf
mailmap: added/clarified several names
2017-12-12 08:37:13 +01:00
Daniel Stenberg
3b9ea70ee7
TODO: Expose tried IP addresses that failed
...
Suggested-by: Rainer Canavan
Closes #2126
2017-12-11 13:41:03 +01:00
Daniel Stenberg
48c184a604
curl.1: mention http:// and https:// as valid proxy prefixes
2017-12-11 13:24:42 +01:00
Daniel Stenberg
76db03dd9a
curl.1: documented two missing valid exit codes
2017-12-11 13:11:47 +01:00
Daniel Stenberg
63e58b8b40
CURLOPT_DNS_LOCAL_IP4.3: fixed the seel also to not self-reference
2017-12-11 00:00:17 +01:00
Daniel Stenberg
bbea75ad69
CURLOPT_DNS_CACHE_TIMEOUT.3: see also CURLOPT_RESOLVE
2017-12-09 23:34:07 +01:00
richardthe3rd
9fb5a943f5
CURLOPT_PRIVATE.3: fix grammar
...
- Change "never does nothing" double-negative to "never does anything".
Closes https://github.com/curl/curl/pull/2168
2017-12-08 18:55:33 -05:00
Daniel Stenberg
546e7db78c
BINDINGS: another PostgreSQL client
...
...the former link is dead.
Reported-by: Frank Gevaerts
2017-12-07 11:10:22 +01:00
Daniel Stenberg
bb0ca2d443
examples: move threaded-shared-conn.c to the "complicated" ones
...
... due it relying on pthreads to link.
2017-12-06 14:49:58 +01:00
Daniel Stenberg
0c65678e71
curl-config: add --ssl-backends
...
Lists all SSL backends that were enabled at build-time.
Suggested-by: Oleg Pudeyev
Fixes #2128
2017-12-06 00:12:48 +01:00
Daniel Stenberg
ea3a5d07dc
conncache: only allow multiplexing within same multi handle
...
Connections that are used for HTTP/1.1 Pipelining or HTTP/2 multiplexing
only get additional transfers added to them if the existing connection
is held by the same multi or easy handle. libcurl does not support doing
HTTP/2 streams in different threads using a shared connection.
Closes #2152
2017-12-05 23:36:08 +01:00
Daniel Stenberg
415b8dff8e
threaded-shared-conn.c: fixed typo in commenta
2017-12-05 23:35:08 +01:00
Daniel Stenberg
5254d8bf27
threaded-shared-conn.c: new example
2017-12-05 23:31:47 +01:00
Guitared
8dad32bcfb
RESOURCES: update spec names
...
Closes #2145
2017-12-04 09:15:39 +01:00
Nikos Mavrogiannopoulos
c75c9d4fbc
symbols-in-versions: added new symbols with 7.56.3 version
...
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2017-12-01 17:38:37 +01:00
Daniel Stenberg
744ee58386
examples/xmlstream.c: don't switch off CURL_GLOBAL_SSL
...
Reported-by: Dima Tisnek
2017-12-01 07:52:24 +01:00
Daniel Stenberg
d05b8ff1f4
THANKS: added contributors from 7.57.0 release
2017-11-29 10:27:26 +01:00
Daniel Stenberg
59657f53f9
libcurl-share.3: the connection cache is shareable now
2017-11-27 09:42:39 +01:00
Daniel Stenberg
d661b0afb5
global_init: ignore CURL_GLOBAL_SSL's absense
...
This bit is no longer used. It is not clear what it meant for users to
"init the TLS" in a world with different TLS backends and since the
introduction of multissl, libcurl didn't properly work if inited without
this bit set.
Not a single user responded to the call for users of it:
https://curl.haxx.se/mail/lib-2017-11/0072.html
Reported-by: Evgeny Grin
Assisted-by: Jay Satiro
Fixes #2089
Fixes #2083
Closes #2107
2017-11-27 08:50:33 +01:00
Daniel Stenberg
9f691be3d4
make: fix "make distclean"
...
Fixes #2097
Closes #2108
2017-11-24 08:38:29 +01:00
Daniel Stenberg
ed22d8654b
examples/rtsp: clear RANGE again after use
...
Fixes #2106
Reported-by: youngchopin on github
2017-11-23 08:06:44 +01:00
Daniel Stenberg
2f81e48c00
BUGS: spellchecked
2017-11-20 23:57:57 +01:00
fmmedeiros
297516e12c
examples/curlx: Fix code style
...
- Add braces around multi-line if statement.
Closes https://github.com/curl/curl/pull/2096
2017-11-18 14:04:33 -05:00
Daniel Stenberg
715f1f53e0
resolve: allow IP address within [] brackets
...
... so that IPv6 addresses can be passed like they can for connect-to
and how they're used in URLs.
Added test 1324 to verify
Reported-by: Alex Malinovich
Fixes #2087
Closes #2091
2017-11-17 15:26:08 +01:00
Daniel Stenberg
a9f669896f
TODO: ignore private IP addresses in PASV response
...
Closes #1455
2017-11-14 23:49:06 +01:00
Daniel Stenberg
de67c259d3
INTERNALS: we may use libidn2 now, not libidn
2017-11-14 12:47:04 +01:00
Luca Boccassi
32828cc4fb
--interface: add support for Linux VRF
...
The --interface command (CURLOPT_INTERFACE option) already uses
SO_BINDTODEVICE on Linux, but it tries to parse it as an interface or IP
address first, which fails in case the user passes a VRF.
Try to use the socket option immediately and parse it as a fallback
instead. Update the documentation to mention this feature, and that it
requires the binary to be ran by root or with CAP_NET_RAW capabilities
for this to work.
Closes #2024
2017-11-09 13:20:11 +01:00
Daniel Stenberg
b78dce2526
curl_share_setopt.3: document CURL_LOCK_DATA_CONNECT
...
Closes #2043
2017-11-09 11:08:18 +01:00
Daniel Stenberg
3d1280866a
examples: add shared-connection-cache
2017-11-09 11:07:44 +01:00
Daniel Stenberg
edd1f45c9f
test1554: verify connection cache sharing
2017-11-09 11:07:44 +01:00
Daniel Stenberg
63b8fbbbc0
curl_multi_fdset.3: emphasize curl_multi_timeout
...
... even when there's no socket to wait for, the timeout can still be
very short.
2017-11-09 07:52:19 +01:00
Patrick Monnerat
11bf1796cd
HTTP: implement Brotli content encoding
...
This uses the brotli external library (https://github.com/google/brotli ).
Brotli becomes a feature: additional curl_version_info() bit and
structure fields are provided for it and CURLVERSION_NOW bumped.
Tests 314 and 315 check Brotli content unencoding with correct and
erroneous data.
Some tests are updated to accomodate with the now configuration dependent
parameters of the Accept-Encoding header.
2017-11-05 15:28:16 +01:00
Patrick Monnerat
dbcced8e32
HTTP: support multiple Content-Encodings
...
This is implemented as an output streaming stack of unencoders, the last
calling the client write procedure.
New test 230 checks this feature.
Bug: https://github.com/curl/curl/pull/2002
Reported-By: Daniel Bankhead
2017-11-05 15:09:48 +01:00
Daniel Stenberg
647f9aea68
INTERNALS: remove curlx_tv* functions no longer provided
2017-10-30 15:30:01 +01:00
Patrick Monnerat
f82f952d2f
cli tool: in -F option arg, comma is a delimiter for files only
...
Also upgrade test 1133 to cover this case and clarify man page about
form data quoting.
Bug: https://github.com/curl/curl/issues/2022
Reported-By: omau on github
2017-10-29 16:23:06 +01:00
Florin
f20cbac970
auth: Added test cases for RFC7616
...
Updated docs to include support for RFC7616
Signed-off-by: Florin <petriuc.florin@gmail.com>
Closes #1934
2017-10-28 16:33:09 +02:00
Daniel Bankhead
1d0c8dea95
TODO: support multiple Content-Encodings
...
Closes #2002
2017-10-28 11:01:32 +02:00
Daniel Stenberg
516d3b9ff9
ROADMAP: cleanup
...
Removed done stuff. Removed entries no longer considered for the near
term.
2017-10-28 10:54:20 +02:00
Magicansk
cb361b4a5e
ROADMAP.md: spelling fixes
...
Closes #2028
2017-10-28 10:49:56 +02:00
Daniel Stenberg
36bbbeb7c2
HELP-US: rename the subtitle too since the label is changed
...
"PR-welcome" was the former name.
2017-10-27 11:19:44 +02:00
Alessandro Ghedini
7408570bf0
libcurl-tutorial.3: fix typo
...
closes #2008
2017-10-24 13:27:41 +02:00
Alessandro Ghedini
f6535791fa
curl_mime_filedata.3: fix typos
2017-10-23 23:23:23 +01:00
Daniel Stenberg
c514af5a4f
RELEASE-NOTES: 7.56.1
2017-10-23 07:51:20 +02:00
Daniel Stenberg
adbfb42889
THANKS: update at 7.56.1 release time
2017-10-23 07:51:20 +02:00
Daniel Stenberg
172ce9cc19
setopt: avoid integer overflows when setting millsecond values
...
... that are multiplied by 1000 when stored.
For 32 bit long systems, the max value accepted (2147483 seconds) is >
596 hours which is unlikely to ever be set by a legitimate application -
and previously it didn't work either, it just caused undefined behavior.
Also updated the man pages for these timeout options to mention the
return code.
Closes #1938
2017-10-16 09:23:19 +02:00
Patrick Monnerat
665b3e48bc
cli tool: reimplement stdin buffering in -F option.
...
If stdin is not a regular file, its content is memory-buffered to enable
a possible data "rewind".
In all cases, stdin data size is determined before real use to avoid
having an unknown part's size.
--libcurl generated code is left as an unbuffered stdin fread/fseek callback
part with unknown data size.
Buffering is not supported in deprecated curl_formadd() API.
2017-10-12 14:25:59 +01:00
Daniel Stenberg
46ffcd07cb
HELP-US: the label "PR-welcome" is now renamed to "help wanted"
...
following the new github "standard"
2017-10-12 09:50:52 +02:00
Daniel Stenberg
f8e593887e
CURLOPT_XFERINFODATA.3: fix duplicate see also
2017-10-09 16:24:36 +02:00
Daniel Stenberg
d895a83a3b
CURLOPT_NOPROGRESS.3: also refer to xferinfofunction
2017-10-09 16:24:19 +02:00
Daniel Stenberg
7f555dc5a4
FAQ: s/CURLOPT_PROGRESSFUNCTION/CURLOPT_XFERINFOFUNCTION
2017-10-09 16:13:27 +02:00
Patrick Monnerat
14d6e207d3
docs: clarify form/mime usage of non-regular data files.
2017-10-08 16:15:23 +01:00
Nick Zitzmann
3e492e03b3
darwinssl: add support for TLSv1.3
...
Closes https://github.com/curl/curl/pull/1794
2017-10-05 00:51:38 -04:00
Felix Kaiser
2592241d63
docs: fix typo in curl_mime_data_cb man page
...
Closes #1946
2017-10-04 23:56:22 +02:00
Daniel Stenberg
031c367531
RELEASE-PROCEDURE: update the release schedule
2017-10-04 09:03:04 +02:00
Daniel Stenberg
6119ce0802
THANKS: added new 7.56.0 contributors
2017-10-04 07:52:15 +02:00
Patrick Monnerat
ff6774ea6a
libcurl-tutorial: add casts in example to avoid compilation warnings.
2017-10-03 11:03:46 +01:00
Daniel Stenberg
c3e58d93de
examples: bring back curl_formadd-using examples
...
... now with a -formadd suffix. While the new mime API is introduced in
7.56.0 we must acknowledge that lots of users can't upgrade their curl
versions immediately.
2017-10-03 07:59:55 +02:00
Patrick Monnerat
753a5da906
libcurl-tutorial: fix two typos.
2017-10-02 00:12:55 +01:00
Patrick Monnerat
3ac14ab39a
TODO: remove deprecated form API items.
2017-10-01 18:42:52 +01:00
Patrick Monnerat
525251398f
libcurl-tutorial: describe MIME API and deprecate form API.
...
Include a guide to form/mime API conversion.
2017-10-01 18:31:52 +01:00
Michael Kaufmann
c66d94d6da
docs: link CURLOPT_CONNECTTIMEOUT and CURLOPT_CONNECTTIMEOUT_MS
...
Closes #1922
2017-09-28 21:32:20 +02:00
Michael Kaufmann
46d63bbbe8
docs: clarify the use of environment variables for proxy
...
Closes #1921
2017-09-28 21:29:39 +02:00
Jay Satiro
3a1c7cb3ca
symbols-in-versions: fix CURLSSLSET_NO_BACKENDS entry
...
- Use spaces instead of tabs as the delimiter.
Follow up to 7c52b12
which added the entry. The entry had used tabs but
the symbol-scan parser doesn't recognize tabs and would fail the symbol.
2017-09-23 03:19:47 -04:00
Daniel Stenberg
7c52b12dd4
symbols-in-versions: add CURLSSLSET_NO_BACKENDS
...
...fixup from b8e0fe19ec
2017-09-22 16:22:57 +02:00
Daniel Stenberg
b8e0fe19ec
vtls: provide curl_global_sslset() even in non-SSL builds
...
... it just returns error:
Bug: 1328f69d53 (commitcomment-24470367)
Reported-by: Marcel Raad
Closes #1906
2017-09-22 12:09:13 +02:00
Patrick Monnerat
ee56fdb691
form/mime: field names are not allowed to contain zero-valued bytes.
...
Also suppress length argument of curl_mime_name() (names are always
zero-terminated).
2017-09-22 01:08:29 +01:00
Marcel Raad
5d916944ae
examples/post-callback: use long for CURLOPT_POSTFIELDSIZE
...
Otherwise, typecheck-gcc.h warns on MinGW-w64.
2017-09-21 20:07:24 +02:00
Daniel Stenberg
50b208e23e
docs: clarify the CURLOPT_INTERLEAVE* options behavior
2017-09-15 15:47:56 +02:00
Daniel Stenberg
20acb58a38
code style: use space after semicolon
2017-09-12 09:50:24 +02:00
Daniel Stenberg
e5743f08e7
code style: use spaces around pluses
2017-09-11 09:29:50 +02:00
Daniel Stenberg
6b84438d9a
code style: use spaces around equals signs
2017-09-11 09:29:50 +02:00
Jay Satiro
64bb7ae6ae
mbedtls: enable CA path processing
...
CA path processing was implemented when mbedtls.c was added to libcurl
in fe7590f
, but it was never enabled.
Bug: https://github.com/curl/curl/issues/1877
Reported-by: SBKarr@users.noreply.github.com
2017-09-10 03:22:05 -04:00
Jakub Zakrzewski
08aeae0e37
KNOWN_BUGS: Remove CMake symbol hiding issue
...
It has already been fixed in 6140dfc
2017-09-07 17:33:49 +02:00
Daniel Stenberg
cd8d9bb930
HISTORY: added some recent items
2017-09-07 09:51:25 +02:00
Patrick Monnerat
63ef436ea1
mime: implement encoders.
...
curl_mime_encoder() is operational and documented.
curl tool -F option is extended with ";encoder=".
curl tool --libcurl option generates calls to curl_mime_encoder().
New encoder tests 648 & 649.
Test 1404 extended with an encoder specification.
2017-09-05 17:55:51 +01:00
Daniel Stenberg
8b902ef0af
docs/curl_mime_*.3: use correct variable types in examples
2017-09-05 17:33:16 +01:00
Viktor Szakats
25fc694a41
examples/mime: minor example code fixes
2017-09-05 10:05:27 +00:00
Daniel Stenberg
eae21db920
docs/curl_mime_*.3: added examples
2017-09-05 11:15:02 +02:00
Daniel Stenberg
d491a9c3a8
MAIL-ETIQUETTE: added "1.9 Your emails are public"
2017-09-05 09:29:11 +02:00
Viktor Szakats
1c8725e639
docs: Update to secure URL versions
2017-09-04 14:08:54 +00:00
Viktor Szakats
841a09ea19
mime: use CURL_ZERO_TERMINATED in examples
...
and some minor whitespace fixes
2017-09-04 13:58:10 +00:00
Daniel Stenberg
12e789391d
examples/post-callback: stop returning one byte at a time
...
... since people copy and paste code from this example and thus they get
an inefficient POST operation without a good reason and sometimes
without understanding why.
Instead this now returns as much data as possible.
2017-09-04 11:42:00 +02:00
Daniel Stenberg
2e4074c953
docs: curl_mime_*.3 man page formatting edits
2017-09-04 09:20:24 +02:00
Patrick Monnerat
efd9301426
mime: use size_t instead of ssize_t in public API interface.
...
To support telling a string is nul-terminated, symbol CURL_ZERO_TERMINATED
has been introduced.
Documentation updated accordingly.
symbols in versions updated. Added form API symbols deprecation info.
2017-09-03 16:10:55 +01:00
Patrick Monnerat
1a3f4c1991
mime: remove support "-" stdin pseudo-file name in curl_mime_filedata().
...
This feature is badly supported in Windows: as a replacement, a caller has
to use curl_mime_data_cb() with fread, fseek and possibly fclose
callbacks to process opened files.
The cli tool and documentation are updated accordingly.
The feature is however kept internally for form API compatibility, with
the known caveats it always had.
As a side effect, stdin size is not determined by the cli tool even if
possible and this results in a chunked transfer encoding. Test 173 is
updated accordingly.
2017-09-03 14:45:43 +01:00
Patrick Monnerat
3baf36edf6
mime: tests and examples.
...
Additional mime-specific tests.
Existing tests updated to reflect small differences (Expect: 100-continue,
data size change due to empty lines, etc).
Option -F headers= keyword added to tests.
test1135 disabled until the entry point order change is resolved.
New example smtp-mime.
Examples postit2 and multi-post converted from form API to mime API.
2017-09-02 19:08:45 +01:00
Patrick Monnerat
fec7a858b8
mime: use in curl cli tool instead of form API.
...
Extended -F option syntax to support multipart mail messages.
-F keyword headers= added to include custom headers in parts.
Documentation upgraded.
2017-09-02 18:17:33 +01:00
Patrick Monnerat
ce0881edee
mime: new MIME API.
...
Available in HTTP, SMTP and IMAP.
Deprecates the FORM API.
See CURLOPT_MIMEPOST.
Lib code and associated documentation.
2017-09-02 17:47:10 +01:00
Daniel Stenberg
c290b8fb23
curl_global_sslset: select backend by name case insensitively
...
Closes #1849
2017-09-01 11:51:32 +02:00
Daniel Stenberg
f7512d7bec
curl_global_sslset.3: show the struct and enum too
...
... so that users can actually write code based on the man page alone,
not having to read the header file.
2017-08-31 10:13:49 +02:00
Kamil Dudka
7ec797b13a
examples/sslbackend.c: fix failure of 'make checksrc'
...
./sslbackend.c:58:3: warning: else after closing brace on same line (BRACEELSE)
} else if(isdigit(*name)) {
^
./sslbackend.c:62:3: warning: else after closing brace on same line (BRACEELSE)
} else
^
2017-08-30 14:16:35 +02:00
Daniel Stenberg
860443bee4
curl_global_sslset.3: clarify
...
it is a one time *set*, not necessarily a one time use... it can be
called again if the first call failed or just listed the alternatives.
clarify that the available backends are the ones this build supports
plus add some formatting
Reported-by: Rich Gray
Bug: https://curl.haxx.se/mail/lib-2017-08/0119.html
2017-08-30 09:57:05 +02:00
Daniel Stenberg
8c33c963a0
HELP-US.md: spelling
2017-08-29 08:31:59 +02:00
Daniel Stenberg
f93bf2c79b
HELP-US.md: "How to get started helping out in the curl project"
...
Closes #1837
2017-08-29 08:29:36 +02:00
Daniel Stenberg
edcb1ef60f
curl_global_init.3: mention curl_global_sslset(3)
2017-08-28 23:58:42 +02:00
Johannes Schindelin
9d96a5f0b5
version: add the CURL_VERSION_MULTI_SSL feature flag
...
This new feature flag reports When cURL was built with multiple SSL
backends.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2017-08-28 22:56:49 +02:00
Johannes Schindelin
a34e141c09
docs/examples: demonstrate how to select SSL backends
...
The newly-introduced curl_global_sslset() function deserves to be
show-cased.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2017-08-28 14:56:59 +02:00
Johannes Schindelin
0fb4125554
Add a man page for curl_global_sslset()
...
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2017-08-28 14:56:59 +02:00
Johannes Schindelin
1328f69d53
vtls: introduce curl_global_sslset()
...
Let's add a compile time safe API to select an SSL backend. This
function needs to be called *before* curl_global_init(), and can be
called only once.
Side note: we do not explicitly test that it is called before
curl_global_init(), but we do verify that it is not called multiple times
(even implicitly).
If SSL is used before the function was called, it will use whatever the
CURL_SSL_BACKEND environment variable says (or default to the first
available SSL backend), and if a subsequent call to
curl_global_sslset() disagrees with the previous choice, it will fail
with CURLSSLSET_TOO_LATE.
The function also accepts an "avail" parameter to point to a (read-only)
NULL-terminated list of available backends. This comes in real handy if
an application wants to let the user choose between whatever SSL backends
the currently available libcurl has to offer: simply call
curl_global_sslset(-1, NULL, &avail);
which will return CURLSSLSET_UNKNOWN_BACKEND and populate the avail
variable to point to the relevant information to present to the user.
Just like with the HTTP/2 push functions, we have to add the function
declaration of curl_global_sslset() function to the header file
*multi.h* because VMS and OS/400 require a stable order of functions
declared in include/curl/*.h (where the header files are sorted
alphabetically). This looks a bit funny, but it cannot be helped.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2017-08-28 14:56:59 +02:00
Daniel Stenberg
e37ab949b2
examples/threaded-ssl: mention that this is for openssl before 1.1
2017-08-25 08:15:59 +02:00
Daniel Stenberg
4a7673c8ca
CURLOPT_USERPWD.3: see also CURLOPT_PROXYUSERPWD
2017-08-24 10:09:28 +02:00
Daniel Stenberg
88c2e22734
request-target.d: mention added in 7.55.0
2017-08-22 14:48:33 +02:00
Daniel Stenberg
ffb2bc394b
KNOWN_BUGS: HTTP test server 'connection-monitor' problems
...
Closes #868
2017-08-18 16:04:55 +02:00
Daniel Stenberg
582f2a1308
CURLOPT_SSH_COMPRESSION.3: enable with 1L
...
(leaves other values reserved for the future)
2017-08-17 09:54:07 +02:00
Daniel Stenberg
525fb7e16a
compressed-ssh.d: "Added: 7.56.0"
2017-08-17 09:49:33 +02:00
Viktor Szakats
b7b4dc0d49
ssh: add the ability to enable compression (for SCP/SFTP)
...
The required low-level logic was already available as part of
`libssh2` (via `LIBSSH2_FLAG_COMPRESS` `libssh2_session_flag()`[1]
option.)
This patch adds the new `libcurl` option `CURLOPT_SSH_COMPRESSION`
(boolean) and the new `curl` command-line option `--compressed-ssh`
to request this `libssh2` feature. To have compression enabled, it
is required that the SSH server supports a (zlib) compatible
compression method and that `libssh2` was built with `zlib` support
enabled.
[1] https://www.libssh2.org/libssh2_session_flag.html
Ref: https://github.com/curl/curl/issues/1732
Closes https://github.com/curl/curl/pull/1735
2017-08-17 03:32:00 -04:00
Jay Satiro
d18941ea17
examples/ftpuploadresume: checksrc compliance
2017-08-16 14:44:50 -04:00
Ryan Winograd
43d036e724
progress: Track total times following redirects
...
Update the progress timers `t_nslookup`, `t_connect`, `t_appconnect`,
`t_pretransfer`, and `t_starttransfer` to track the total times for
these activities when a redirect is followed. Previously, only the times
for the most recent request would be tracked.
Related changes:
- Rename `Curl_pgrsResetTimesSizes` to `Curl_pgrsResetTransferSizes`
now that the function only resets transfer sizes and no longer
modifies any of the progress timers.
- Add a bool to the `Progress` struct that is used to prevent
double-counting `t_starttransfer` times.
Added test case 1399.
Fixes #522 and Known Bug 1.8
Closes #1602
Reported-by: joshhe on github
2017-08-15 18:58:31 +02:00
Kamil Dudka
ab2a7079cd
zsh.pl: produce a working completion script again
...
Commit curl-7_54_0-118-g8b2f22e changed the output format of curl --help
to use <file> and <dir> instead of FILE and DIR, which caused zsh.pl to
produce a broken completion script:
% curl --<TAB>
_curl:10: no such file or directory: seconds
Closes #1779
2017-08-15 12:25:46 +02:00
Daniel Stenberg
adc35a4f19
examples/ftpuploadresume.c: use portable code
...
... converted from the MS specific _snscanf()
2017-08-14 14:01:29 +02:00
Daniel Stenberg
8839c05fba
RELEASE-NOTES/THANKS: curl 7.55.1 release time
2017-08-13 23:34:21 +02:00
Daniel Stenberg
c078981332
connect-to.d: better language
2017-08-12 17:36:12 +02:00
Daniel Stenberg
1562644e39
connect-to.d: clarified
2017-08-12 17:32:33 +02:00
Alessandro Ghedini
a6fdf11771
docs: fix typo funtion -> function
...
Closes #1770
2017-08-12 14:56:37 +02:00
Alessandro Ghedini
34f24fef4a
docs: fix grammar in CURL_SSLVERSION_MAX_DEFAULT description
2017-08-12 13:36:39 +01:00
Alessandro Ghedini
274f9cac96
docs: fix typo stuct -> struct
2017-08-12 13:33:10 +01:00
Daniel Stenberg
a7bbbb7c36
make install: add 8 missing man pages to the installation
2017-08-09 11:31:10 +02:00
Daniel Stenberg
7417029e19
THANKS: 20 new contributors in 7.55.0
2017-08-09 07:50:35 +02:00
Viktor Szakats
13ef623a81
docs/comments: Update to secure URL versions
...
Closes #1741
2017-08-08 21:41:07 +02:00
Daniel Stenberg
70934885d0
CURLOPT_NETRC.3: fix typo in 7e48aa3861
...
Reported-by: Viktor Szakats
2017-08-02 15:29:27 +02:00
Daniel Stenberg
7e48aa3861
CURLOPT_NETRC.3: mention the file name on windows
...
... and CURLOPT_NETRC_FILE(3).
2017-08-02 14:34:26 +02:00
Daniel Stenberg
62495ff31a
BUGS: improved phrasing about security bugs
...
Reported-by: Max Dymond
2017-08-01 15:06:08 +02:00
Daniel Stenberg
821a0854f6
BUGS: clarify how to report security related bugs
2017-08-01 14:39:13 +02:00
Jay Satiro
436cd490fc
include.d: clarify --include is only for response headers
...
Follow-up to 171f8de
and de6de94
.
Bug: https://github.com/curl/curl/commit/de6de94#commitcomment-23370851
Reported-by: Daniel Stenberg
2017-07-30 02:29:36 -04:00
Daniel Stenberg
171f8ded26
include.d: clarify that it concerns the response headers
...
Reported-by: olesteban at github
Fixes #1704
2017-07-28 18:22:50 +02:00
Daniel Stenberg
bbc9c6d144
CURLOPT_POSTFIELDS.3: explain the 100-continue magic better
2017-07-07 12:43:17 +02:00
Daniel Stenberg
a126ca8481
curl_easy_escape.3: mention the (lack of) encoding
...
Fixes #1612
Reported-by: Jeroen Ooms
2017-07-07 10:47:46 +02:00
Daniel Stenberg
da08c867e4
TODO: 1.10 auto-detect proxy
...
Closes #1572
2017-07-05 10:07:56 +02:00
Daniel Stenberg
add0f7119f
TODO: HTTP proxy CONNECT is non-blocking now
2017-07-05 10:00:26 +02:00
Daniel Stenberg
d24838d4da
make: build the docs subdir only from within src
...
... and don't build at all in include
Prompted-by-work-by: Simon Warta
Ref: #1590
Closes #1591
2017-06-30 17:09:01 +02:00
Daniel Stenberg
ef2a9f22cc
curl_strequal.3: fix typo in SYNOPSIS
...
Reported-by: Jesse Chisholm
Fixes #1623
2017-06-29 01:16:56 +02:00
Kamil Dudka
ce2c3ebda2
curl --socks5-{basic,gssapi}: control socks5 auth
...
Closes https://github.com/curl/curl/pull/1454
2017-06-28 08:03:00 +02:00
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
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
Daniel Stenberg
720ea577dc
curl: remove --proxy-ssl* options
...
There's mostly likely no need to allow setting SSLv2/3 version for HTTPS
proxy. Those protocols are insecure by design and deprecated.
2016-11-28 00:07:45 +01:00
Daniel Stenberg
c67f842093
CURLOPT_PROXY_*.3: polished some proxy option man pages
2016-11-27 00:21:15 +01:00
Okhin Vasilij
a4b2f7aafd
curl_version_info: add CURL_VERSION_HTTPS_PROXY
...
Closes #1142
2016-11-26 17:28:53 +01:00
Daniel Stenberg
3f7d9b9001
CURLOPT_PROXY_CAINFO.3: clarify proxy use
2016-11-25 16:40:32 +01:00
Daniel Stenberg
2527dd4378
CURLOPT_PROXY_CRLFILE.3: clarify https proxy and availability
2016-11-25 16:36:27 +01:00
Daniel Stenberg
67edddeb92
curl_easy_setopt.3: add CURLOPT_PROXY_PINNEDPUBLICKEY
...
Follow-up to 4f8b17743d
2016-11-25 14:17:44 +01:00
Daniel Stenberg
9bfb00efc9
docs: include all opts man pages in dist
...
Sorted the lists too.
... and include the new ones in the PDF and HTML generation targets
2016-11-25 11:14:58 +01:00
Thomas Glanzmann
4f8b17743d
HTTPS Proxy: Implement CURLOPT_PROXY_PINNEDPUBLICKEY
2016-11-25 10:49:38 +01:00
Thomas Glanzmann
1232dbb8bd
url: proxy: Use 443 as default port for https proxies
2016-11-25 10:01:58 +01:00
Daniel Stenberg
8ebc5cda8f
TODO: removed "HTTPS proxy"
2016-11-25 09:52:22 +01:00
Frank Gevaerts
ba410f6c64
add CURLINFO_SCHEME, CURLINFO_PROTOCOL, and %{scheme}
...
Adds access to the effectively used protocol/scheme to both libcurl and
curl, both in string and numeric (CURLPROTO_*) form.
Note that the string form will be uppercase, as it is just the internal
string.
As these strings are declared internally as const, and all other strings
returned by curl_easy_getinfo() are de-facto const as well, string
handling in getinfo.c got const-ified.
Closes #1137
2016-11-25 00:45:18 +01:00
Daniel Stenberg
63198a4750
curl.1: the new --proxy options ship in 7.52.0
2016-11-25 00:14:39 +01:00
Daniel Stenberg
6832c1d4b2
checksrc: move open braces to comply with function declaration style
2016-11-24 23:58:22 +01:00
Daniel Stenberg
8657c268e1
checksrc: white space edits to comply to stricter checksrc
2016-11-24 23:58:22 +01:00
Daniel Stenberg
dbadaebfc4
checksrc: code style: use 'char *name' style
2016-11-24 23:58:22 +01:00
Okhin Vasilij
c6da05a5ec
HTTPS-proxy: fixed mbedtls and polishing
2016-11-24 23:41:45 +01:00
Alex Rousskov
cb4e2be7c6
proxy: Support HTTPS proxy and SOCKS+HTTP(s)
...
* HTTPS proxies:
An HTTPS proxy receives all transactions over an SSL/TLS connection.
Once a secure connection with the proxy is established, the user agent
uses the proxy as usual, including sending CONNECT requests to instruct
the proxy to establish a [usually secure] TCP tunnel with an origin
server. HTTPS proxies protect nearly all aspects of user-proxy
communications as opposed to HTTP proxies that receive all requests
(including CONNECT requests) in vulnerable clear text.
With HTTPS proxies, it is possible to have two concurrent _nested_
SSL/TLS sessions: the "outer" one between the user agent and the proxy
and the "inner" one between the user agent and the origin server
(through the proxy). This change adds supports for such nested sessions
as well.
A secure connection with a proxy requires its own set of the usual SSL
options (their actual descriptions differ and need polishing, see TODO):
--proxy-cacert FILE CA certificate to verify peer against
--proxy-capath DIR CA directory to verify peer against
--proxy-cert CERT[:PASSWD] Client certificate file and password
--proxy-cert-type TYPE Certificate file type (DER/PEM/ENG)
--proxy-ciphers LIST SSL ciphers to use
--proxy-crlfile FILE Get a CRL list in PEM format from the file
--proxy-insecure Allow connections to proxies with bad certs
--proxy-key KEY Private key file name
--proxy-key-type TYPE Private key file type (DER/PEM/ENG)
--proxy-pass PASS Pass phrase for the private key
--proxy-ssl-allow-beast Allow security flaw to improve interop
--proxy-sslv2 Use SSLv2
--proxy-sslv3 Use SSLv3
--proxy-tlsv1 Use TLSv1
--proxy-tlsuser USER TLS username
--proxy-tlspassword STRING TLS password
--proxy-tlsauthtype STRING TLS authentication type (default SRP)
All --proxy-foo options are independent from their --foo counterparts,
except --proxy-crlfile which defaults to --crlfile and --proxy-capath
which defaults to --capath.
Curl now also supports %{proxy_ssl_verify_result} --write-out variable,
similar to the existing %{ssl_verify_result} variable.
Supported backends: OpenSSL, GnuTLS, and NSS.
* A SOCKS proxy + HTTP/HTTPS proxy combination:
If both --socks* and --proxy options are given, Curl first connects to
the SOCKS proxy and then connects (through SOCKS) to the HTTP or HTTPS
proxy.
TODO: Update documentation for the new APIs and --proxy-* options.
Look for "Added in 7.XXX" marks.
2016-11-24 23:41:44 +01:00
Jay Satiro
a4d888857e
http2: Use huge HTTP/2 windows
...
- Improve performance by using a huge HTTP/2 window size.
Bug: https://github.com/curl/curl/issues/1102
Reported-by: afrind@users.noreply.github.com
Assisted-by: Tatsuhiro Tsujikawa
2016-11-16 17:35:11 -05:00
Daniel Stenberg
342aa4797e
cmdline-docs: more conversion
2016-11-16 15:15:57 +01:00
Daniel Stenberg
c3c1e96185
gen: support 'protos'
...
and warn on unrecognized lines
2016-11-16 15:13:17 +01:00
Daniel Stenberg
5781e3653e
gen: support 'single' to make an individual page man page
2016-11-16 11:41:02 +01:00
Daniel Stenberg
41b1f649bf
cmdline-docs: more options converted over
2016-11-16 10:42:51 +01:00
Daniel Stenberg
81e61cda39
gen: support 'redirect'
...
... and warn for too long --help lines
2016-11-16 10:42:50 +01:00
Daniel Stenberg
1ef1f10cab
cmdline/gen: replace options in texts better
2016-11-16 08:23:36 +01:00
Jay Satiro
7f439f1652
curl.1: Clarify --dump-header only writes received headers
2016-11-16 01:40:23 -05:00
Alex Chan
771f3f22dd
docs: Spelling fixes
2016-11-15 15:41:45 +01:00
Kamil Dudka
cfd69c1339
docs: the next release will be 7.52.0
2016-11-15 12:21:00 +01:00
Daniel Stenberg
b8c35f40f9
cmdline-opts: support generating the --help output
2016-11-15 09:08:50 +01:00
Daniel Stenberg
f82bbe01c8
curl: add --fail-early
...
Exit with an error on the first transfer error instead of continuing to
do the rest of the URLs.
Discussion: https://curl.haxx.se/mail/archive-2016-11/0038.html
2016-11-14 08:35:40 +01:00
Daniel Stenberg
050aa80309
cmdline-opts: first test version of a new man page generator kit
...
See MANPAGE.md for the description of how this works. Each command line
option is now described in a separate .d file.
2016-11-13 23:40:12 +01:00
Daniel Hwang
cdfda3ee82
curl: Add --retry-connrefused
...
to consider ECONNREFUSED as a transient error.
Closes #1064
2016-11-11 10:00:54 +01:00
Daniel Stenberg
1299df6868
CODE_STYLE.md: link to INTERNALS.md correctly
2016-11-09 09:56:13 +01:00
Daniel Stenberg
dfcdaaba37
examples/fileupload.c: fclose the file as well
2016-11-08 23:00:43 +01:00
Daniel Stenberg
c2bc47ddb8
curl_formadd.3: *_FILECONTENT and *_FILE need the file to be kept
...
Reported-by: Frank Gevaerts
2016-11-08 15:28:04 +01:00
Kamil Dudka
a110a03b43
curl: introduce the --tlsv1.3 option to force TLS 1.3
...
Fully implemented with the NSS backend only for now.
Reviewed-by: Ray Satiro
2016-11-07 12:07:11 +01:00
Kamil Dudka
6ad3add606
vtls: support TLS 1.3 via CURL_SSLVERSION_TLSv1_3
...
Fully implemented with the NSS backend only for now.
Reviewed-by: Ray Satiro
2016-11-07 11:52:07 +01:00
Daniel Stenberg
27302abb94
s/cURL/curl
...
We're mostly saying just "curl" in lower case these days so here's a big
cleanup to adapt to this reality. A few instances are left as the
project could still formally be considered called cURL.
2016-11-07 10:36:23 +01:00
Daniel Stenberg
677d8b3fec
curl.1: explain the SMTP data expected for -T
...
Fixes #1107
Reported-by: Adam Piggott
2016-11-07 08:33:02 +01:00
Daniel Stenberg
c8e6e60b40
docs: shorten and simplify the top comment in multi-uv.c
...
and change URL to use https
2016-11-03 12:44:38 +01:00
Andrei Sedoi
82b6fd4112
docs: handle CURL_POLL_INOUT in multi-uv example
2016-11-03 12:32:14 +01:00
Andrei Sedoi
e6882ce484
docs: multi-uv: don't use CURLMsg after cleanup
2016-11-03 12:32:14 +01:00
Andrei Sedoi
b1aeed302d
docs: remove unused variables in multi-uv example
2016-11-03 12:32:14 +01:00
Daniel Stenberg
3c561c657c
THANKS: synced with 7.51.0
2016-11-02 07:34:06 +01:00
Daniel Stenberg
1fe755f99d
RELEASE-NOTES: 7.51.0
2016-11-02 07:34:06 +01:00
Daniel Stenberg
e5c49b9e69
curl.1: typo
2016-11-01 10:27:40 +01:00
Daniel Stenberg
b744950f43
curl.1: expand on how multiple uses of -o looks
...
Suggested-by: Dan Jacobson
Issue: https://github.com/curl/curl/issues/1097
2016-11-01 10:24:49 +01:00
Daniel Stenberg
53e71e47d6
unescape: avoid integer overflow
...
CVE-2016-8622
Bug: https://curl.haxx.se/docs/adv_20161102H.html
Reported-by: Cure53
2016-10-31 08:46:35 +01:00
Daniel Stenberg
fba28277ca
TODO: remove IDNA2008
2016-10-31 08:46:35 +01:00
Jay Satiro
164ee10b0b
INTERNALS: better markdown (follow-up)
...
- Wrap more words with underscores in backticks.
Follow-up to 13f4913
.
2016-10-31 00:38:27 -04:00
Daniel Stenberg
13f4913303
INTERNALS: better markdown
...
words with underscore need to be within `these`
Bug: https://github.com/curl/curl-www/issues/19
Reported-by : Jay Satiro
2016-10-30 23:46:11 +01:00
Daniel Stenberg
d0623f856c
BINDINGS: converted to markdown
...
To make it render better on the web site, at the price of it becoming
slightly less readable as text.
2016-10-28 09:54:39 +02:00
Jay Satiro
568037f6af
CURLMOPT_MAX_PIPELINE_LENGTH.3: Clarify it's not for HTTP/2
...
- Clarify that this option is only for HTTP/1.1 pipelining.
Bug: https://github.com/curl/curl/issues/1059
Reported-by: Jeroen Ooms
Assisted-by: Daniel Stenberg
2016-10-27 23:15:41 -04:00
Daniel Stenberg
4eb7657a13
KNOWN_BUGS: HTTP/2 server push enabled when no pushes can be accepted
...
Closes #927
2016-10-27 23:47:59 +02:00
Daniel Stenberg
c443a8ce21
KNOWN_BUGS: c-ares deviates from stock resolver on http://1346569778
...
Closes #893
2016-10-27 23:46:13 +02:00
Daniel Stenberg
a65db0bbcb
SECURITY: minor updates
...
- we allow the security push up to 48 hours before the release
- add a mention about possible pre-notifications
- lower case the 'curl-security' title
2016-10-27 10:21:52 +02:00
Andrei Sedoi
50ef91b59a
docs: fix req->data in multi-uv example
...
Closes #1088
2016-10-27 09:14:24 +02:00
Daniel Stenberg
4d7fc0a9bb
TODO: indent code to make it render properly
2016-10-24 14:03:08 +02:00
Daniel Stenberg
cc8c8f957e
TODO: Remove the generated include file
2016-10-24 13:38:29 +02:00
Daniel Stenberg
21b9e54058
TODO: add "--retry should resume"
...
See #1084
2016-10-24 11:56:26 +02:00
Daniel Stenberg
f435308cfa
mk-ca-bundle.1: document -k
...
Brought in 1ad2bdcf11
. Now does HTTPS by default and needs -k to
fall back to plain HTTP.
2016-10-24 10:24:27 +02:00
Dan Fandrich
50ee3aaf1a
INSTALL.md: Updated minimum file sizes for 7.50.3
2016-10-23 22:42:19 +02:00
Daniel Stenberg
8571d1c0b4
INSTALL: converted to markdown => INSTALL.md
...
Also heavily edited for content. Removed lots of old cruft that we added
like 10+ years ago that is likely incorrect by now.
Also removed INSTALL.devcpp for same reason.
2016-10-21 15:57:29 +02:00
Daniel Stenberg
0f1996321f
s/cURL/curl
...
The tool was never called cURL, only the project. But even so, we have
more and more over time switched to just use lower case.
2016-10-18 13:59:54 +02:00
Daniel Stenberg
9291a34d5d
HTTP2: mention the tool's limited support
2016-10-17 08:01:44 +02:00
Daniel Stenberg
96e3c07744
KNOWN_BUGS: two more existing problems
2016-10-16 12:55:40 +02:00
Daniel Stenberg
4ddc772b30
KNOWN_BUGS: minor formatting edit
2016-10-16 11:53:54 +02:00
Daniel Stenberg
358fd32820
dist: remove PDF and HTML converted docs from the releases
2016-10-10 23:33:13 +02:00
Daniel Stenberg
f74baaf3b3
TODO: build: Enable PIE and RELRO by default
2016-10-08 12:17:26 +02:00
Daniel Stenberg
e11da9f4b7
TODO: Support better than MD5 hostkey hash (for ssh)
2016-10-08 11:51:21 +02:00
Daniel Stenberg
13f3912471
TODO: Introduce --fail-fast to exit on first transfer fail
...
See #1054
2016-10-06 17:45:06 +02:00
Daniel Stenberg
da1a2d1ac8
TODO: Leave secure cookies alone
2016-10-06 09:40:47 +02:00
Rainer Müller
c271b1c29a
CURLOPT_DEBUGFUNCTION.3: unused argument warning ( #1056 )
...
The 'userp' argument is unused in this example code.
2016-10-06 08:06:13 +02:00
Daniel Stenberg
2a3bca9aa0
TODO: TCP Fast Open for windows
2016-10-05 11:50:50 +02:00
Daniel Stenberg
15aefc6adc
CURLOPT_KEEP_SENDING_ON_ERROR.3: mention when it is added
2016-10-04 23:46:45 +02:00
Daniel Stenberg
203c5d5b3c
TODO: Add easy argument to formpost functions
2016-10-04 18:34:31 +02:00
Stephen Brokenshire
2a1d538963
FAQ: Fix typos in section 5.14 ( #1047 )
...
Type required for YourClass::func C++ function (using size_t in line
with the documentation for CURLOPT_WRITEFUNCTION) and missing second
colon when specifying the static function for CURLOPT_WRITEFUNCTION.
2016-10-01 17:36:50 +02:00
Sebastian Mundry
9eda44a200
KNOWN_BUGS: Fix typos in section 5.8.
...
Closes #1046
2016-09-30 20:50:55 +02:00
mundry
dd42963a52
CONTRIBUTE.md: Fix typo in 'About pull requests' section. ( #1045 )
2016-09-30 20:49:48 +02:00
Daniel Stenberg
7ea1469468
curl.1: --trace supports % for sending to stderr!
2016-09-30 17:17:48 +02:00
Daniel Stenberg
bd742adb6f
KNOWN_BUGS: 5.8 configure finding libs in wrong directory
2016-09-26 11:44:00 +02:00
Daniel Stenberg
cd7f562bdc
SECURITY: remove the top ascii logo
2016-09-23 22:11:55 +02:00
Michael Kaufmann
e9e5366193
New libcurl option to keep sending on error
...
Add the new option CURLOPT_KEEP_SENDING_ON_ERROR to control whether
sending the request body shall be completed when the server responds
early with an error status code.
This is suitable for manual NTLM authentication.
Reviewed-by: Jay Satiro
Closes https://github.com/curl/curl/pull/904
2016-09-22 22:22:31 +02:00
Jay Satiro
36e53ec6ff
docs: Remove that --proto is just used for initial retrieval
...
.. and add that --proto-redir and CURLOPT_REDIR_PROTOCOLS do not
override protocols denied by --proto and CURLOPT_PROTOCOLS.
- Add a test to enforce: --proto deny must override --proto-redir allow
Closes https://github.com/curl/curl/pull/1031
2016-09-21 17:23:24 -04:00
Daniel Stenberg
aab94da619
curl_global_cleanup.3: don't unload the lib with sub threads running
...
Discussed in #997
Assisted-by: Jay Satiro
2016-09-20 23:00:52 +02:00
Daniel Stenberg
88e3743dde
MAIL-ETIQUETTE: language
2016-09-20 15:37:46 +02:00
rugk
31dd3bf674
TODO: Add PINNEDPUBLICKEY - HPKP compatibility, HSTS & HPKP
...
Closes #1025
Closes #1026
Closes #1027
2016-09-19 16:58:33 +02:00
Daniel Stenberg
fb0032a33e
TODO: Support SSLKEYLOGFILE
2016-09-19 10:29:00 +02:00
Jay Satiro
6ee9ea5e70
CURLOPT_PINNEDPUBLICKEY.3: fix the AVAILABILITY formatting
2016-09-18 17:56:35 -04:00
Jay Satiro
45c1c54c42
examples/imap-append: Set size of data to be uploaded
...
Prior to this commit this example failed with error
'Cannot APPEND with unknown input file size'.
Bug: https://github.com/curl/curl/issues/1008
Reported-by: lukaszgn@users.noreply.github.com
Closes https://github.com/curl/curl/pull/1011
2016-09-18 02:19:17 -04:00
Tony Kelman
e01d0f1030
LICENSE-MIXING.md: update with mbedTLS dual licensing
...
Recent versions of mbedTLS are available under either Apache 2.0 or GPL
2.0, see https://tls.mbed.org/how-to-get
Closes #1019
2016-09-16 23:56:28 +02:00
Daniel Stenberg
710f0572c9
KNOWN_BUGS: chunked-encoded requests with HTTP/2 is fixed
2016-09-16 09:00:20 +02:00
Daniel Stenberg
8986c86e1e
THANKS: updated with curl 7.50.3 contributors
2016-09-14 07:56:18 +02:00
Jay Satiro
511838f1d8
CODE_STYLE: fix long-line guideline
...
- Change maximum allowed line length from 80 to 79.
2016-09-12 01:51:37 -04:00
Jay Satiro
27c2131b02
CODE_STYLE: add column alignment section
...
Note that since the added examples are for column alignment I had to
encapsulate with ~~~c markdown to preserve their alignment.
2016-09-11 19:12:14 -04:00
Jay Satiro
af2d679e14
errors: new alias CURLE_WEIRD_SERVER_REPLY (8)
...
Since we're using CURLE_FTP_WEIRD_SERVER_REPLY in imap, pop3 and smtp as
more of a generic "failed to parse" introduce an alias without FTP in
the name.
Closes https://github.com/curl/curl/pull/975
2016-09-07 21:24:27 -04:00
Daniel Stenberg
ebd620d691
HISTORY: remove ascii logo to render nicer on web
2016-09-07 14:29:19 +02:00
Daniel Stenberg
e79de9e326
THANKS: updated for 7.50.2
2016-09-07 07:45:40 +02:00
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
85e5ebe75f
HISTORY.md: the multi socket was put in the wrong year!
2016-09-03 23:14:18 +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
Steve Holme
7c6c2194b8
KNOWN_BUGS: Move the Visual Studio project shortcomings from local README
2016-08-31 11:33:22 +01:00
Steve Holme
088ffcba3e
KNOWN_BUGS: Expand 6.4 to include Kerberos V5
...
...and discuss a possible solution.
2016-08-31 11:22:12 +01:00
Daniel Stenberg
b73b423ba0
KNOWN_BUGS: mention some cmake "support gaps"
2016-08-29 23:02:14 +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
3533def3d5
http2: make sure stream errors don't needlessly close the connection
...
With HTTP/2 each transfer is made in an indivial logical stream over the
connection, making most previous errors that caused the connection to get
forced-closed now instead just kill the stream and not the connection.
Fixes #941
2016-08-28 16:44:49 +02:00
Daniel Stenberg
a032a6f2bb
INTERNALS: fix title
2016-08-25 11:00:28 +02:00
Marc Hoersken
fba9dec5c5
Revert "KNOWN_BUGS: SOCKS proxy not working via IPv6"
...
This reverts commit 9cb1059f92
.
As discussed in #835 SOCKS5 supports IPv6 proxies and destinations.
2016-08-21 17:57:29 +02:00
Daniel Stenberg
2497c42172
CURLMOPT_MAX_TOTAL_CONNECTIONS.3: mention it can also multiplex
2016-08-19 09:40:40 +02:00
Steve Holme
cf582d7bc0
RELEASE-PROCEDURE: Added some more future release dates
...
...and removed some old ones
2016-08-17 23:25:04 +01: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
Ronnie Mose
cdaed77206
MANUAL: Remove invalid link to LDAP documentation ( #962 )
...
The server developer.netscape.com does not resolve into any
ip address and can be removed.
2016-08-13 14:38:09 +02:00
Daniel Stenberg
04f84edd5b
mk-ca-bundle.1: document -m, added in 1.26
2016-08-11 08:21:33 +02:00
Daniel Stenberg
85e63bcfc7
symbols-in-versions: add CURL_STRICTER
...
Added in 5fce88aa8c
2016-08-09 21:34:47 +02:00
Daniel Stenberg
50cb384fd9
LICENSE-MIXING.md: switched to markdown
2016-08-09 15:04:50 +02:00
Daniel Stenberg
dcdc5f416d
docs-make: have markdown files use .md
2016-08-09 14:47:20 +02:00
Daniel Stenberg
6152b5916e
HISTORY.md: use markdown extension
2016-08-09 12:05:43 +02:00
Daniel Stenberg
615a12cbad
SSLCERTS.md: renamed to markdown extension
2016-08-09 12:03:46 +02:00
Daniel Stenberg
d263e83079
INTERNALS.md: use markdown extension for markdown content
2016-08-09 12:01:47 +02:00
Daniel Stenberg
e24597dc83
CONTRIBUTE.md: markdown extension
2016-08-09 11:40:39 +02:00
Daniel Stenberg
08fd82f370
CONTRIBUTE: changed to markdown
2016-08-09 11:39:58 +02:00
Daniel Stenberg
1af5958978
CONTRIBUTE: refreshed
2016-08-09 10:53:42 +02:00
Daniel Stenberg
296c180bb7
TODO: added an SSH section and two SFTP things to do
2016-08-09 10:05:26 +02:00
Daniel Stenberg
63cc406389
TODO: remove the 1.22 duplicated item
2016-08-09 09:55:16 +02:00
Daniel Stenberg
4e1ebe63cf
TODO: move "CURLOPT_MAIL_CLIENT" to SMTP section
2016-08-09 09:53:06 +02:00
Daniel Stenberg
546d4a3505
TODO: API for URL parsing/splitting
2016-08-09 09:51:43 +02:00
Daniel Stenberg
ca3e8268c5
TODO: move QUIC to the HTTP section
2016-08-09 09:43:52 +02:00
Daniel Stenberg
36ee0ea57c
TODO: Use huge HTTP/2 windows
2016-08-08 23:46:11 +02:00
Daniel Stenberg
5a86fddfba
TODO: added several ideas, removed SPDY
2016-08-07 23:52:06 +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
Bill Nagel
497e7c9d34
mbedtls: Added support for NTLM
2016-08-03 19:33:59 +01:00
Daniel Stenberg
f2cb3a0119
THANKS: 7 new contributors from the 7.50.1 release
2016-08-03 08:37:16 +02:00
Daniel Stenberg
9cb1059f92
KNOWN_BUGS: SOCKS proxy not working via IPv6
...
Closes #835
2016-08-03 00:24:08 +02:00
Daniel Stenberg
ac09c422d3
KNOWN_BUGS: CURLOPT_SEEKFUNCTION not called with CURLFORM_STREAM
...
Closes #768
2016-08-03 00:21:42 +02:00
Daniel Stenberg
80ab2b5ad9
KNOWN_BUGS: transfer-encoding: chunked in HTTP/2
...
Closes #662
2016-08-03 00:19:53 +02:00
Daniel Stenberg
52276b51e0
TODO: Provide cmake config-file
...
Closes #885
2016-08-03 00:15:58 +02:00
Viktor Szakats
17bf323221
TODO: minor typo in last commit
...
merged #931
2016-07-26 16:40:12 +02:00
Daniel Stenberg
f3cad5bbf2
TODO: Timeout idle connections from the pool
2016-07-26 16:03:15 +02:00
Daniel Stenberg
c7468e8ea2
SECURITY: mention how to get windows-specific CVEs
...
... and make the distros link a proper link
2016-07-22 01:47:13 +02:00
Kamil Dudka
8b9ba132f0
docs: distribute the CURLINFO_HTTP_VERSION(3) man page, too
2016-07-21 13:06:17 +02:00
Daniel Stenberg
d78cf1f03a
THANKS: 13 new contributors from the 7.50.0 release
2016-07-21 10:53:38 +02:00
Daniel Stenberg
57ac61a469
ROADMAP: QUIC and TLS 1.3
2016-07-19 23:10:39 +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
Jay Satiro
f9eed596a3
FAQ: Update FTP directory listing section for MLSD command
...
Explain how some FTP servers support the machine readable listing
format MLSD from RFC 3659 and compare it to LIST.
Ref: https://github.com/curl/curl/issues/906
2016-07-09 03:05:55 -04:00
Daniel Stenberg
c4f108ece8
TODO: 17.4 also brings more HTTP/2 support
2016-06-30 23:45:49 +02:00
Daniel Stenberg
a194e6c9ae
TODO: try next proxy if one doesn't work
...
Closes #896
2016-06-30 23:42:06 +02: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
Daniel Stenberg
614b503423
ROADMAP: http2 tests are merged, mention http2 perf
2016-06-28 15:02:46 +02:00
Daniel Stenberg
c8b2010c5f
docs/README.md: to render nicer pages on github
...
... as previously the README.cmake would be picked and put at the bottom
of the docs page there and it wasn't very representative!
2016-06-28 14:09:51 +02:00
Daniel Stenberg
a69f27ae91
KNOWN_BUGS: 3.4 POP3 expects "CRLF.CRLF" eob for some
...
Closes #740
2016-06-28 08:24:59 +02:00
Daniel Stenberg
b5d1b498fc
TODO: "TCP Fast Open" is done, add monitor pool connections
2016-06-22 12:06:47 +02:00
Daniel Stenberg
434f8d0389
internals: rename the SessionHandle struct to Curl_easy
2016-06-22 10:28:41 +02:00
Daniel Stenberg
046c2c85c4
curl.1: the used progress meter suffix is k in lower case
...
Closes #883
2016-06-22 00:37:36 +02:00
Daniel Stenberg
2668d8df9a
curl.1: missed 'T' in the progress unit suffixes
2016-06-17 10:40:44 +02:00
Daniel Stenberg
c9a6ab6d92
curl.1: mention the unix for the progress meter
2016-06-17 00:33:33 +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
Daniel Stenberg
668fdd1526
THANKS: updated after script fixes
...
Now giving credit properly to github user names, fixed some UTF-8 issues
and added names discovered when contrithanks was improved.
2016-05-23 10:08:34 +02:00
Daniel Stenberg
e0503d9215
THANKS-filter: more name cleanups
2016-05-23 10:08:15 +02:00
Daniel Stenberg
1c057f6ecf
THANKS-filter: fix more names
2016-05-23 09:13:20 +02:00
Daniel Stenberg
994146eb1f
THANKS-filter: make Jan-E get proper credit
2016-05-20 16:44:34 +02: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
Daniel Stenberg
fe3db2e43b
dist: include CHECKSRC.md
...
Reported-by: Paul Howarth
Bug: https://curl.haxx.se/mail/lib-2016-05/0116.html
2016-05-18 10:35:15 +02:00
Daniel Stenberg
67fe54d918
THANKS: 24 new names from 7.49.0 release notes
2016-05-17 14:51:35 +02: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
9f475f7b9d
KNOWN_BUGS: GnuTLS backend skips really long certificate fields
...
Closes #762
2016-05-17 11:13:48 +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
Daniel Stenberg
2dcb5adc72
THANKS-filter: fixed Jonathan Cardoso
2016-05-16 09:04:13 +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
Jay Satiro
befa21f2cd
FAQ: refer to thread safety guidelines
2016-05-05 14:34:27 -04:00
Daniel Stenberg
acc2aeb407
CHECKSRC.md: clarified, explained the whitelist file
2016-05-02 11:18:59 +02:00
Daniel Stenberg
dac8ce9558
docs: unified man page references to use \fI
2016-05-02 09:09:59 +02:00
Daniel Stenberg
7e5f3c3781
TODO: 17.14 --fail without --location should treat 3xx as a failure
...
Closes #727
2016-05-02 08:36:54 +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
Daniel Stenberg
22aa34f745
curl.1: --mail-rcpt can be used multiple times
...
Reported-by: mgendre
Closes #784
2016-04-30 00:15:44 +02:00
Daniel Stenberg
394d7917b7
curl.1: document the deprecated --ftp-ssl option
2016-04-29 00:31:37 +02:00
Daniel Stenberg
59a09055af
curl.1: document --ntlm-wb
2016-04-29 00:31:37 +02:00
Daniel Stenberg
51d62a6b66
curl.1: document the long format of -q: --disable
2016-04-29 00:31:37 +02:00
Daniel Stenberg
12622f3899
curl.1: mention the deprecated --krb4 option
2016-04-29 00:31:37 +02:00
Daniel Stenberg
d848be14b2
curl.1: document --ftp-ssl-reqd
...
Even if deprecated, document it so that people will find it as old
scripts may still use it.
2016-04-29 00:31:37 +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
3a6142865f
KNOWN_BUGS: 1.10 Strips trailing dot from host name
...
Closes #716
2016-04-26 00:07:40 +02:00
Daniel Stenberg
eafd9264aa
symbols-in-versions: added new CURLSSLBACKEND_ symbols
2016-04-25 23:15:00 +02:00
Daniel Stenberg
27a6393cee
KNOWN_BUGS: --interface for ipv6 binds to unusable IP address
...
Closes #686 for now.
2016-04-25 11:20:23 +02:00
Daniel Stenberg
7215a81327
TODO: 1.17 Add support for IRIs
...
Adding support for IRIs is a mouthful, but is probably interesting at
least for areas and countries where the use of such "URLs" are growing
popularity.
Closes #776
2016-04-24 23:51:34 +02:00
Daniel Stenberg
93c3d2ed54
THANKS-filter: Travis Burtrum
2016-04-24 12:46:41 +02:00
33623d7196
PolarSSL: Implement public key pinning
2016-04-24 12:27:39 +02:00
Daniel Stenberg
14c9b70cae
KNOWN_BUGS: fixed "5.6 Improper use of Autoconf cache variables"
...
As of commit d9f3b365a3
2016-04-21 23:14:13 +02:00
Daniel Stenberg
a07727005a
make/checksrc: use $srcdir, not $top_srcdir
2016-04-19 08:56:06 +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
d49087f6bc
tool: add --tcp-fastopen option
2016-04-18 23:17:19 +02:00
Alessandro Ghedini
dc68f2dab9
url: add CURLOPT_TCP_FASTOPEN option
2016-04-18 23:17:19 +02:00
Daniel Stenberg
ab493af731
checksrc/makefile.am: use $top_srcdir to find source files
...
... to properly support out of source tree builds.
2016-04-18 14:58:11 +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
Daniel Stenberg
15cadb1f7a
KNOWN_BUGS: added info for "Hangs with PolarSSL"
2016-04-11 00:06:37 +02:00
Daniel Stenberg
582d423ce8
KNOWN_BUGS: 1.9 HTTP/2 frames while in the connection pool kill reuse
...
Closes #750
2016-04-10 23:52:40 +02: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
9b03bca6e6
CODE_STYLE: Added ternary operator example to 'Space around operators'
...
Following conversation on the libcurl mailing list.
2016-04-09 17:04:46 +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
Steve Holme
0e6ff33bd5
ROADMAP: Updated following the move of the authentication code
2016-04-08 17:04:25 +01:00
Patrick Monnerat
3954d6fdcf
KNOWN_BUGS: openldap hangs. TODO: binary SASL.
2016-04-08 16:49:49 +02:00
Daniel Stenberg
bbe08a7e7a
KNOWN_BUGS: 5.6 Improper use of Autoconf cache variables
...
Closes #603
2016-04-08 13:25:20 +02:00
Daniel Stenberg
645ed11ac5
KNOWN_BUGS: 11.2 error buffer not set...
...
Closes #544
2016-04-08 13:23:28 +02:00
Daniel Stenberg
ca6f0a56ca
KNOWN_BUGS: 11.1 Curl leaks .onion hostnames in DNS
...
Closes #543
2016-04-08 13:21:52 +02:00
Daniel Stenberg
00cf68c6e8
KNOWN_BUGS: 1.8 DNS timing is wrong for HTTP redirects
...
Closes #522
2016-04-08 13:03:37 +02:00
Daniel Stenberg
045c7924ac
TODO: HTTP/2 "prior knowledge" is implemented!
2016-04-08 10:57:25 +02:00
Daniel Stenberg
5cfa268faa
curl.1: use example.com more
...
Make (most) example snippets use the example.com domain instead of the
random ones picked and used before. Some of those were probably
legitimate sites and some not. example.com is designed for this purpose.
2016-04-06 14:41:38 +02:00
Viktor Szakats
a24f71aac4
URLs: change http to https in many places
...
Closes #754
2016-04-06 11:58:34 +02:00
Theodore Dubois
f07cc91108
curl.1: change example for -F
...
It's a bad idea to send your passwords anywhere, especially over HTTP.
Modified example to send a picture instead.
Fixes #752
2016-04-06 10:26:52 +02:00
Daniel Stenberg
b207ccb104
KNOWN_BUGS: reorganized and cleaned up
...
Now sorted into categories and organized in the same style we do the
TODO document. It will make each issue linked properly on the
https://curl.haxx.se/docs/knownbugs.html web page.
The sections should make it easier to find issues and issues related to
areas of the reader's specific interest.
2016-04-06 09:20:18 +02:00
Jay Satiro
9f740d3874
KNOWN_BUGS: #95 curl in Windows can't handle Unicode arguments
2016-04-06 02:43:13 -04:00
Steve Holme
0760b356d1
KNOWN_BUGS: Use https://curl.haxx.se URL for github based issues
2016-04-06 01:23:02 +01:00
Steve Holme
f5050d06cf
CHECKSRC.md: Corrected some typos
2016-04-06 01:00:01 +01:00
Jay Satiro
ea3366c646
KNOWN_BUGS: #94 IMAP custom requests use the LIST handler
...
Bug: https://github.com/curl/curl/issues/536
Reported-by: eXeC64@users.noreply.github.com
2016-04-05 18:56:35 -04:00
Daniel Stenberg
bc2f2f5c45
KNOWN_BUGS: remove 68, 70 and 72.
...
Due to their age (we don't fully know if they actually remain) and lack
of detail - very few people will bother to find out what they're about
or work on them. If people truly still suffer from any of these, I
assume they will be reported again and then we'll deal with them.
72. "Pausing pipeline problems."
https://curl.haxx.se/mail/lib-2009-07/0214.html
70. Problem re-using easy handle after call to curl_multi_remove_handle
https://curl.haxx.se/mail/lib-2009-07/0249.html
68. "More questions about ares behavior".
https://curl.haxx.se/mail/lib-2009-08/0012.html
2016-04-05 23:40:37 +02:00
Daniel Stenberg
52b3e072f6
KNOWN_BUGS: remove 92 and 88, fixed
2016-04-05 23:39:42 +02:00
Daniel Stenberg
86e97b642f
CHECKSRC.md: mention cmdline options, fix the bullet list
2016-04-04 08:36:21 +02:00
Daniel Stenberg
3807901003
docs/CHECKSRC.md: initial version
2016-04-04 00:11:32 +02:00
Daniel Stenberg
6ddab23fb1
docs/examples: remove spurious white spaces all over
...
... to please the new, slightly picker, checksrc.pl
2016-04-03 22:52:34 +02:00
Daniel Stenberg
a71012c03e
code: style updates
2016-04-03 22:38:36 +02:00
Daniel Stenberg
e238253d06
curl.1: -w filename_effective was introduced in 7.26.0
...
We never made a 7.25.1 release
2016-04-02 17:59:25 +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
Viktor Szakats
e007e73703
TODO: use secure protocol in recently added URL
...
Closes #733
2016-03-29 13:14:37 +02:00
Daniel Stenberg
3e5395a820
HTTP2.md: mention libressl and boringssl too
2016-03-29 10:23:33 +02:00
Daniel Stenberg
09cca9813d
docs/HTTP-COOKIES: converted to markdown
2016-03-29 08:53:40 +02:00
Daniel Stenberg
02767e2b10
HTTP2: s/polarssl/mbedtls
2016-03-29 08:27:23 +02:00
Jay Satiro
a43b22e05b
wolfssl: Add ALPN support
2016-03-28 18:18:09 -04:00
Daniel Stenberg
768f18f442
TODO: 2.5 Edge-triggered sockets should work
2016-03-28 10:59:39 +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
Dusty Mabe
1f49780c4c
docs/TODO: Add feature request for metalink in HTTP headers
...
Closes #729
Closes #728
2016-03-25 22:19:20 +01:00
JDepooter
f8d88a4913
schannel: Add ALPN support
...
Add ALPN support for schannel. This allows cURL to negotiate
HTTP/2.0 connections when built with schannel.
Closes #724
2016-03-24 09:56:12 +01:00
Daniel Stenberg
f0098d6156
RELEASE-PROCEDURE: mention the github release tag edit
...
... and update the coming release dates a bit
2016-03-23 09:32:30 +01:00
Daniel Stenberg
b733c9cb0b
THANKS: 15 new contributors from 7.48.0 release
2016-03-23 07:55:48 +01: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
Daniel Stenberg
a136cdeaf1
CODE_STYLE: indend example code
...
... to make it look nicer in markdown outputa
2016-03-22 08:36:21 +01:00
Steve Holme
eba1b3099f
CODE_STYLE: Use boolean conditions
...
Rather than use TRUE, FALSE, NULL, 0 or != 0 in if/while conditions.
Additionally, corrected some example code to adhere to the recommended
coding style.
2016-03-20 11:51:11 +00:00
Steve Holme
2107a952e8
KNOWN_BUGS: #93 Issue with CURLFORM_CONTENTLEN in arrays on 32-bit platforms
2016-03-19 00:06:36 +00:00
Daniel Stenberg
9c2cbc104d
FAQ: 2.5 Install libcurl for both 32bit and 64bit?
2016-03-18 08:14:05 +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
0fc73d364e
CODE_STYLE: Space around operators
...
As just discussed on the mailing list, also document how we prefer
spacing in expressions.
2016-03-14 14:31:14 +01:00
Daniel Stenberg
2ad3cf2fba
CODE_STYLE: add example for indent style as well
2016-03-14 10:40:02 +01:00
Daniel Stenberg
c5c7a3e40f
CODE_STYLE: mention braces for functions too
2016-03-14 10:36:51 +01:00
Daniel Stenberg
519835c4b0
docs/Makefile.am: include CODE_STYLE in tarball too
2016-03-14 10:31:36 +01:00
Daniel Stenberg
1b3d736ae3
CONTRIBUTE: moved out code style to a separate document
2016-03-14 10:31:00 +01:00
Daniel Stenberg
303bf719ff
CODE_STYLE: initial version
...
Ripped out from CONTRIBUTE into its own document, but also extended from
there.
2016-03-14 10:28:54 +01:00
Daniel Stenberg
d807fbd66d
TODO: Use the RFC6265 test suite
2016-03-13 11:02:06 +01:00
Daniel Stenberg
eab769518e
THANKS-filter: unify Michael König
2016-03-10 14:10:05 +01:00
Daniel Stenberg
b6665c7a44
HTTP2.md: add CURL_HTTP_VERSION_2TLS and updated alt-svc link
2016-03-09 11:09:39 +01: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
f0a6929553
HTTP2.md: HTTP/2 by default for curl's HTTPS connections
2016-03-08 08:15:47 +01:00
Daniel Stenberg
7e8b65c00b
HTTP2.md: mention the disable ALPN and NPN options
2016-03-08 00:08:31 +01:00
Daniel Stenberg
52a0b934ef
TODO: 17.12 keep running, read instructions from pipe/socket
...
And delete trailing whitespace
And rename section 17 to "command line tool" from "client"
Closes #702
2016-03-07 23:21:50 +01: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
Daniel Stenberg
530234b325
curlx.c: use more curl style code
2016-03-06 16:54:58 +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
Daniel Stenberg
6f1735926f
ROADMAP: clarify on the TLS proxy, mention HTTP cookies to work on
2016-02-26 13:02:34 +01: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
Jay Satiro
a11c5f329f
curl.1: HTTP headers for --cookie must be Set-Cookie style
...
Bug: https://github.com/curl/curl/issues/666
Reported-by: baumanj@users.noreply.github.com
2016-02-18 19:01:19 -05:00
Daniel Stenberg
be2db60650
curl.1: add a missing dash
2016-02-18 15:32:00 +01:00
Daniel Stenberg
091dee8631
opts: add references
2016-02-18 09:14:48 +01:00
Daniel Stenberg
435f6bcc86
examples/make: add 'checksrc' target
2016-02-17 15:01:38 +01:00
Daniel Stenberg
e8748bc1d7
10-at-a-time: typecast the argument passed to sleep()
2016-02-17 15:01:21 +01:00
Daniel Stenberg
e624714cad
externalsocket.c: fix compiler warning for fwrite return type
2016-02-17 15:00:54 +01:00
Daniel Stenberg
32e38b8f42
anyauthput.c: fix compiler warnings
2016-02-17 15:00:34 +01:00
Daniel Stenberg
0c671a1501
simplessl.c: warning: while with space
2016-02-17 15:00:18 +01:00
Daniel Stenberg
9ae7030cef
curlx.c: i2s_ASN1_IA5STRING() clashes with an openssl function
...
Reported-By: Gisle Vanem
2016-02-17 14:51:31 +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
Kamil Dudka
4ef6b2d6c6
curl.1: --disable-{eprt,epsv} are ignored for IPv6 hosts
...
The behavior has been clarified in CURLOPT_FTP_USE_{EPRT,EPSV}.3 man
pages since curl-7_12_3~131. This patch makes it clear in the curl.1
man page, too.
Bug: https://bugzilla.redhat.com/1305970
2016-02-12 18:47:17 +01:00
Daniel Stenberg
d202fbcc00
examples: fix some compiler warnings
2016-02-11 10:21:09 +01:00
Daniel Stenberg
888e4b6821
simplessl.c: fix my breakage
2016-02-11 10:20:48 +01:00
Daniel Stenberg
3a6563d668
examples: adhere to curl code style
...
All plain C examples now (mostly) adhere to the curl code style. While
they are only examples, they had diverted so much and contained all
sorts of different mixed code styles by now. Having them use a unified
style helps users and readability. Also, as they get copy-and-pasted
widely by users, making sure they're clean and nice is a good idea.
573 checksrc warnings were addressed.
2016-02-11 09:44:45 +01:00
Daniel Stenberg
936d8f07df
examples/cookie_interface.c: add cleanup call
...
cleaning up handles is a good idea as we leak memory otherwise
Also, line wrapped before 80 columns.
2016-02-11 08:44:59 +01:00
Timotej Lazar
50cd9c8aa1
opts: update references to renamed options
2016-02-09 14:19:31 -05:00
Jay Satiro
d9128de617
KNOWN_BUGS: Update #92 - Windows device prefix
2016-02-09 03:29:19 -05:00
David Benjamin
39c803cba2
openssl: remove most BoringSSL #ifdefs.
...
As of https://boringssl-review.googlesource.com/#/c/6980/ , almost all of
BoringSSL #ifdefs in cURL should be unnecessary:
- BoringSSL provides no-op stubs for compatibility which replaces most
#ifdefs.
- DES_set_odd_parity has been in BoringSSL for nearly a year now. Remove
the compatibility codepath.
- With a small tweak to an extend_key_56_to_64 call, the NTLM code
builds fine.
- Switch OCSP-related #ifdefs to the more generally useful
OPENSSL_NO_OCSP.
The only #ifdefs which remain are Curl_ossl_version and the #undefs to
work around OpenSSL and wincrypt.h name conflicts. (BoringSSL leaves
that to the consumer. The in-header workaround makes things sensitive to
include order.)
This change errs on the side of removing conditionals despite many of
the restored codepaths being no-ops. (BoringSSL generally adds no-op
compatibility stubs when possible. OPENSSL_VERSION_NUMBER #ifdefs are
bad enough!)
Closes #640
2016-02-09 08:46:36 +01:00
Jay Satiro
674b57e76b
KNOWN_BUGS: Windows device prefix is required for devices
2016-02-08 17:40:53 -05:00
Ludwig Nussel
e49ab0a3b8
SSLCERTS: update wrt SSL CA certificate store
2016-02-08 14:45:58 +01:00
Daniel Stenberg
c18e86cb4f
THANKS: 2 contributors from the 7.47.1 release
2016-02-08 10:46:01 +01:00
Daniel Stenberg
108bc5d860
RELEASE-PROCEDURE: remove the github upload part
...
... as we're HTTPS on the main site now, there's no point in that
extra step
2016-02-08 10:35:35 +01:00
Daniel Stenberg
1ca54daf3e
TODO: 17.11 -w output to stderr
2016-02-07 00:27:36 +01:00
Gisle Vanem
c71b6a2795
examples/asiohiper: Avoid function name collision on Windows
...
closesocket => close_socket
Winsock already has the former.
Bug: https://curl.haxx.se/mail/lib-2016-02/0016.html
2016-02-06 17:04:38 -05:00
Gisle Vanem
6f702ebaa2
examples/htmltitle: Use _stricmp on Windows
...
Bug: https://curl.haxx.se/mail/lib-2016-02/0017.html
2016-02-06 17:02:55 -05:00
Viktor Szakats
d49881cb19
URLs: change more http to https
2016-02-04 18:46:54 -05:00
Viktor Szakats
20dcd19501
URLs: follow GitHub project rename (also Travis CI)
...
Closes #632
2016-02-04 23:01:38 +01:00
Daniel Stenberg
42f725fb9b
HISTORY: add some info about when we used which host names
2016-02-03 15:33:30 +01:00
Viktor Szakats
b4f595bde4
URLs: change more http to https
2016-02-02 22:29:47 -05:00
Dan Fandrich
093f9cd38d
URLs: Change more haxx.se URLs from http: to https:
2016-02-03 01:45:21 +01: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
Jay Satiro
96596334c8
curl.1: Explain remote-name behavior if file already exists
...
.. also warn about letting the server pick the filename.
2016-01-29 03:28:48 -05:00
Daniel Stenberg
e400a89b18
getredirect.c: fix variable name
...
Reported-by: Bernard Spil
2016-01-27 09:35:55 +01:00
Daniel Stenberg
06bf874bbc
examples/Makefile.inc: specify programs without .c!
2016-01-27 08:30:04 +01:00
Daniel Stenberg
87a5d3d13e
THANKS: 6 new contributors from 7.47.0 release notes
2016-01-26 23:45:02 +01:00
Daniel Stenberg
14f92f2d2c
FAQ: language fix in 4.19
2016-01-25 11:11:29 +01:00
paulehoffman
53d1e42c41
FAQ: Update to point to GitHub
...
Current FAQ didn't make it clear where the main repo is.
Closes #612
2016-01-24 23:29:01 +01:00
Daniel Stenberg
5a28126b22
curl_multi_socket_action.3: line wrap
2016-01-24 20:31:30 +01:00
Steve Holme
b03f01742d
TODO: "Create remote directories" for SMB
2016-01-21 21:05:55 +00: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
Daniel Stenberg
3ea77f6add
TODO: "Try to URL encode given URL"
...
Closes #514
2016-01-12 00:03:05 +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
b82359643d
FAQ: clarify who to mail about ECCN clarifications
2016-01-04 18:59:29 +01:00
Daniel Stenberg
1d15a509dd
progressfunc.c: spellfix description
2016-01-04 18:49:10 +01:00
Daniel Stenberg
a3b8a9e036
docs/examples/multi-app.c: fix bad desc formatting
2016-01-04 15:35:16 +01:00
Daniel Stenberg
2e503441ed
examples: added descriptions
2016-01-04 15:34:05 +01:00
Daniel Stenberg
e45059214c
example/simple.c: add description
2016-01-04 15:12:37 +01:00
Daniel Stenberg
1c9298ff1b
getredirect.c: a new example
2016-01-04 15:12:37 +01:00
Daniel Stenberg
90c2d215d7
CURLOPT_RANGE: for HTTP servers, range support is optional
2015-12-24 23:35:54 +01:00
Daniel Stenberg
b4a39491ca
curl --expect100-timeout: added
...
This is the new command line option to set the value for the existing
libcurl option CURLOPT_EXPECT_100_TIMEOUT_MS
2015-12-15 13:59:56 +01:00
Daniel Stenberg
63a5a756a8
ROADMAP: implemented HTTP2 for HTTPS-only
2015-12-14 10:13:21 +01:00
Daniel Stenberg
15cf5a98b7
HTTP2.md: spell fix and remove TODO now implemented
2015-12-14 10:10:35 +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
6623a485d3
THANKS: new contributors from the 7.46.0 release
2015-12-01 22:53:24 +01:00
Daniel Stenberg
940c2f51aa
THANKS-filter: single Tim Rühsen spelling
2015-12-01 22:51:50 +01:00
Daniel Stenberg
a47137c4a5
docs/examples: gitignore some more built examples
2015-12-01 09:09:04 +01:00
Daniel Stenberg
99d17a5e2b
examples/README: cut out the incomplete list
...
... and add a generic explanation for them instead. Each example file
should contain its own description these days.
2015-11-25 10:49:22 +01: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 Stenberg
98acebb526
TODO: TCP Fast Open
2015-11-23 10:58:12 +01:00
Steve Holme
06b288a72d
examples: Added website parse-able descriptions to the e-mail examples
2015-11-22 11:55:10 +00:00
Steve Holme
d55f9071fb
TODO: Added another 'multi-interface' idea
2015-11-21 17:59:14 +00:00
Steve Holme
c90e348579
examples: Fixed compilation warnings
...
pop3-multi.c:96:5: warning: implicit declaration of function 'memset'
imap-multi.c:96:5: warning: implicit declaration of function 'memset'
http2-download.c:226:5: warning: implicit declaration of function 'memset'
http2-upload.c:290:5: warning: implicit declaration of function 'memset'
http2-upload.c:290:5: warning: implicit declaration of function 'memset'
2015-11-21 01:47:02 +00:00
Daniel Stenberg
ad6f6e17d3
TODO: remove duplicated title
2015-11-20 09:37:11 +01:00
Daniel Stenberg
0ddc59be0a
TODO: added two more libcurl ideas
...
Moved some ideas from "next major" to just ordinary ideas since we can
always add new things while keeping the old without doing a "next
major".
2015-11-20 08:39:59 +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
MaxGiting
05cd55f229
FAQ: Grammar changes
...
Closes https://github.com/bagder/curl/pull/533
2015-11-18 23:00:50 -05: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
Daniel Stenberg
6225c48a03
ROADMAP: remove two items already done
2015-11-09 09:05:43 +01: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
748ffc77c6
curl.1: remove the overlap --range example
...
... it is just weird to include by default even if it still works.
2015-11-06 15:03:00 +01: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
Daniel Stenberg
9b87078d55
curl.1: -E: s/private certificate/client certificate
...
... as the certificate is strictly speaking not private.
Reported-by: John Levon
2015-10-28 13:17:54 +01:00
Daniel Stenberg
ea2c959db4
DISTRO-DILEMMA: removed
...
Out of date and not kept accurate. It was sort of a problem of the past
anyway.
2015-10-26 16:31:03 +01:00
Daniel Stenberg
b1fc8c0e97
curl.1: --ignore-content-length now works for FTP too
2015-10-23 15:24:31 +02: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
Daniel Stenberg
5fecdc26f7
copyrights: update Gisle Vanem's email
2015-10-20 13:33:01 +02:00
Jonas Minnberg
fe7590f729
vtls: added support for mbedTLS
...
closes #496
2015-10-20 07:57:24 +02:00
Dan Fandrich
db532eff1e
docs/INSTALL: Updated example minimal binary sizes
2015-10-12 23:47:10 +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
Daniel Stenberg
645fc44764
RELEASE-PROCEDURE: add the github HTTPS download step
2015-10-07 14:46:49 +02:00
Daniel Stenberg
2c000d91f3
THANKS: 19 new contributors from the 7.45.0 announcement
2015-10-07 10:12:39 +02:00
rouzier
b1d55997e5
hiperfifo: fix the pointer passed to WRITEDATA
...
Closes https://github.com/bagder/curl/pull/471
2015-10-04 17:16:14 -04: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
Daniel Stenberg
67ae07c2e0
TODO: 5.7 More compressions
...
Like for example brotli, as being implemented in Firefox now.
2015-09-22 10:53:55 +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
5fde69cdc3
KNOWN_BUGS: 91 "curl_easy_perform hangs with imap and PolarSSL"
...
Closes #334
2015-09-20 13:34:16 +02:00
Daniel Stenberg
443014e905
KNOWN_BUGS: add link to #85
2015-09-20 13:31:22 +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
4ceddcf8ca
curl.1: update RFC references
2015-09-03 19:52:23 +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
Daniel Stenberg
e7d171da6b
KNOWN_BUGS: #2 , not reading a HEAD response-body is not a bug
...
... since HTTP is forbidden to return any such.
2015-08-24 12:56:20 +02:00
Daniel Stenberg
874413b3e1
KNOWN_BUGS: #78 zero-length files is already fixed!
2015-08-24 12:53:38 +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
Daniel Kahn Gillmor
31673ff517
curl.1: Document weaknesses in SSLv2 and SSLv3
...
Acknowledge that SSLv3 is also widely considered to be insecure.
Also, provide references for people who want to know more about why it's
insecure.
2015-08-15 22:53:46 +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
Daniel Stenberg
7332ac565c
THANKS: remove duplicate name
2015-08-12 08:34:55 +02:00
Daniel Stenberg
105828a309
THANKS-filter: merge Todd's names
2015-08-12 08:32:10 +02:00
Daniel Stenberg
2bcd3ef7b2
THANKS: 13 new contributors from the 7.44.0 RELEASE-NOTES
2015-08-12 08:21:44 +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
Viktor Szakats
9ee40ce2ab
build: refer to fixed libidn versions
...
closes #371
2015-08-10 23:20:18 +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
Steve Holme
8b1d00ac1a
INSTALL: Minor formatting correction in 'Legacy Windows and SSL' section
...
...as well as some rewording.
2015-07-30 16:59:55 +01: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
Daniel Stenberg
14b9e780d4
TODO: improve how curl works in a windows console window
...
Closes #322 for now
2015-07-26 00:48:55 +02:00
Daniel Stenberg
8204844f47
1.11 minimize dependencies with dynamicly loaded modules
...
Closes #349 for now
2015-07-26 00:45:22 +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
Jay Satiro
8f0178a56b
examples: Fix typo in multi-single.c
2015-07-11 02:32:53 -04:00
55b78c5ae9
SSL: Pinned public key hash support
2015-07-01 19:43:47 +02:00
Daniel Stenberg
c00b18d540
examples: provide <DESC> sections
2015-07-01 11:43:12 +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
8208dd3b22
SSL-PROBLEMS: mention WinSSL problems in WinXP
2015-06-29 15:03:56 +02:00
Daniel Stenberg
0c46abd79a
CODE_OF_CONDUCT.md: added
...
Just to underscore how we treat each other in this project. Nothing new
really, but could be useful for newcomers and outsiders to see our
values.
2015-06-29 11:35:13 +02: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
bf445b6e12
http2-serverpush.c: example code
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
Jay Satiro
6842afbf44
INSTALL: Advise use of non-native SSL for Windows <= XP
...
Advise that WinSSL in versions <= XP will not be able to connect to
servers that no longer support the legacy handshakes and algorithms used
by those versions, and to use an alternate backend like OpenSSL instead.
Bug: https://github.com/bagder/curl/issues/253
Reported-by: zenden2k <zenden2k@gmail.com>
2015-06-20 18:45:25 -04: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
2546134b97
TODO: Support IDNA2008
2015-06-18 16:32:47 +02:00
Daniel Stenberg
0e7d76d6a8
examples: more descriptions
2015-06-18 11:38:54 +02:00
Daniel Stenberg
26583a62ab
examples: add descriptions with <DESC>
...
Using this fixed format for example descriptions, we can generate a
better list on the web site.
2015-06-18 10:17:02 +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
Daniel Stenberg
bdf89d80ca
THANKS: updated with 7.43.0 names
2015-06-17 07:43:13 +02:00
Paul Oliver
28f4fc5272
Fix typo in docs
...
s/curret/current/
2015-06-16 12:16:55 +02:00
Viktor Szakats
45f21e0f37
docs: update URLs
2015-06-16 09:08:00 +02:00
Viktor Szakats
4fd187c677
HTTP2.md: use SSL/TLS IETF URLs
2015-06-15 11:39:41 +02:00
Viktor Szakats
496e96c242
LICENSE-MIXING: update URLs
...
* use SSL/TLS where available
* follow permanent redirects
2015-06-15 11:37:55 +02:00
Daniel Stenberg
bb5b29ec14
LICENSE-MIXING: refreshed
2015-06-15 10:57:43 +02:00
Daniel Stenberg
75ba107767
curl_easy_duphandle: see also *reset
2015-06-15 10:37:38 +02:00
Daniel Stenberg
45bad4ac97
curl.1: netrc is in man section 5
2015-06-15 08:28:42 +02:00
Daniel Stenberg
f3288196ff
curl.1: small format fix
...
use \fI-style instead of .BR for references
2015-06-15 08:26:37 +02:00
Jay Satiro
dd39a67101
curl_multi_info_read.3: fix example formatting
2015-06-13 23:25:53 -04:00
Daniel Stenberg
da08a204c2
BINDINGS: there's a new R binding in town!
2015-06-13 23:10:23 +02:00
Daniel Stenberg
a9ed0fd6cb
BINDINGS: added the Xojo binding
2015-06-11 23:33:49 +02:00
Daniel Stenberg
4a7feea31a
curl_easy_cleanup.3: provide more SEE ALSO
2015-06-11 08:32:11 +02:00
Daniel Stenberg
a5fb9151ee
VERSIONS: now using markdown
2015-06-10 00:21:06 +02:00
Daniel Stenberg
f348b2d3bc
RELEASE-PROCEDURE: remove ascii logo at the top of file
2015-06-10 00:16:48 +02:00
Daniel Stenberg
1514f3506b
INTERNALS: absorbed docs/LIBCURL-STRUCTS
2015-06-10 00:11:54 +02:00
Daniel Stenberg
55f3eb588d
INTERNALS: cat lib/README* >> INTERNALS
...
and a conversion to markdown. Removed the lib/README.* files. The idea
being to move toward having INTERNALS as the one and only "book" of
internals documentation.
Added a TOC to top of the document.
2015-06-09 23:57:22 +02:00
Daniel Stenberg
eaeeed2e8f
fopen.c: fix a few compiler warnings
2015-06-08 13:47:33 +02:00
Ville Skyttä
56b7663f73
docs: Spelling fixes
2015-06-08 13:43:31 +02:00
Ville Skyttä
025dbe46df
docs: man page indentation and syntax fixes
2015-06-08 13:37:14 +02:00
Daniel Stenberg
8f4791440a
BINDINGS: update several URLs
...
Stop linking to the curl.haxx.se anchor pages, they are usually only
themselves pointers to the real page so better point there directly
instead.
2015-06-05 09:15:40 +02:00
Daniel Stenberg
6befade68f
BINDINGS: the curl-rust binding
2015-06-05 08:55:19 +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
Daniel Stenberg
7c17b58eec
LIBCURL-STRUCTS: clarify for multiplexing
2015-06-04 22:43:54 +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
001ab7d860
RELEASE-PROCEDURE: refreshed 'coming dates'
2015-06-03 14:44:04 +02: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