]> granicus.if.org Git - curl/log
curl
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...

8 years agobump: toward next release
Daniel Stenberg [Wed, 21 Dec 2016 11:44:09 +0000 (12:44 +0100)]
bump: toward next release

8 years agolib: fix MSVC compiler warnings
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

8 years agoTHANKS: 13 new contributors from 7.52.0 curl-7_52_0
Daniel Stenberg [Mon, 19 Dec 2016 08:12:43 +0000 (09:12 +0100)]
THANKS: 13 new contributors from 7.52.0

8 years agoRELEASE-NOTES: 7.52.0
Daniel Stenberg [Mon, 19 Dec 2016 08:12:35 +0000 (09:12 +0100)]
RELEASE-NOTES: 7.52.0

8 years agossh: inhibit coverity warning with (void)
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)

8 years agoCurl_recv_has_postponed_data: silence compiler warnings
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

8 years agotests: checksrc compliance
Jay Satiro [Mon, 19 Dec 2016 07:31:59 +0000 (02:31 -0500)]
tests: checksrc compliance

8 years agohttp_proxy: Fix proxy CONNECT hang on pending data
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
8 years agocmdline-opts/tlsv1.d: rephrased
Daniel Stenberg [Mon, 19 Dec 2016 07:19:44 +0000 (08:19 +0100)]
cmdline-opts/tlsv1.d: rephrased

8 years agoschannel: fix wildcard cert name validation on Win CE
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.

8 years agoprintf: fix floating point buffer overflow issues
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

8 years agoconfig-amigaos.h: (embarrassed) made the line shorter
Daniel Stenberg [Sun, 18 Dec 2016 22:46:17 +0000 (23:46 +0100)]
config-amigaos.h: (embarrassed) made the line shorter

8 years agoconfig-amigaos.h: fix bug report email reference
Daniel Stenberg [Sun, 18 Dec 2016 22:45:22 +0000 (23:45 +0100)]
config-amigaos.h: fix bug report email reference

8 years agoRELEASE-NOTES: synced with 4517158abfeba
Daniel Stenberg [Sun, 18 Dec 2016 16:15:09 +0000 (17:15 +0100)]
RELEASE-NOTES: synced with 4517158abfeba

8 years agoCIPHERS.md: backtick the names to show underscores fine
Daniel Stenberg [Sun, 18 Dec 2016 15:44:45 +0000 (16:44 +0100)]
CIPHERS.md: backtick the names to show underscores fine

8 years agoform-string.d: fix format mistake
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
8 years agoopenssl: simplify expression in Curl_ossl_version
Michael Kaufmann [Sun, 18 Dec 2016 12:09:51 +0000 (13:09 +0100)]
openssl: simplify expression in Curl_ossl_version

8 years agocurl_easy_recv: Improve documentation and example program
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

8 years agoCurl_getconnectinfo: avoid checking if the connection is closed
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

8 years agoCIPHERS.md: attempt to document TLS cipher names
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

8 years agocurl.1: generated after 6cce4dbf830
Daniel Stenberg [Sat, 17 Dec 2016 23:48:15 +0000 (00:48 +0100)]
curl.1: generated after 6cce4dbf830

8 years agocmdline-opts/post30X.d: fix the RFC references
Daniel Stenberg [Sat, 17 Dec 2016 23:42:36 +0000 (00:42 +0100)]
cmdline-opts/post30X.d: fix the RFC references

8 years agocurl.1: regenerated
Daniel Stenberg [Sat, 17 Dec 2016 22:57:34 +0000 (23:57 +0100)]
curl.1: regenerated

Fixed trailing whitespace and numerous formatting glitches

8 years agocmdline-opts: formatting fixes
Daniel Stenberg [Sat, 17 Dec 2016 22:56:50 +0000 (23:56 +0100)]
cmdline-opts: formatting fixes

8 years agocurl_easy_setopt.3: removed CURLOPT_SOCKS_PROXYTYPE
Daniel Stenberg [Sat, 17 Dec 2016 22:50:14 +0000 (23:50 +0100)]
curl_easy_setopt.3: removed CURLOPT_SOCKS_PROXYTYPE

8 years agotool_getparam.c: make comments use the up-to-date option names
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

8 years agomanpage-scan.pl: allow deprecated options to get removed from curl.1
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

8 years agocmdline-opts/gen.pl: trim off trailing spaces
Daniel Stenberg [Sat, 17 Dec 2016 17:14:01 +0000 (18:14 +0100)]
cmdline-opts/gen.pl: trim off trailing spaces

8 years agocmdline-opts/proxy-tlsuser.d: remove trailing .d
Daniel Stenberg [Sat, 17 Dec 2016 17:13:47 +0000 (18:13 +0100)]
cmdline-opts/proxy-tlsuser.d: remove trailing .d

8 years agocurl_easy_setopt.3: CURLOPT_PRE_PROXY instead of CURLOPT_SOCKS_PROXY
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

8 years agosymbols: removed two, added one
Daniel Stenberg [Sat, 17 Dec 2016 17:00:49 +0000 (18:00 +0100)]
symbols: removed two, added one

8 years agocmdline-opts: include the man page split up files in the dist
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

8 years agocurl.1: generated with gen.pl
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.

8 years agocmdline-opts: added some missing info
Daniel Stenberg [Fri, 16 Dec 2016 21:01:01 +0000 (22:01 +0100)]
cmdline-opts: added some missing info

8 years agoCURLINFO_SSL_VERIFYRESULT.3: language
Daniel Stenberg [Fri, 16 Dec 2016 15:59:08 +0000 (16:59 +0100)]
CURLINFO_SSL_VERIFYRESULT.3: language

8 years agoHTTPS-PROXY docs: update/polish
Daniel Stenberg [Fri, 16 Dec 2016 15:57:39 +0000 (16:57 +0100)]
HTTPS-PROXY docs: update/polish

8 years agocmdline-opts/page-header: mention it is generated
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

8 years agopreproxy: renamed what was added as SOCKS_PROXY
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.

8 years agocurl: normal socks proxies still use CURLOPT_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.

8 years agoCURLOPT_SOCKS_PROXYTYPE: removed
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.

8 years agocurl_multi_socket.3: fix typo
Daniel Stenberg [Thu, 15 Dec 2016 16:26:23 +0000 (17:26 +0100)]
curl_multi_socket.3: fix typo

8 years agochecksrc: warn for assignments within if() expressions
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.

8 years agochecksrc: stricter no-space-before-paren enforcement
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

8 years agoISSUE_TEMPLATE: try mentioning known bugs/todo in new issue template
Daniel Stenberg [Sun, 11 Dec 2016 18:37:44 +0000 (19:37 +0100)]
ISSUE_TEMPLATE: try mentioning known bugs/todo in new issue template

8 years agoRELEASE-NOTES: synced with 71a55534fa6
Daniel Stenberg [Thu, 8 Dec 2016 20:08:35 +0000 (21:08 +0100)]
RELEASE-NOTES: synced with 71a55534fa6

8 years agoopenssl: don't use OpenSSL's ERR_PACK.
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

8 years agotest2032: Mark test as flaky
Dan Fandrich [Mon, 5 Dec 2016 20:38:15 +0000 (21:38 +0100)]
test2032: Mark test as flaky

8 years agolibcurl-multi.3: typo
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

8 years agotest1281: added http as a required feature
Dan Fandrich [Fri, 2 Dec 2016 14:17:47 +0000 (15:17 +0100)]
test1281: added http as a required feature