]> granicus.if.org Git - curl/log
curl
8 years agoTODO: remove "Support TLS v1.3"
Daniel Stenberg [Fri, 27 Jan 2017 09:00:33 +0000 (10:00 +0100)]
TODO: remove "Support TLS v1.3"

Support is trickling in already.

8 years agoINTERNALS.md: language improvements
railsnewbie257 [Tue, 24 Jan 2017 15:14:59 +0000 (09:14 -0600)]
INTERNALS.md: language improvements

Closes #1226

8 years agotelnet: fix windows compiler warnings
Daniel Stenberg [Tue, 24 Jan 2017 07:45:25 +0000 (08:45 +0100)]
telnet: fix windows compiler warnings

Thumbs-up-by: Jay Satiro
Closes #1225

8 years agoVC: remove the makefile.vc6 build infra
Daniel Stenberg [Mon, 9 Jan 2017 23:29:14 +0000 (00:29 +0100)]
VC: remove the makefile.vc6 build infra

The winbuild/ build files is now the single MSVC makefile build choice.

Closes #1215

8 years agocmdline-opts/gen.pl: Open input files in CRLF mode
Jay Satiro [Mon, 16 Jan 2017 23:26:08 +0000 (18:26 -0500)]
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.

8 years agodocs/curl.1: generate from the cmdline-opts script
Daniel Stenberg [Wed, 16 Nov 2016 14:43:16 +0000 (15:43 +0100)]
docs/curl.1: generate from the cmdline-opts script

8 years agovtls: source indentation fix
Daniel Stenberg [Sun, 22 Jan 2017 11:00:28 +0000 (12:00 +0100)]
vtls: source indentation fix

8 years agocontri*.sh: cut off parentheses from names too
Daniel Stenberg [Fri, 20 Jan 2017 16:10:08 +0000 (17:10 +0100)]
contri*.sh: cut off parentheses from names too

8 years agoRELEASE-NOTES: synced with 01ab7c30bba6f
Daniel Stenberg [Fri, 20 Jan 2017 15:56:05 +0000 (16:56 +0100)]
RELEASE-NOTES: synced with 01ab7c30bba6f

8 years agovtls: fix PolarSSL non-blocking handling
Daniel Stenberg [Fri, 20 Jan 2017 09:46:05 +0000 (10:46 +0100)]
vtls: fix PolarSSL non-blocking handling

A regression brought in cb4e2be

Reported-by: Michael Kaufmann
Bug: https://github.com/curl/curl/issues/1174#issuecomment-274018791

8 years agovtls: fix mbedtls multi non blocking handshake.
Antoine Aubert [Fri, 20 Jan 2017 07:10:28 +0000 (08:10 +0100)]
vtls: fix mbedtls multi non blocking handshake.

When using multi, mbedtls handshake is in non blocking mode.  vtls must
set wait for read/write flags for the socket.

Closes #1223

8 years agoCURLOPT_BUFFERSIZE: support enlarging receive buffer
Richy Kim [Tue, 20 Dec 2016 10:48:15 +0000 (05:48 -0500)]
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

8 years agosws: use SOCKERRNO, not errno
Daniel Stenberg [Thu, 19 Jan 2017 22:03:59 +0000 (23:03 +0100)]
sws: use SOCKERRNO, not errno

Reported-by: Gisle Vanem
8 years agoKNOWN_BUGS: HTTP/2 server push enabled when no pushes can be accepted
Michael Kaufmann [Thu, 19 Jan 2017 19:56:25 +0000 (20:56 +0100)]
KNOWN_BUGS: HTTP/2 server push enabled when no pushes can be accepted

This has been implemented with commit 9ad034e.

8 years ago*.rc: escape non-ASCII/non-UTF-8 character for clarity
Viktor Szakats [Thu, 19 Jan 2017 11:35:48 +0000 (11:35 +0000)]
*.rc: escape non-ASCII/non-UTF-8 character for clarity

Closes https://github.com/curl/curl/pull/1217

8 years agodocs: non-blocking SSL handshake is now supported with NSS
Kamil Dudka [Thu, 19 Jan 2017 11:12:26 +0000 (12:12 +0100)]
docs: non-blocking SSL handshake is now supported with NSS

Implemented since curl-7_36_0-130-g8868a22

Reported-by: Fahim Chandurwala
8 years agoCURLOPT_CONNECT_TO: Fix compile warnings
Michael Kaufmann [Wed, 18 Jan 2017 12:01:37 +0000 (13:01 +0100)]
CURLOPT_CONNECT_TO: Fix compile warnings

Fix compile warnings that appeared only when curl has been configured
with '--disable-verbose'.

8 years agousercertinmem.c: improve the short description
Daniel Stenberg [Wed, 18 Jan 2017 07:09:09 +0000 (08:09 +0100)]
usercertinmem.c: improve the short description

8 years agoparseurl: move back buffer to function scope
Daniel Stenberg [Tue, 17 Jan 2017 23:01:03 +0000 (00:01 +0100)]
parseurl: move back buffer to function scope

Regression since 1d4202ad, which moved the buffer into a more narrow
scope, but the data in that buffer was used outside of that more narrow
scope.

Reported-by: Dan Fandrich
Bug: https://curl.haxx.se/mail/lib-2017-01/0093.html

8 years agoopenssl: Fix random generation
Jay Satiro [Tue, 17 Jan 2017 07:53:29 +0000 (02:53 -0500)]
openssl: Fix random generation

- Fix logic error in Curl_ossl_random.

Broken a few days ago in 807698d.

8 years agoTODO: share OpenSSL contexts
Daniel Stenberg [Tue, 17 Jan 2017 06:58:27 +0000 (07:58 +0100)]
TODO: share OpenSSL contexts

By supporting this, subsequent connects would load a lot less data from
disk.

Closes #1110

8 years agobump: next release will be 7.53.0
Daniel Stenberg [Mon, 16 Jan 2017 07:34:15 +0000 (08:34 +0100)]
bump: next release will be 7.53.0

8 years agonss: use the correct lock in nss_find_slot_by_name()
Kamil Dudka [Sun, 15 Jan 2017 12:10:43 +0000 (13:10 +0100)]
nss: use the correct lock in nss_find_slot_by_name()

8 years agohttp2: disable server push if not requested
Alessandro Ghedini [Sat, 10 Dec 2016 13:54:59 +0000 (13:54 +0000)]
http2: disable server push if not requested

Ref: https://github.com/curl/curl/pull/1160

8 years agodocs: improved language in README.md HISTORY.md CONTRIBUTE.md
railsnewbie257 [Sat, 14 Jan 2017 12:01:06 +0000 (06:01 -0600)]
docs: improved language in README.md HISTORY.md CONTRIBUTE.md

Closes #1211

8 years agohttp: print correct HTTP string in verbose output when using HTTP/2
Alessandro Ghedini [Fri, 13 Jan 2017 22:28:41 +0000 (22:28 +0000)]
http: print correct HTTP string in verbose output when using HTTP/2

Before:
```
 % src/curl https://sigsegv.ninja/ -v --http2
...
> GET / HTTP/1.1
> Host: sigsegv.ninja
> User-Agent: curl/7.52.2-DEV
> Accept: */*
>
...
```

After:
```
 % src/curl https://sigsegv.ninja/ -v --http2
...
> GET / HTTP/2
> Host: sigsegv.ninja
> User-Agent: curl/7.52.2-DEV
> Accept: */*
>
```

8 years agoTODO: send only part of --data
Daniel Stenberg [Sat, 14 Jan 2017 11:49:12 +0000 (12:49 +0100)]
TODO: send only part of --data

Closes #1200

8 years agoTODO: implemened "--fail-fast to exit on first transfer fail"
Daniel Stenberg [Sat, 14 Jan 2017 11:42:53 +0000 (12:42 +0100)]
TODO: implemened "--fail-fast to exit on first transfer fail"

Even though it is called --fail-early

8 years agoTODO: Chunked transfer multipart formpost
Daniel Stenberg [Sat, 14 Jan 2017 11:41:29 +0000 (12:41 +0100)]
TODO: Chunked transfer multipart formpost

Closes #1139

8 years agoTODO: Improve formpost API, not just add an easy argument
Daniel Stenberg [Sat, 14 Jan 2017 11:34:53 +0000 (12:34 +0100)]
TODO: Improve formpost API, not just add an easy argument

8 years agoaddrinfo: fix compiler warning on offsetof() use
Daniel Stenberg [Fri, 13 Jan 2017 22:58:22 +0000 (23:58 +0100)]
addrinfo: fix compiler warning on offsetof() use

curl_addrinfo.c:519:20: error: conversion to ‘curl_socklen_t {aka
unsigned int}’ from ‘long unsigned int’ may alter its value
[-Werror=conversion]

Follow-up to 1d786faee1046f

8 years agoTHANKS-filter: Jiri Malak
Daniel Stenberg [Fri, 13 Jan 2017 16:29:01 +0000 (17:29 +0100)]
THANKS-filter: Jiri Malak

8 years agoRELEASE-NOTES: synced with a7c73ae309c
Daniel Stenberg [Fri, 13 Jan 2017 16:28:49 +0000 (17:28 +0100)]
RELEASE-NOTES: synced with a7c73ae309c

8 years agounix_socket: add support for abstract unix domain socket
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

8 years agowrite-out.d: 'time_total' is not always shown with ms precision
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

8 years agonext.d: --trace and --trace-ascii are also global
Daniel Stenberg [Fri, 13 Jan 2017 14:34:01 +0000 (15:34 +0100)]
next.d: --trace and --trace-ascii are also global

8 years agocurl: reset the easy handle at --next
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.

8 years agodocs: Add note about libcurl copying strings to CURLOPT_* manpages
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

8 years agoCURLOPT_PREQUOTE.3: takes a struct curl_slist*, not a char*
Frank Gevaerts [Wed, 21 Dec 2016 13:28:02 +0000 (14:28 +0100)]
CURLOPT_PREQUOTE.3: takes a struct curl_slist*, not a char*

8 years agoIDN: Use TR46 non-transitional
Daniel Stenberg [Fri, 13 Jan 2017 13:49:11 +0000 (14:49 +0100)]
IDN: Use TR46 non-transitional

Assisted-by: Tim Rühsen
8 years agoIDN: revert use of the transitional option
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.

8 years agoIDN: Fix compile time detection of linidn2 TR46
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

8 years agourl: --noproxy option overrides NO_PROXY environment variable
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

8 years agourl: Refactor detect_proxy()
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.

8 years agourl: Fix NO_PROXY env var to work properly with --proxy option.
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.

8 years agoIDN: Use TR46 'transitional' for toASCII translations
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

8 years agodocs: FAQ MAIL-ETIQUETTE language fixes
railsnewbie257 [Thu, 12 Jan 2017 05:48:22 +0000 (23:48 -0600)]
docs: FAQ MAIL-ETIQUETTE language fixes

Closes #1194

8 years agognutls: check for alpn and ocsp in configure
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

8 years agourl: Fix parsing for when 'file' is the default protocol
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
8 years agorand: make it work without TLS backing
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

8 years agoSTARTTLS: Don't print response character in denied messages
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

8 years agosmtp: Fix STARTTLS denied error message
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.

8 years agohttp2_send: avoid unsigned integer wrap around
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.

8 years agocmake: Fix passing _WINSOCKAPI_ macro to compiler
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

8 years agosws: retry send() on EWOULDBLOCK
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
8 years agoRELEASE-NOTES: synced with a41e8592d6b3e58
Daniel Stenberg [Mon, 9 Jan 2017 13:54:48 +0000 (14:54 +0100)]
RELEASE-NOTES: synced with a41e8592d6b3e58

8 years agoexamples: make the C++ examples follow our code style too
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.

8 years agoasiohiper: improved socket handling
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
8 years agolib506: fix build for Open Watcom
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

8 years agoROADMAP: 2017 cleanup
Daniel Stenberg [Sat, 7 Jan 2017 22:45:48 +0000 (23:45 +0100)]
ROADMAP: 2017 cleanup

Removed items already fixed, clarified a few others.

8 years agoCOPYING: update the generic copyright year range
Daniel Stenberg [Sat, 7 Jan 2017 19:25:43 +0000 (20:25 +0100)]
COPYING: update the generic copyright year range

8 years agodocs/silent: mention --show-error in --silent description
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
8 years agodocs/page-header: mention how to disable the progress meter
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

8 years agowolfssl: display negotiated SSL version and cipher
Dan Fandrich [Fri, 6 Jan 2017 23:09:10 +0000 (00:09 +0100)]
wolfssl: display negotiated SSL version and cipher

8 years agowolfssl: support setting cipher list
Dan Fandrich [Fri, 6 Jan 2017 22:00:45 +0000 (23:00 +0100)]
wolfssl: support setting cipher list

8 years agoCIPHERS.md: document GSKit ciphers
Patrick Monnerat [Fri, 6 Jan 2017 16:43:57 +0000 (17:43 +0100)]
CIPHERS.md: document GSKit ciphers

8 years agoTheArtOfHttpScripting: grammar
peterpih [Wed, 4 Jan 2017 07:37:59 +0000 (01:37 -0600)]
TheArtOfHttpScripting: grammar

8 years agodarwinssl: --insecure overrides --cacert if both settings are in use
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

8 years agodocs/libcurl: TCP_KEEPALIVE start and interval default to 60
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
8 years agocurl.h: CURLE_FUNCTION_NOT_FOUND is no longer in use
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.

8 years agocontent_encoding: change return code on a failure
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".

8 years agopage-footer: error 36 is protocol agnostic!
Daniel Stenberg [Thu, 29 Dec 2016 10:22:18 +0000 (11:22 +0100)]
page-footer: error 36 is protocol agnostic!

8 years agotool_operate: Fix --remote-time incorrect times on Windows
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

8 years agodigest_sspi: copy terminating NUL as well
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

8 years agocurl_formadd.3: CURLFORM_CONTENTSLENGTH not needed when chunked
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

8 years agocmake: use crypt32.lib when building with OpenSSL on windows
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

8 years agodarwinssl: fix CFArrayRef leak
Chris Araman [Fri, 23 Dec 2016 02:50:31 +0000 (18:50 -0800)]
darwinssl: fix CFArrayRef leak

Reviewed-by: Nick Zitzmann
Closes #1173

8 years agodarwinssl: fix iOS build
Chris Araman [Fri, 23 Dec 2016 02:27:17 +0000 (18:27 -0800)]
darwinssl: fix iOS build

Reviewed-by: Nick Zitzmann
Fixes #1172

8 years agocurl: remove superfluous include file
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

8 years agoRELEASE-NOTES: synced with a7b38c9dc98481e
Daniel Stenberg [Mon, 26 Dec 2016 20:12:44 +0000 (21:12 +0100)]
RELEASE-NOTES: synced with a7b38c9dc98481e

8 years agovtls: s/SSLEAY/OPENSSL
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

8 years agodocs/ciphers: link to our own new page about ciphers
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!

8 years agocmdline-opts/page-footer: add three more exit codes
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

8 years agoformdata: use NULL, not 0, when returning pointers
Daniel Stenberg [Sun, 25 Dec 2016 09:36:29 +0000 (10:36 +0100)]
formdata: use NULL, not 0, when returning pointers

8 years agoftp: failure to resolve proxy should return that error code
Daniel Stenberg [Sun, 25 Dec 2016 09:35:34 +0000 (10:35 +0100)]
ftp: failure to resolve proxy should return that error code

8 years agoconfigure: accept --with-libidn2 instead
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

8 years agotest1282: verify the ftp-gss check
Daniel Stenberg [Thu, 22 Dec 2016 23:07:36 +0000 (00:07 +0100)]
test1282: verify the ftp-gss check

8 years agoftp-gss: check for init before use
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
8 years agobuild-wolfssl: Sync config with wolfSSL 3.10
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.

8 years agocyassl: use time_t instead of long for timeout
Jay Satiro [Sat, 24 Dec 2016 18:25:03 +0000 (13:25 -0500)]
cyassl: use time_t instead of long for timeout

8 years agobump: toward next release
Daniel Stenberg [Fri, 23 Dec 2016 22:47:33 +0000 (23:47 +0100)]
bump: toward next release

8 years agohttp: remove "Curl_http_done: called premature" message
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.

8 years agoopenssl-random: check return code when asking for random
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

8 years agognutls-random: check return code for failed random
Daniel Stenberg [Fri, 23 Dec 2016 14:01:53 +0000 (15:01 +0100)]
gnutls-random: check return code for failed random

8 years agoRELEASE-NOTES: curl 7.52.1 curl-7_52_1
Daniel Stenberg [Thu, 22 Dec 2016 07:53:13 +0000 (08:53 +0100)]
RELEASE-NOTES: curl 7.52.1

8 years agolib557.c: use a shorter MAXIMIZE representation
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

8 years agoruntests: remove the valgrind parser
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.

8 years agorandit: store the value in the buffer
Kamil Dudka [Wed, 21 Dec 2016 14:09:31 +0000 (15:09 +0100)]
randit: store the value in the buffer

8 years agotests/Makefile: run checksrc on debug builds
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/

8 years agolib557: move the "enable LONGLINE" to allow more long lines
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...