]>
granicus.if.org Git - curl/log
Daniel Stenberg [Fri, 13 Jan 2017 16:28:49 +0000 (17:28 +0100)]
RELEASE-NOTES: synced with
a7c73ae309c
Isaac Boukris [Sun, 8 Jan 2017 22:51:08 +0000 (00:51 +0200)]
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
Daniel Stenberg [Fri, 13 Jan 2017 15:23:16 +0000 (16:23 +0100)]
write-out.d: 'time_total' is not always shown with ms precision
We have higher resolution since 7.52.0
Daniel Stenberg [Fri, 13 Jan 2017 14:34:01 +0000 (15:34 +0100)]
next.d: --trace and --trace-ascii are also global
Isaac Boukris [Fri, 13 Jan 2017 13:07:52 +0000 (14:07 +0100)]
curl: reset the easy handle at --next
So that only "global" options (verbose mostly) survive into the next
transfer, and the others have to be set again unless default is fine.
Frank Gevaerts [Wed, 21 Dec 2016 13:48:35 +0000 (14:48 +0100)]
docs: Add note about libcurl copying strings to CURLOPT_* manpages
Closes #1169
Frank Gevaerts [Wed, 21 Dec 2016 13:28:02 +0000 (14:28 +0100)]
CURLOPT_PREQUOTE.3: takes a struct curl_slist*, not a char*
Daniel Stenberg [Fri, 13 Jan 2017 13:49:11 +0000 (14:49 +0100)]
IDN: Use TR46 non-transitional
Assisted-by: Tim Rühsen
Daniel Stenberg [Fri, 13 Jan 2017 13:31:40 +0000 (14:31 +0100)]
IDN: revert use of the transitional option
It made the german ß get converted to ss, IDNA2003 style, and we can't
have that for the .de TLD - a primary reason for our switch to IDNA2008.
Test 165 verifies.
Tim Rühsen [Fri, 13 Jan 2017 10:50:01 +0000 (11:50 +0100)]
IDN: Fix compile time detection of linidn2 TR46
Follow-up to
f30cbcac1
Closes #1207
ERAMOTO Masaya [Mon, 19 Dec 2016 07:27:24 +0000 (16:27 +0900)]
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
ERAMOTO Masaya [Fri, 16 Dec 2016 12:26:18 +0000 (21:26 +0900)]
url: Refactor detect_proxy()
If defined CURL_DISABLE_HTTP, detect_proxy() returned NULL. If not
defined CURL_DISABLE_HTTP, detect_proxy() checked noproxy list.
Thus refactor to set proxy to NULL instead of calling detect_proxy() if
define CURL_DISABLE_HTTP, and refactor to call detect_proxy() if not
define CURL_DISABLE_HTTP and the host is not in the noproxy list.
ERAMOTO Masaya [Fri, 25 Nov 2016 04:26:51 +0000 (13:26 +0900)]
url: Fix NO_PROXY env var to work properly with --proxy option.
The combination of --noproxy option and http_proxy env var works well
both for proxied hosts and non-proxied hosts.
However, when combining NO_PROXY env var with --proxy option,
non-proxied hosts are not reachable while proxied host is OK.
This patch allows us to access non-proxied hosts even if using NO_PROXY
env var with --proxy option.
Tim Rühsen [Fri, 13 Jan 2017 08:36:33 +0000 (09:36 +0100)]
IDN: Use TR46 'transitional' for toASCII translations
References: http://unicode.org/faq/idn.html
http://unicode.org/reports/tr46
Closes #1206
railsnewbie257 [Thu, 12 Jan 2017 05:48:22 +0000 (23:48 -0600)]
docs: FAQ MAIL-ETIQUETTE language fixes
Closes #1194
Marcus Hoffmann [Wed, 11 Jan 2017 13:42:41 +0000 (14:42 +0100)]
gnutls: check for alpn and ocsp in configure
Check for presence of gnutls_alpn_* and gnutls_ocsp_* functions during
configure instead of relying on the version number. GnuTLS has options
to turn these features off and we ca just work with with such builds
like we work with older versions.
Signed-off-by: Marcus Hoffmann <m.hoffmann@cartelsol.com>
Closes #1204
Jay Satiro [Sun, 13 Nov 2016 20:27:57 +0000 (15:27 -0500)]
url: Fix parsing for when 'file' is the default protocol
Follow-up to
3463408 .
Prior to
3463408 file:// hostnames were silently stripped.
Prior to this commit it did not work when a schemeless url was used with
file as the default protocol.
Ref: https://curl.haxx.se/mail/lib-2016-11/0081.html
Closes https://github.com/curl/curl/pull/1124
Also fix for drive letters:
- Support --proto-default file c:/foo/bar.txt
- Support file://c:/foo/bar.txt
- Fail when a file:// drive letter is detected and not MSDOS/Windows.
Bug: https://github.com/curl/curl/issues/1187
Reported-by: Anatol Belski
Assisted-by: Anatol Belski
Daniel Stenberg [Thu, 12 Jan 2017 16:41:26 +0000 (17:41 +0100)]
rand: make it work without TLS backing
Regression introduced in commit
f682156a4fc6c4
Reported-by: John Kohl
Bug: https://curl.haxx.se/mail/lib-2017-01/0055.html
Jay Satiro [Thu, 12 Jan 2017 07:22:41 +0000 (02:22 -0500)]
STARTTLS: Don't print response character in denied messages
Both IMAP and POP3 response characters are used internally, but when
appended to the STARTTLS denial message likely could confuse the user.
Closes https://github.com/curl/curl/pull/1203
Jay Satiro [Thu, 12 Jan 2017 07:06:03 +0000 (02:06 -0500)]
smtp: Fix STARTTLS denied error message
- Format the numeric denial code as an integer instead of a character.
Daniel Stenberg [Wed, 11 Jan 2017 11:15:37 +0000 (12:15 +0100)]
http2_send: avoid unsigned integer wrap around
... when checking for a too large request.
Jiri Malak [Mon, 9 Jan 2017 20:39:25 +0000 (21:39 +0100)]
cmake: Fix passing _WINSOCKAPI_ macro to compiler
Define _WINSOCKAPI_ blank rather than to 1 in order to match the value
used by Microsoft's winsock header files.
Closes https://github.com/curl/curl/pull/1195
Daniel Stenberg [Sun, 8 Jan 2017 16:50:07 +0000 (17:50 +0100)]
sws: retry send() on EWOULDBLOCK
Fixes spurious test 1060 and 1061 failures on OpenBSD, Solaris and more.
Bug: https://curl.haxx.se/mail/lib-2017-01/0009.html
Reported-by: Christian Weisgerber
Daniel Stenberg [Mon, 9 Jan 2017 13:54:48 +0000 (14:54 +0100)]
RELEASE-NOTES: synced with
a41e8592d6b3e58
Daniel Stenberg [Sun, 8 Jan 2017 15:38:54 +0000 (16:38 +0100)]
examples: make the C++ examples follow our code style too
At least mostly, not counting // comments.
Aulddays [Sat, 7 Jan 2017 14:32:55 +0000 (22:32 +0800)]
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
Jiří Malák [Sun, 8 Jan 2017 12:39:06 +0000 (13:39 +0100)]
lib506: fix build for Open Watcom
Rename symbol lock to locks to not clash with OW CRTL function name.
Closes #1196
Daniel Stenberg [Sat, 7 Jan 2017 22:45:48 +0000 (23:45 +0100)]
ROADMAP: 2017 cleanup
Removed items already fixed, clarified a few others.
Daniel Stenberg [Sat, 7 Jan 2017 19:25:43 +0000 (20:25 +0100)]
COPYING: update the generic copyright year range
Daniel Stenberg [Sat, 7 Jan 2017 19:23:31 +0000 (20:23 +0100)]
docs/silent: mention --show-error in --silent description
Reported in #1190
Reported-by: Dan Jacobson
Daniel Stenberg [Sat, 7 Jan 2017 19:21:57 +0000 (20:21 +0100)]
docs/page-header: mention how to disable the progress meter
curl.1 is regenerated
Fixes #1190
Dan Fandrich [Fri, 6 Jan 2017 23:09:10 +0000 (00:09 +0100)]
wolfssl: display negotiated SSL version and cipher
Dan Fandrich [Fri, 6 Jan 2017 22:00:45 +0000 (23:00 +0100)]
wolfssl: support setting cipher list
Patrick Monnerat [Fri, 6 Jan 2017 16:43:57 +0000 (17:43 +0100)]
CIPHERS.md: document GSKit ciphers
peterpih [Wed, 4 Jan 2017 07:37:59 +0000 (01:37 -0600)]
TheArtOfHttpScripting: grammar
Nick Zitzmann [Tue, 3 Jan 2017 23:44:57 +0000 (17:44 -0600)]
darwinssl: --insecure overrides --cacert if both settings are in use
Fixes #1184
Jay Satiro [Mon, 2 Jan 2017 18:39:29 +0000 (13:39 -0500)]
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
Daniel Stenberg [Thu, 29 Dec 2016 10:30:12 +0000 (11:30 +0100)]
curl.h: CURLE_FUNCTION_NOT_FOUND is no longer in use
This error code was once introduced when some library was dynamically
loaded and a funciton within said library couldn't be found.
Daniel Stenberg [Thu, 29 Dec 2016 10:24:20 +0000 (11:24 +0100)]
content_encoding: change return code on a failure
Failure to decompress is now a write error instead of the weird
"function not found".
Daniel Stenberg [Thu, 29 Dec 2016 10:22:18 +0000 (11:22 +0100)]
page-footer: error 36 is protocol agnostic!
Jay Satiro [Fri, 11 Nov 2016 07:48:52 +0000 (02:48 -0500)]
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
Max Khon [Wed, 28 Dec 2016 12:10:59 +0000 (18:10 +0600)]
digest_sspi: copy terminating NUL as well
Curl_auth_decode_digest_http_message(): copy terminating NUL as later
Curl_override_sspi_http_realm() expects a NUL-terminated string.
Fixes #1180
Daniel Stenberg [Wed, 28 Dec 2016 10:49:00 +0000 (11:49 +0100)]
curl_formadd.3: CURLFORM_CONTENTSLENGTH not needed when chunked
Mentioned in #1013
Kyselgov E.N [Tue, 29 Nov 2016 12:19:54 +0000 (14:19 +0200)]
cmake: use crypt32.lib when building with OpenSSL on windows
Reviewed-by: Peter Wu
Closes #1149
Fixes #1147
Chris Araman [Fri, 23 Dec 2016 02:50:31 +0000 (18:50 -0800)]
darwinssl: fix CFArrayRef leak
Reviewed-by: Nick Zitzmann
Closes #1173
Chris Araman [Fri, 23 Dec 2016 02:27:17 +0000 (18:27 -0800)]
darwinssl: fix iOS build
Reviewed-by: Nick Zitzmann
Fixes #1172
Daniel Stenberg [Tue, 27 Dec 2016 21:02:14 +0000 (22:02 +0100)]
curl: remove superfluous include file
The <netinet/tcp.h> is a leftover from the past when TCP socket options
were set in this file. This include causes build issues on AIX 4.3.
Reported-by: Kim Minjoong
Closes #1178
Daniel Stenberg [Mon, 26 Dec 2016 20:12:44 +0000 (21:12 +0100)]
RELEASE-NOTES: synced with
a7b38c9dc98481e
Daniel Stenberg [Sun, 25 Dec 2016 23:06:33 +0000 (00:06 +0100)]
vtls: s/SSLEAY/OPENSSL
Fixed an old leftover use of the USE_SSLEAY define which would make a
socket get removed from the applications sockets to monitor when the
multi_socket API was used, leading to timeouts.
Bug: #1174
Daniel Stenberg [Sun, 25 Dec 2016 10:01:17 +0000 (11:01 +0100)]
docs/ciphers: link to our own new page about ciphers
... as the former ones always go stale!
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