]>
granicus.if.org Git - curl/log
Daniel Stenberg [Sun, 25 Dec 2016 09:58:08 +0000 (10:58 +0100)]
cmdline-opts/page-footer: add three more exit codes
... and regenerated curl.1
Daniel Stenberg [Sun, 25 Dec 2016 09:36:29 +0000 (10:36 +0100)]
formdata: use NULL, not 0, when returning pointers
Daniel Stenberg [Sun, 25 Dec 2016 09:35:34 +0000 (10:35 +0100)]
ftp: failure to resolve proxy should return that error code
Daniel Stenberg [Sun, 25 Dec 2016 00:13:12 +0000 (01:13 +0100)]
configure: accept --with-libidn2 instead
... which the help text already implied since we switched to libidn2
from libidn in commit
9c91ec778104ae3b back in October 2016.
Reported-by: Christian Weisgerber
Bug: https://curl.haxx.se/mail/lib-2016-12/0110.html
Daniel Stenberg [Thu, 22 Dec 2016 23:07:36 +0000 (00:07 +0100)]
test1282: verify the ftp-gss check
Daniel Stenberg [Thu, 22 Dec 2016 23:06:25 +0000 (00:06 +0100)]
ftp-gss: check for init before use
To avoid dereferencing a NULL pointer.
Reported-by: Daniel Romero
Jay Satiro [Sat, 24 Dec 2016 18:49:25 +0000 (13:49 -0500)]
build-wolfssl: Sync config with wolfSSL 3.10
wolfSSL configure script relevant changes from 3.9 to 3.10:
- DES3 no longer enabled by default
- Shamir no longer enabled by default
- Extended master secret enabled by default
- RSA and ECC timing protections enabled by default
For backwards compatibility I enabled DES3 and ECC shamir config options
(ie no change from 3.9), and the other changes are included.
Jay Satiro [Sat, 24 Dec 2016 18:25:03 +0000 (13:25 -0500)]
cyassl: use time_t instead of long for timeout
Daniel Stenberg [Fri, 23 Dec 2016 22:47:33 +0000 (23:47 +0100)]
bump: toward next release
Daniel Stenberg [Fri, 23 Dec 2016 22:32:43 +0000 (23:32 +0100)]
http: remove "Curl_http_done: called premature" message
... it only confuses people.
Daniel Stenberg [Fri, 23 Dec 2016 14:29:01 +0000 (15:29 +0100)]
openssl-random: check return code when asking for random
and fail appropriately if it returns error
Daniel Stenberg [Fri, 23 Dec 2016 14:01:53 +0000 (15:01 +0100)]
gnutls-random: check return code for failed random
Daniel Stenberg [Thu, 22 Dec 2016 07:53:13 +0000 (08:53 +0100)]
RELEASE-NOTES: curl 7.52.1
Daniel Stenberg [Thu, 22 Dec 2016 08:49:02 +0000 (09:49 +0100)]
lib557.c: use a shorter MAXIMIZE representation
Since several compilers had problems with the previous one
Reported-by: Ray Satiro
Bug: https://curl.haxx.se/mail/lib-2016-12/0098.html
Daniel Stenberg [Wed, 21 Dec 2016 14:10:14 +0000 (15:10 +0100)]
runtests: remove the valgrind parser
Old legacy parsing that 1) hid problems for us and 2) probably isn't
needed anymore.
Kamil Dudka [Wed, 21 Dec 2016 14:09:31 +0000 (15:09 +0100)]
randit: store the value in the buffer
Daniel Stenberg [Wed, 21 Dec 2016 22:40:41 +0000 (23:40 +0100)]
tests/Makefile: run checksrc on debug builds
... just like we already do in src/ and lib/
Daniel Stenberg [Wed, 21 Dec 2016 22:37:05 +0000 (23:37 +0100)]
lib557: move the "enable LONGLINE" to allow more long lines
This file is riddled with them...
Daniel Stenberg [Wed, 21 Dec 2016 11:44:09 +0000 (12:44 +0100)]
bump: toward next release
Marcel Raad [Wed, 21 Dec 2016 10:05:13 +0000 (11:05 +0100)]
lib: fix MSVC compiler warnings
Visual C++ complained:
warning C4267: '=': conversion from 'size_t' to 'long', possible loss of data
warning C4701: potentially uninitialized local variable 'path' used
Daniel Stenberg [Mon, 19 Dec 2016 08:12:43 +0000 (09:12 +0100)]
THANKS: 13 new contributors from 7.52.0
Daniel Stenberg [Mon, 19 Dec 2016 08:12:35 +0000 (09:12 +0100)]
RELEASE-NOTES: 7.52.0
Daniel Stenberg [Tue, 20 Dec 2016 13:46:47 +0000 (14:46 +0100)]
ssh: inhibit coverity warning with (void)
CID
1397391 (#1 of 1): Unchecked return value (CHECKED_RETURN)
Daniel Stenberg [Mon, 19 Dec 2016 08:19:51 +0000 (09:19 +0100)]
Curl_recv_has_postponed_data: silence compiler warnings
Follow-up to
d00f2a8f2
Jay Satiro [Mon, 19 Dec 2016 07:31:59 +0000 (02:31 -0500)]
tests: checksrc compliance
Jay Satiro [Thu, 8 Dec 2016 21:32:36 +0000 (16:32 -0500)]
http_proxy: Fix proxy CONNECT hang on pending data
- Check for pending data before waiting on the socket.
Bug: https://github.com/curl/curl/issues/1156
Reported-by: Adam Langley
Daniel Stenberg [Mon, 19 Dec 2016 07:19:44 +0000 (08:19 +0100)]
cmdline-opts/tlsv1.d: rephrased
Dan McNulty [Fri, 9 Sep 2016 21:56:02 +0000 (16:56 -0500)]
schannel: fix wildcard cert name validation on Win CE
Fixes a few issues in manual wildcard cert name validation in
schannel support code for Win32 CE:
- when comparing the wildcard name to the hostname, the wildcard
character was removed from the cert name and the hostname
was checked to see if it ended with the modified cert name.
This allowed cert names like *.com to match the connection
hostname. This violates recommendations from RFC 6125.
- when the wildcard name in the certificate is longer than the
connection hostname, a buffer overread of the connection
hostname buffer would occur during the comparison of the
certificate name and the connection hostname.
Daniel Stenberg [Tue, 8 Nov 2016 14:32:37 +0000 (15:32 +0100)]
printf: fix floating point buffer overflow issues
... and add a bunch of floating point printf tests
Daniel Stenberg [Sun, 18 Dec 2016 22:46:17 +0000 (23:46 +0100)]
config-amigaos.h: (embarrassed) made the line shorter
Daniel Stenberg [Sun, 18 Dec 2016 22:45:22 +0000 (23:45 +0100)]
config-amigaos.h: fix bug report email reference
Daniel Stenberg [Sun, 18 Dec 2016 16:15:09 +0000 (17:15 +0100)]
RELEASE-NOTES: synced with
4517158abfeba
Daniel Stenberg [Sun, 18 Dec 2016 15:44:45 +0000 (16:44 +0100)]
CIPHERS.md: backtick the names to show underscores fine
Daniel Stenberg [Sun, 18 Dec 2016 15:29:59 +0000 (16:29 +0100)]
form-string.d: fix format mistake
and regenerated curl.1
Reported-by: Gisle Vanem
Michael Kaufmann [Sun, 18 Dec 2016 12:09:51 +0000 (13:09 +0100)]
openssl: simplify expression in Curl_ossl_version
Michael Kaufmann [Sun, 18 Dec 2016 11:51:48 +0000 (12:51 +0100)]
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
Isaac Boukris [Tue, 6 Dec 2016 22:39:08 +0000 (00:39 +0200)]
Curl_getconnectinfo: avoid checking if the connection is closed
It doesn't benefit us much as the connection could get closed at
any time, and also by checking we lose the ability to determine
if the socket was closed by reading zero bytes.
Reported-by: Michael Kaufmann
Closes https://github.com/curl/curl/pull/1134
Daniel Stenberg [Sun, 18 Dec 2016 00:08:55 +0000 (01:08 +0100)]
CIPHERS.md: attempt to document TLS cipher names
As the official docs seems really hard to keep track of and link to over
time
Daniel Stenberg [Sat, 17 Dec 2016 23:48:15 +0000 (00:48 +0100)]
curl.1: generated after
6cce4dbf830
Daniel Stenberg [Sat, 17 Dec 2016 23:42:36 +0000 (00:42 +0100)]
cmdline-opts/post30X.d: fix the RFC references
Daniel Stenberg [Sat, 17 Dec 2016 22:57:34 +0000 (23:57 +0100)]
curl.1: regenerated
Fixed trailing whitespace and numerous formatting glitches
Daniel Stenberg [Sat, 17 Dec 2016 22:56:50 +0000 (23:56 +0100)]
cmdline-opts: formatting fixes
Daniel Stenberg [Sat, 17 Dec 2016 22:50:14 +0000 (23:50 +0100)]
curl_easy_setopt.3: removed CURLOPT_SOCKS_PROXYTYPE
Daniel Stenberg [Sat, 17 Dec 2016 22:49:11 +0000 (23:49 +0100)]
tool_getparam.c: make comments use the up-to-date option names
Daniel Stenberg [Sat, 17 Dec 2016 22:48:13 +0000 (23:48 +0100)]
manpage-scan.pl: allow deprecated options to get removed from curl.1
--krb4, --ftp-ssl and --ftp-ssl-reqd no longer need to be documented in the
man page
Daniel Stenberg [Sat, 17 Dec 2016 17:14:01 +0000 (18:14 +0100)]
cmdline-opts/gen.pl: trim off trailing spaces
Daniel Stenberg [Sat, 17 Dec 2016 17:13:47 +0000 (18:13 +0100)]
cmdline-opts/proxy-tlsuser.d: remove trailing .d
Daniel Stenberg [Sat, 17 Dec 2016 17:09:28 +0000 (18:09 +0100)]
curl_easy_setopt.3: CURLOPT_PRE_PROXY instead of CURLOPT_SOCKS_PROXY
Daniel Stenberg [Sat, 17 Dec 2016 17:00:49 +0000 (18:00 +0100)]
symbols: removed two, added one
Daniel Stenberg [Fri, 16 Dec 2016 23:23:04 +0000 (00:23 +0100)]
cmdline-opts: include the man page split up files in the dist
Daniel Stenberg [Fri, 16 Dec 2016 21:02:47 +0000 (22:02 +0100)]
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.
Daniel Stenberg [Fri, 16 Dec 2016 21:01:01 +0000 (22:01 +0100)]
cmdline-opts: added some missing info
Daniel Stenberg [Fri, 16 Dec 2016 15:59:08 +0000 (16:59 +0100)]
CURLINFO_SSL_VERIFYRESULT.3: language
Daniel Stenberg [Fri, 16 Dec 2016 15:57:39 +0000 (16:57 +0100)]
HTTPS-PROXY docs: update/polish
Daniel Stenberg [Fri, 16 Dec 2016 15:07:59 +0000 (16:07 +0100)]
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
Daniel Stenberg [Fri, 16 Dec 2016 15:02:08 +0000 (16:02 +0100)]
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.
Daniel Stenberg [Fri, 16 Dec 2016 14:34:14 +0000 (15:34 +0100)]
curl: normal socks proxies still use CURLOPT_PROXY
... the newly introduced CURLOPT_SOCKS_PROXY is special and should be
asked for specially. (Needs new code.)
Unified proxy type to a single variable in the config struct.
Daniel Stenberg [Fri, 16 Dec 2016 14:10:19 +0000 (15:10 +0100)]
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.
Daniel Stenberg [Thu, 15 Dec 2016 16:26:23 +0000 (17:26 +0100)]
curl_multi_socket.3: fix typo
Daniel Stenberg [Wed, 14 Dec 2016 00:29:44 +0000 (01:29 +0100)]
checksrc: warn for assignments within if() expressions
... they're already frowned upon in our source code style guide, this
now enforces the rule harder.
Daniel Stenberg [Tue, 13 Dec 2016 22:34:59 +0000 (23:34 +0100)]
checksrc: stricter no-space-before-paren enforcement
In order to make the code style more uniform everywhere
Daniel Stenberg [Sun, 11 Dec 2016 18:37:44 +0000 (19:37 +0100)]
ISSUE_TEMPLATE: try mentioning known bugs/todo in new issue template
Daniel Stenberg [Thu, 8 Dec 2016 20:08:35 +0000 (21:08 +0100)]
RELEASE-NOTES: synced with
71a55534fa6
Adam Langley [Wed, 7 Dec 2016 20:18:21 +0000 (12:18 -0800)]
openssl: don't use OpenSSL's ERR_PACK.
ERR_PACK is an internal detail of OpenSSL. Also, when using it, a
function name must be specified which is overly specific: the test will
break whenever OpenSSL internally change things so that a different
function creates the error.
Closes #1157
Dan Fandrich [Mon, 5 Dec 2016 20:38:15 +0000 (21:38 +0100)]
test2032: Mark test as flaky
Jeremy Pearson [Sat, 3 Dec 2016 11:07:54 +0000 (21:07 +1000)]
libcurl-multi.3: typo
Closes https://github.com/curl/curl/pull/1153
Dan Fandrich [Fri, 2 Dec 2016 14:17:47 +0000 (15:17 +0100)]
test1281: added http as a required feature
Daniel Stenberg [Fri, 2 Dec 2016 10:25:35 +0000 (11:25 +0100)]
curl: support zero-length argument strings in config files
... like 'user-agent = ""'
Adjusted test 71 to verify.
Daniel Stenberg [Tue, 29 Nov 2016 23:31:23 +0000 (00:31 +0100)]
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.
Daniel Stenberg [Tue, 29 Nov 2016 23:10:18 +0000 (00:10 +0100)]
tests: fix CONNECT test cases to be more strict
... as they broke with the cleaned up CONNECT handling
Daniel Stenberg [Tue, 29 Nov 2016 23:09:13 +0000 (00:09 +0100)]
CONNECT: read responses one byte at a time
... so that it doesn't read data that is actually coming from the
remote. 2xx responses have no body from the proxy, that data is from the
peer.
Fixes #1132
Daniel Stenberg [Tue, 29 Nov 2016 15:22:35 +0000 (16:22 +0100)]
CONNECT: reject TE or CL in 2xx responses
A server MUST NOT send any Transfer-Encoding or Content-Length header
fields in a 2xx (Successful) response to CONNECT. (RFC 7231 section
4.3.6)
Also fixes the three test cases that did this.
Daniel Stenberg [Thu, 1 Dec 2016 09:32:13 +0000 (10:32 +0100)]
URL parser: reject non-numerical port numbers
Test 1281 added to verify
Dan Fandrich [Wed, 30 Nov 2016 21:38:45 +0000 (22:38 +0100)]
runtests: made Servers: output be more consistent by removing OFF
Dan Fandrich [Wed, 30 Nov 2016 20:57:55 +0000 (21:57 +0100)]
cyassl: fixed typo introduced in
4f8b1774
Michael Kaufmann [Wed, 30 Nov 2016 10:51:29 +0000 (11:51 +0100)]
CURLOPT_CONNECT_TO: Skip non-matching "connect-to" entries properly
If a port number in a "connect-to" entry does not match, skip this
entry instead of connecting to port 0.
If a port number in a "connect-to" entry matches, use this entry
and look no further.
Reported-by: Jay Satiro
Assisted-by: Jay Satiro, Daniel Stenberg
Closes #1148
Daniel Stenberg [Thu, 17 Nov 2016 22:46:36 +0000 (23:46 +0100)]
BUGS: describe bug handling process
Daniel Stenberg [Mon, 28 Nov 2016 22:40:48 +0000 (23:40 +0100)]
RELEASE-NOTES: synced with
19613fb3
Jay Satiro [Mon, 28 Nov 2016 19:08:35 +0000 (14:08 -0500)]
http2: check nghttp2_session_set_local_window_size exists
The function only exists since nghttp2 1.12.0.
Bug: https://github.com/curl/curl/commit/
a4d8888 #commitcomment-
19985676
Reported-by: Michael Kaufmann
Anders Bakken [Mon, 14 Nov 2016 23:32:00 +0000 (15:32 -0800)]
http2: Fix crashes when parent stream gets aborted
Closes #1125
Daniel Stenberg [Mon, 28 Nov 2016 00:01:13 +0000 (01:01 +0100)]
cmdline-docs: more options converted and fixed
Now all options are in the new system.
Daniel Stenberg [Sun, 27 Nov 2016 23:54:16 +0000 (00:54 +0100)]
gen: include footer in mainpage output
Jay Satiro [Mon, 28 Nov 2016 08:06:04 +0000 (03:06 -0500)]
lib1536: checksrc compliance
Daniel Stenberg [Sun, 27 Nov 2016 23:50:25 +0000 (00:50 +0100)]
cmdline-opts: more command line options documented
Moved over to the new format
Daniel Stenberg [Sun, 27 Nov 2016 23:07:45 +0000 (00:07 +0100)]
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.
Daniel Stenberg [Sat, 26 Nov 2016 23:21:15 +0000 (00:21 +0100)]
CURLOPT_PROXY_*.3: polished some proxy option man pages
Patrick Monnerat [Sat, 26 Nov 2016 17:52:30 +0000 (18:52 +0100)]
os400: support CURLOPT_PROXY_PINNEDPUBLICKEY
Also define it in ILE/RPG binding.
Okhin Vasilij [Fri, 25 Nov 2016 09:27:22 +0000 (16:27 +0700)]
curl_version_info: add CURL_VERSION_HTTPS_PROXY
Closes #1142
Frank Gevaerts [Fri, 25 Nov 2016 21:32:32 +0000 (22:32 +0100)]
tests: Add some testcases for recent new features.
Add missing tests for CURLINFO_SCHEME, CURLINFO_PROTOCOL, %{scheme},
and %{http_version}
closes #1143
Frank Gevaerts [Fri, 25 Nov 2016 21:33:59 +0000 (22:33 +0100)]
curl_easy_reset: clear info for CULRINFO_PROTOCOL and CURLINFO_SCHEME
Daniel Stenberg [Fri, 25 Nov 2016 15:40:32 +0000 (16:40 +0100)]
CURLOPT_PROXY_CAINFO.3: clarify proxy use
Daniel Stenberg [Fri, 25 Nov 2016 15:36:27 +0000 (16:36 +0100)]
CURLOPT_PROXY_CRLFILE.3: clarify https proxy and availability
Daniel Stenberg [Fri, 25 Nov 2016 13:17:22 +0000 (14:17 +0100)]
curl_easy_setopt.3: add CURLOPT_PROXY_PINNEDPUBLICKEY
Follow-up to
4f8b17743d7c55a
Daniel Stenberg [Fri, 25 Nov 2016 10:14:58 +0000 (11:14 +0100)]
docs: include all opts man pages in dist
Sorted the lists too.
... and include the new ones in the PDF and HTML generation targets
Thomas Glanzmann [Fri, 25 Nov 2016 09:47:25 +0000 (10:47 +0100)]
HTTPS Proxy: Implement CURLOPT_PROXY_PINNEDPUBLICKEY
Thomas Glanzmann [Thu, 24 Nov 2016 18:40:30 +0000 (19:40 +0100)]
url: proxy: Use 443 as default port for https proxies
Daniel Stenberg [Fri, 25 Nov 2016 08:52:22 +0000 (09:52 +0100)]
TODO: removed "HTTPS proxy"
Jan-E [Fri, 25 Nov 2016 05:06:14 +0000 (06:06 +0100)]
winbuild: add config option ENABLE_NGHTTP2
Closes #1141
Jay Satiro [Fri, 25 Nov 2016 03:25:14 +0000 (22:25 -0500)]
tool_urlglob: Improve sanity check in glob_range
Prior to this change we depended on errno if strtol could not perform a
conversion. POSIX says EINVAL *may* be set. Some implementations like
Microsoft's will not set it if there's no conversion.
Ref: https://github.com/curl/curl/commit/
ee4f7660 #commitcomment-
19658189
Jay Satiro [Fri, 25 Nov 2016 03:15:14 +0000 (22:15 -0500)]
tool_help: Change description for --retry-connrefused
Ref: https://github.com/curl/curl/pull/1064#issuecomment-
260052409