]> granicus.if.org Git - curl/log
curl
9 years agotests: Re-enabled tests 889 and 890 following POP3 fix
Steve Holme [Fri, 20 Nov 2015 07:04:19 +0000 (07:04 +0000)]
tests: Re-enabled tests 889 and 890 following POP3 fix

9 years agopop3: Differentiate between success and continuation responses
Steve Holme [Fri, 20 Nov 2015 07:01:01 +0000 (07:01 +0000)]
pop3: Differentiate between success and continuation responses

9 years agopop3: Added clarity on some server response codes
Steve Holme [Fri, 20 Nov 2015 06:41:53 +0000 (06:41 +0000)]
pop3: Added clarity on some server response codes

9 years agobuild: Fix theoretical infinite loops
Daniel Shahaf [Thu, 19 Nov 2015 22:23:11 +0000 (22:23 +0000)]
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

9 years agocurl.h: s/#defien/#define/
Patrick Monnerat [Thu, 19 Nov 2015 12:53:47 +0000 (13:53 +0100)]
curl.h: s/#defien/#define/

9 years agoos400: synchronize ILE/RPG header file
Patrick Monnerat [Thu, 19 Nov 2015 12:52:06 +0000 (13:52 +0100)]
os400: synchronize ILE/RPG header file

9 years agoos400: Provide options for libssh2 use in compile scripts. Adjust README.
Patrick Monnerat [Thu, 19 Nov 2015 12:35:29 +0000 (13:35 +0100)]
os400: Provide options for libssh2 use in compile scripts. Adjust README.

9 years agozsh completion: Preserve single quotes in output
danielsh@apache.org [Wed, 18 Nov 2015 21:52:32 +0000 (21:52 +0000)]
zsh completion: Preserve single quotes in output

When an option's help string contains literal single quotes, those
single quotes would be stripped from the option's description in the
completion output (unless the zsh RC_QUOTES option were set while the
completion function was being sourced, which is not the default).  This
patch makes the completion output contain single quotes where the --help
output does.

Closes #532

9 years agoFAQ: Grammar changes
MaxGiting [Thu, 19 Nov 2015 04:00:24 +0000 (23:00 -0500)]
FAQ: Grammar changes

Closes https://github.com/bagder/curl/pull/533

9 years agohttp2: http_done: don't free already-freed push headers
Daniel Stenberg [Tue, 17 Nov 2015 08:47:58 +0000 (09:47 +0100)]
http2: http_done: don't free already-freed push headers

The push headers are freed after the push callback has been invoked,
meaning this code should only free the headers if the callback was never
invoked and thus the headers weren't freed at that time.

Reported-by: Davey Shafik
9 years agogetconnectinfo: Don't call recv(2) if socket == -1
Anders Bakken [Mon, 16 Nov 2015 20:50:41 +0000 (12:50 -0800)]
getconnectinfo: Don't call recv(2) if socket == -1

Closes #528

9 years agoCURLMOPT_PUSHFUNCTION.3: *_byname() returns only the first header
Daniel Stenberg [Mon, 16 Nov 2015 07:26:22 +0000 (08:26 +0100)]
CURLMOPT_PUSHFUNCTION.3: *_byname() returns only the first header

... if there are more than one using the same name

9 years agohttp2: minor comment typo
Daniel Stenberg [Mon, 16 Nov 2015 07:22:08 +0000 (08:22 +0100)]
http2: minor comment typo

9 years agosasl; fix checksrc warnings
Daniel Stenberg [Sun, 15 Nov 2015 22:15:00 +0000 (23:15 +0100)]
sasl; fix checksrc warnings

9 years agoRELEASE-NOTES: Adjusted for the recent OAuth 2.0 activity
Steve Holme [Sun, 15 Nov 2015 20:18:44 +0000 (20:18 +0000)]
RELEASE-NOTES: Adjusted for the recent OAuth 2.0 activity

9 years agotests: Disabled 889 and 890 until we support POP3 continuation responses
Steve Holme [Sun, 15 Nov 2015 20:14:46 +0000 (20:14 +0000)]
tests: Disabled 889 and 890 until we support POP3 continuation responses

As POP3 final and continuation responses both begin with a + character,
and both the finalcode and contcode variables in SASLprotoc are set as
such, we cannot tell the difference between them when we are expecting
an optional continuation from the server such as the following:

+ something else from the server
+OK final response

Disabled these tests until such a time we can tell the responses apart.

9 years agotests: Corrected typos from commit ba4d8f7eba
Steve Holme [Sun, 15 Nov 2015 17:39:05 +0000 (17:39 +0000)]
tests: Corrected typos from commit ba4d8f7eba

9 years agotests: Added OAUTHBEARER failure response tests
Steve Holme [Sun, 15 Nov 2015 17:36:59 +0000 (17:36 +0000)]
tests: Added OAUTHBEARER failure response tests

9 years agooauth2: Support OAUTHBEARER failures sent as continuation responses
Steve Holme [Sat, 5 Sep 2015 17:35:47 +0000 (18:35 +0100)]
oauth2: Support OAUTHBEARER failures sent as continuation responses

According to RFC7628 a failure message may be sent by the server in a
base64 encoded JSON string as a continuation response.

Currently only implemented for OAUTHBEARER and not XAUTH2.

9 years agoRELEASE-NOTES: synced with 808a17ee675
Daniel Stenberg [Sun, 15 Nov 2015 18:12:06 +0000 (19:12 +0100)]
RELEASE-NOTES: synced with 808a17ee675

9 years agotests: Renamed existing OAuth 2.0 (XOAUTH) tests
Steve Holme [Sat, 14 Nov 2015 11:19:57 +0000 (11:19 +0000)]
tests: Renamed existing OAuth 2.0 (XOAUTH) tests

9 years agotests: Added OAuth 2.0 (OAUTHBEARER) tests
Steve Holme [Sat, 14 Nov 2015 11:16:04 +0000 (11:16 +0000)]
tests: Added OAuth 2.0 (OAUTHBEARER) tests

9 years agooauth2: Added support for OAUTHBEARER SASL mechanism to IMAP, POP3 and SNMP
Steve Holme [Sat, 5 Sep 2015 17:09:40 +0000 (18:09 +0100)]
oauth2: Added support for OAUTHBEARER SASL mechanism to IMAP, POP3 and SNMP

OAUTHBEARER is now the official "registered" SASL mechanism name for
OAuth 2.0. However, we don't want to drop support for XOAUTH2 as some
servers won't support the new mechanism yet.

9 years agoRELEASE-NOTES: recounted curl_easy_setopt() options
Daniel Stenberg [Fri, 13 Nov 2015 22:40:40 +0000 (23:40 +0100)]
RELEASE-NOTES: recounted curl_easy_setopt() options

9 years agotypecheck-gcc.h: add missing slist-using options
Daniel Stenberg [Fri, 13 Nov 2015 22:19:19 +0000 (23:19 +0100)]
typecheck-gcc.h: add missing slist-using options

CURLOPT_RESOLVE and CURLOPT_PROXYHEADER were missing

Also sorted the list.

9 years agotypecheck-gcc.h: added CURLOPT_CLOSESOCKETDATA
Daniel Stenberg [Fri, 13 Nov 2015 22:12:18 +0000 (23:12 +0100)]
typecheck-gcc.h: added CURLOPT_CLOSESOCKETDATA

... and sorted curl_is_cb_data_option alphabetically

9 years agoopenssl: Free modules on cleanup
Sebastian Pohlschmidt [Fri, 13 Nov 2015 21:07:11 +0000 (16:07 -0500)]
openssl: Free modules on cleanup

Curl_ossl_init calls OPENSSL_load_builtin_modules() but
Curl_ossl_cleanup doesn't make a call to free these modules.

Bug: https://github.com/bagder/curl/issues/526

9 years agosymbols-in-versions: Added new CURLOPTTYPE_STRINGPOINT alias
Steve Holme [Fri, 13 Nov 2015 20:42:35 +0000 (20:42 +0000)]
symbols-in-versions: Added new CURLOPTTYPE_STRINGPOINT alias

...following commit aba281e762 to fix test 1119.

9 years agocurl: mark two more options strings for --libcurl output
Daniel Stenberg [Fri, 13 Nov 2015 15:59:09 +0000 (16:59 +0100)]
curl: mark two more options strings for --libcurl output

9 years agotypecheck-gcc.h: add some missing string types
Daniel Stenberg [Fri, 13 Nov 2015 15:53:17 +0000 (16:53 +0100)]
typecheck-gcc.h: add some missing string types

Also sorted that list alphabetically

9 years agocurl.h: introducing the STRINGPOINT alias
Daniel Stenberg [Fri, 13 Nov 2015 15:50:10 +0000 (16:50 +0100)]
curl.h: introducing the STRINGPOINT alias

As an alias for OBJECTPOINT. Provided to allow us to grep for all string
options easier.

9 years agocleanup: general removal of TODO (and similar) comments
Daniel Stenberg [Fri, 13 Nov 2015 15:15:26 +0000 (16:15 +0100)]
cleanup: general removal of TODO (and similar) comments

They tend to never get updated anyway so they're frequently inaccurate
and we never go back to revisit them anyway. We document issues to work
on properly in KNOWN_BUGS and TODO instead.

9 years agoftplistparser: remove empty function
Daniel Stenberg [Fri, 13 Nov 2015 15:12:18 +0000 (16:12 +0100)]
ftplistparser: remove empty function

9 years agoopenssl: remove #if check for 0.9.7 for ENGINE_load_private_key
Daniel Stenberg [Fri, 13 Nov 2015 14:55:52 +0000 (15:55 +0100)]
openssl: remove #if check for 0.9.7 for ENGINE_load_private_key

9 years agoopenssl: all supported versions have X509_STORE_set_flags
Daniel Stenberg [Fri, 13 Nov 2015 14:52:39 +0000 (15:52 +0100)]
openssl: all supported versions have X509_STORE_set_flags

Simplify by removing #ifdefs and macros

9 years agoopenssl: remove 0.9.3 check
Daniel Stenberg [Fri, 13 Nov 2015 14:51:46 +0000 (15:51 +0100)]
openssl: remove 0.9.3 check

9 years agoopenssl: remove #ifdefs for < 0.9.5 support
Daniel Stenberg [Fri, 13 Nov 2015 14:49:49 +0000 (15:49 +0100)]
openssl: remove #ifdefs for < 0.9.5 support

We only support >= 0.9.7

9 years agolib/vtls/openssl: remove unused traces of yassl ifdefs
Daniel Stenberg [Fri, 13 Nov 2015 14:48:04 +0000 (15:48 +0100)]
lib/vtls/openssl: remove unused traces of yassl ifdefs

9 years agounit1603: Demote hash mismatch failure to a warning
dfandrich [Thu, 12 Nov 2015 22:45:56 +0000 (23:45 +0100)]
unit1603: Demote hash mismatch failure to a warning

The hashes can vary between architectures (e.g. Sparc differs from x86_64).
This is not a fatal problem but just reduces the coverage of these white-box
tests, as the assumptions about into which hash bucket each key falls are no
longer valid.

9 years agounit1603: Added unit tests for hash functions
dfandrich [Thu, 12 Nov 2015 19:40:26 +0000 (20:40 +0100)]
unit1603: Added unit tests for hash functions

9 years agounit1602: Fixed failure in torture test
dfandrich [Thu, 12 Nov 2015 18:30:59 +0000 (19:30 +0100)]
unit1602: Fixed failure in torture test

9 years agosasl: Re-introduced XOAUTH2 in the default enabled authentication mechanism
Steve Holme [Thu, 12 Nov 2015 19:45:24 +0000 (19:45 +0000)]
sasl: Re-introduced XOAUTH2 in the default enabled authentication mechanism

Following the fix in commit d6d58dd558 it is necessary to re-introduce
XOAUTH2 in the default enabled authentication mechanism, which was
removed in commit 7b2012f262, otherwise users will have to specify
AUTH=XOAUTH2 in the URL.

Note: OAuth 2.0 will only be used when the bearer is specified.

9 years agosasl_sspi: fix identity memory leak in digest authentication
Stefan Bühler [Thu, 12 Nov 2015 10:10:32 +0000 (11:10 +0100)]
sasl_sspi: fix identity memory leak in digest authentication

9 years agosasl_sspi: fixed unicode build for digest authentication
Stefan Bühler [Thu, 12 Nov 2015 10:09:21 +0000 (11:09 +0100)]
sasl_sspi: fixed unicode build for digest authentication

Closes #525

9 years agooauth2: Re-factored OAuth 2.0 state variable
Steve Holme [Sat, 5 Sep 2015 16:32:37 +0000 (17:32 +0100)]
oauth2: Re-factored OAuth 2.0 state variable

9 years agosasl: Don't choose OAuth 2.0 if mechanism not advertised
Steve Holme [Sat, 5 Sep 2015 16:29:49 +0000 (17:29 +0100)]
sasl: Don't choose OAuth 2.0 if mechanism not advertised

Regression from commit 9e8ced9890 which meant if --oauth2-bearer was
specified but the SASL mechanism wasn't supported by the server then
the mechanism would be chosen.

9 years agoruntests: more compact "System characteristics" output
Daniel Stenberg [Thu, 12 Nov 2015 14:32:48 +0000 (15:32 +0100)]
runtests: more compact "System characteristics" output

- no point in repeating curl features that is already listed as features
  from the curl -V output

- remove the port numbers/unix domain path from the output unless
  verbose is used, as that is rarely interesting to users.

9 years agoruntests: rename conditional curl-features to $has_[name]
Daniel Stenberg [Thu, 12 Nov 2015 13:50:13 +0000 (14:50 +0100)]
runtests: rename conditional curl-features to $has_[name]

9 years agooauth2: Introduced support for host and port details
Steve Holme [Sat, 5 Sep 2015 16:08:54 +0000 (17:08 +0100)]
oauth2: Introduced support for host and port details

Added support to the OAuth 2.0 message function for host and port, in
order to accommodate the official OAUTHBEARER SASL mechanism which is
to be added shortly.

9 years agocurl_setup.h: Removed duplicate CURL_DISABLE_RTSP when HTTP_ONLY defined
Steve Holme [Wed, 11 Nov 2015 22:19:39 +0000 (22:19 +0000)]
curl_setup.h: Removed duplicate CURL_DISABLE_RTSP when HTTP_ONLY defined

9 years agocmake: Add missing feature macros in config header (Part 2)
Steve Holme [Wed, 11 Nov 2015 22:18:24 +0000 (22:18 +0000)]
cmake: Add missing feature macros in config header (Part 2)

In addition to commit a215381c94 added the RTSP, RTMP and SMB protocols.

9 years agocmake: Add missing feature macros in config header
Douglas Creager [Tue, 10 Nov 2015 19:46:49 +0000 (14:46 -0500)]
cmake: Add missing feature macros in config header

The curl_config.h file can be generated either from curl_config.h.cmake
or curl_config.h.in, depending on whether you're building using CMake or
the autotools.  The CMake template header doesn't include entries for
all of the protocols that you can disable, which (I think) means that
you can't actually disable those protocols when building via CMake.

Closes #523

9 years agoBoringSSL: Work with stricter BIO_get_mem_data()
Douglas Creager [Tue, 10 Nov 2015 20:05:18 +0000 (15:05 -0500)]
BoringSSL: Work with stricter BIO_get_mem_data()

BoringSSL implements `BIO_get_mem_data` as a function, instead of a
macro, and expects the output pointer to be a `char **`.  We have to add
an explicit cast to grab the pointer as a `const char **`.

Closes #524

9 years agohttp2: rectify the http2 version #if check
Daniel Stenberg [Tue, 10 Nov 2015 08:10:46 +0000 (09:10 +0100)]
http2: rectify the http2 version #if check

We need 1.0.0 or later. Also verified by configure.

9 years agooauth2: Don't use XAUTH2 in OAuth 2.0 function name
Steve Holme [Wed, 4 Nov 2015 07:20:21 +0000 (07:20 +0000)]
oauth2: Don't use XAUTH2 in OAuth 2.0 function name

9 years agooauth2: Don't use XOAUTH2 in OAuth 2.0 variables
Steve Holme [Fri, 4 Sep 2015 06:11:09 +0000 (07:11 +0100)]
oauth2: Don't use XOAUTH2 in OAuth 2.0 variables

9 years agooauth2: Use OAuth 2.0 rather than XOAUTH2 in comments
Steve Holme [Fri, 4 Sep 2015 05:56:26 +0000 (06:56 +0100)]
oauth2: Use OAuth 2.0 rather than XOAUTH2 in comments

When referring to OAuth 2.0 we should use the official name rather the
SASL mechanism name.

9 years agoimap: avoid freeing constant string
Daniel Stenberg [Mon, 9 Nov 2015 09:54:55 +0000 (10:54 +0100)]
imap: avoid freeing constant string

The fix in 1a614c6c3 was wrong and would leed to free() of a fixed
string.

Pointed-out-by: Kamil Dudka
9 years agoROADMAP: remove two items already done
Daniel Stenberg [Mon, 9 Nov 2015 08:05:43 +0000 (09:05 +0100)]
ROADMAP: remove two items already done

9 years agoRELEASE-NOTES: synced with 2200bf62054
Daniel Stenberg [Mon, 9 Nov 2015 07:56:28 +0000 (08:56 +0100)]
RELEASE-NOTES: synced with 2200bf62054

9 years agoacinclude: Remove check for 16-bit curl_off_t
Jay Satiro [Mon, 9 Nov 2015 07:56:40 +0000 (02:56 -0500)]
acinclude: Remove check for 16-bit curl_off_t

Because it's illogical to check for a 16-bit curl_off_t.

Ref: https://github.com/bagder/curl/issues/425#issuecomment-154964205

9 years agotool: Fixed a memory leak on OOM introduced in 19cb0c4a
Dan Fandrich [Sun, 8 Nov 2015 15:50:25 +0000 (16:50 +0100)]
tool: Fixed a memory leak on OOM introduced in 19cb0c4a

9 years agoimap: Don't check for continuation when executing a CUSTOMREQUEST
Justin Ehlert [Tue, 13 Oct 2015 13:55:05 +0000 (08:55 -0500)]
imap: Don't check for continuation when executing a CUSTOMREQUEST

Bug: https://github.com/bagder/curl/issues/486
Closes https://github.com/bagder/curl/pull/487

9 years agoimap: checksrc: remove space after while before paren
Daniel Stenberg [Sat, 7 Nov 2015 22:21:29 +0000 (23:21 +0100)]
imap: checksrc: remove space after while before paren

9 years agochecksrc.whitelist: "missing space after close paren"
Daniel Stenberg [Sat, 7 Nov 2015 22:20:50 +0000 (23:20 +0100)]
checksrc.whitelist: "missing space after close paren"

... when it was within a string!

9 years agoopts: Corrected TLS protocols list to include POP3S rather than POP3
Steve Holme [Sat, 7 Nov 2015 22:11:04 +0000 (22:11 +0000)]
opts: Corrected TLS protocols list to include POP3S rather than POP3

9 years agoimap: Quote other 'atom-specials' and not just the space character
Steve Holme [Sat, 7 Nov 2015 11:59:32 +0000 (11:59 +0000)]
imap: Quote other 'atom-specials' and not just the space character

Closes #517

9 years agoimap: Fixed double quote in LIST command when mailbox contains spaces
Steve Holme [Sat, 7 Nov 2015 11:20:34 +0000 (11:20 +0000)]
imap: Fixed double quote in LIST command when mailbox contains spaces

9 years agoimap: fix compiler warning
Daniel Stenberg [Fri, 6 Nov 2015 22:44:27 +0000 (23:44 +0100)]
imap: fix compiler warning

imap.c:657:13: error: assignment discards 'const' qualifier from pointer
target type [-Werror=discarded-qualifiers]

9 years agoimap: Don't call imap_atom() when no mailbox specified in LIST command
Steve Holme [Fri, 6 Nov 2015 21:49:26 +0000 (21:49 +0000)]
imap: Don't call imap_atom() when no mailbox specified in LIST command

9 years agocurl.1: remove the overlap --range example
Daniel Stenberg [Fri, 6 Nov 2015 14:03:00 +0000 (15:03 +0100)]
curl.1: remove the overlap --range example

... it is just weird to include by default even if it still works.

9 years agotftp tests: verify sent options too
Daniel Stenberg [Fri, 6 Nov 2015 09:52:19 +0000 (10:52 +0100)]
tftp tests: verify sent options too

The tftpd test server now logs all received options and thus all TFTP
test cases need to match them exactly.

Extended test 283 to use and verify --tftp-blksize.

9 years agogetinfo: CURLINFO_ACTIVESOCKET: fix bad socket value
Jay Satiro [Fri, 6 Nov 2015 05:30:16 +0000 (00:30 -0500)]
getinfo: CURLINFO_ACTIVESOCKET: fix bad socket value

- Set user info param to the socket returned by Curl_getconnectinfo,
regardless of if the socket is bad. Effectively this means the user info
param now will receive CURL_SOCKET_BAD instead of -1 on bad socket.

- Remove incorrect comments.

CURLINFO_ACTIVESOCKET is documented to write CURL_SOCKET_BAD to user
info param but prior to this change it wrote -1.

Bug: https://github.com/bagder/curl/pull/518
Reported-by: Marcel Raad
9 years agocurl_ntlm_core: fix 2 curl_off_t constant overflows.
Patrick Monnerat [Thu, 5 Nov 2015 14:20:43 +0000 (15:20 +0100)]
curl_ntlm_core: fix 2 curl_off_t constant overflows.

9 years agoos400: adjust specific code to support new options.
Patrick Monnerat [Thu, 5 Nov 2015 13:41:22 +0000 (14:41 +0100)]
os400: adjust specific code to support new options.

9 years agorawstr: Speed up Curl_raw_toupper by 40%
Lauri Kasanen [Mon, 2 Nov 2015 20:18:03 +0000 (21:18 +0100)]
rawstr: Speed up Curl_raw_toupper by 40%

Rationale: when starting up a curl-using app, all cookies from the jar
are checked against each other. This was causing a startup delay in the
Fifth browser.

All tests pass.

Signed-off-by: Lauri Kasanen <cand@gmx.com>
9 years agohttp redirects: %-encode bytes outside of ascii range
Daniel Stenberg [Mon, 2 Nov 2015 11:48:03 +0000 (12:48 +0100)]
http redirects: %-encode bytes outside of ascii range

Apparently there are sites out there that do redirects to URLs they
provide in plain UTF-8 or similar. Browsers and wget %-encode such
headers when doing a subsequent request. Now libcurl does too.

Added test 1138 to verify.

Closes #473

9 years agoRELEASE-NOTES: synced with cba5bc585410
Daniel Stenberg [Mon, 2 Nov 2015 09:16:21 +0000 (10:16 +0100)]
RELEASE-NOTES: synced with cba5bc585410

9 years agosymbols-in-version: add all CURL_HTTPPOST_* symbols
Daniel Stenberg [Mon, 2 Nov 2015 07:40:57 +0000 (08:40 +0100)]
symbols-in-version: add all CURL_HTTPPOST_* symbols

9 years agoformadd: support >2GB files on windows
Daniel Stenberg [Fri, 23 Oct 2015 22:52:25 +0000 (00:52 +0200)]
formadd: support >2GB files on windows

Closes #425

9 years agocurl.h: s/HTTPPOST_/CURL_HTTPOST_
Daniel Stenberg [Sat, 31 Oct 2015 21:48:21 +0000 (22:48 +0100)]
curl.h: s/HTTPPOST_/CURL_HTTPOST_

Fixes a name space pollution at the cost of programs using one of these
defines will no longer compile. However, the vast majority of libcurl
programs that do multipart formposts use curl_formadd() to build this
list.

Closes #506

9 years agombedtls: fix "Structurally dead code"
Daniel Stenberg [Thu, 29 Oct 2015 21:59:27 +0000 (22:59 +0100)]
mbedtls: fix "Structurally dead code"

CID 1332129

9 years agombedtls: fix "Logically dead code"
Daniel Stenberg [Thu, 29 Oct 2015 21:57:09 +0000 (22:57 +0100)]
mbedtls: fix "Logically dead code"

CID 1332128

9 years agoRevert "openssl: engine: remove double-free"
Daniel Stenberg [Thu, 29 Oct 2015 13:59:11 +0000 (14:59 +0100)]
Revert "openssl: engine: remove double-free"

This reverts commit 370ee919b37cc9a46c36428b2bb1527eae5db2bd.

Issue #509 has all the details but it was confirmed that the crash was
not due to this, so the previous commit was wrong.

9 years agocurl.1: -E: s/private certificate/client certificate
Daniel Stenberg [Wed, 28 Oct 2015 12:17:54 +0000 (13:17 +0100)]
curl.1: -E: s/private certificate/client certificate

... as the certificate is strictly speaking not private.

Reported-by: John Levon
9 years agoopenssl: engine: remove double-free
Daniel Stenberg [Tue, 27 Oct 2015 12:45:25 +0000 (13:45 +0100)]
openssl: engine: remove double-free

After a successful call to SSL_CTX_use_PrivateKey(), we must not call
EVP_PKEY_free() on the key.

Reported-by: nased0
Closes #509

9 years agosocks: Fix incorrect port numbers in failed connect messages
Jay Satiro [Tue, 27 Oct 2015 06:39:00 +0000 (02:39 -0400)]
socks: Fix incorrect port numbers in failed connect messages

9 years agoDISTRO-DILEMMA: removed
Daniel Stenberg [Mon, 26 Oct 2015 15:31:03 +0000 (16:31 +0100)]
DISTRO-DILEMMA: removed

Out of date and not kept accurate. It was sort of a problem of the past
anyway.

9 years agoMacOSX-Framework: sdk regex fix for sdk 10.10 and later
xiangbin li [Sun, 25 Oct 2015 11:35:16 +0000 (12:35 +0100)]
MacOSX-Framework: sdk regex fix for sdk 10.10 and later

closes #507

9 years agobuild: Fix support for PKG_CONFIG
Jay Satiro [Sat, 24 Oct 2015 07:31:57 +0000 (03:31 -0400)]
build: Fix support for PKG_CONFIG

- Allow the user to use PKG_CONFIG but not PKGCONFIG.

Background:

Last week in 14d5a86 a change was made to allow the user to set the
PKGCONFIG variable. Today in 72d99f2 I supplemented that to allow the
more common PKG_CONFIG as an alternative if PKGCONFIG is not set.

Neither of those changes worked as expected because PKGCONFIG is
occasionally reset in configure and by the CURL_CHECK_PKGCONFIG macro.
Instead in this commit I take the approach that the user may set
PKG_CONFIG only.

9 years agobuild: Fix mingw ssl gdi32 order
Jay Satiro [Fri, 23 Oct 2015 21:17:54 +0000 (17:17 -0400)]
build: Fix mingw ssl gdi32 order

- If mingw ssl make sure -lgdi32 comes after ssl libs

- Allow PKG_CONFIG to set pkg-config location and options

Bug: https://github.com/bagder/curl/pull/501
Reported-by: Kang Lin
9 years agoRELEASE-NOTES: synced with 03b6e078163f
Daniel Stenberg [Fri, 23 Oct 2015 14:40:44 +0000 (16:40 +0200)]
RELEASE-NOTES: synced with 03b6e078163f

9 years agopolarssl/mbedtls: fix name space pollution
Daniel Stenberg [Fri, 23 Oct 2015 14:14:29 +0000 (16:14 +0200)]
polarssl/mbedtls: fix name space pollution

Global private symbols MUST start with Curl_!

9 years agombedTLS: THREADING_SUPPORT compilation fix
Dmitry S. Baikov [Fri, 23 Oct 2015 22:46:03 +0000 (15:46 -0700)]
mbedTLS: THREADING_SUPPORT compilation fix

Closes #505

9 years agotest1137: verify --ignore-content-length for FTP
Daniel Stenberg [Fri, 23 Oct 2015 13:24:56 +0000 (15:24 +0200)]
test1137: verify --ignore-content-length for FTP

9 years agocurl.1: --ignore-content-length now works for FTP too
Daniel Stenberg [Fri, 23 Oct 2015 13:24:31 +0000 (15:24 +0200)]
curl.1: --ignore-content-length now works for FTP too

9 years agoftp: allow CURLOPT_IGNORE_CONTENT_LENGTH to ignore size
Kurt Fankhauser [Fri, 23 Oct 2015 12:57:30 +0000 (14:57 +0200)]
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

9 years agoCURLOPT_STREAM_WEIGHT.3: call argument 'weight' too
Daniel Stenberg [Fri, 23 Oct 2015 07:23:46 +0000 (09:23 +0200)]
CURLOPT_STREAM_WEIGHT.3: call argument 'weight' too

... and add a little example of what the weight actually means. "Relative
proportion of bandwidth".

9 years agohttp2: add stream options to dist and curl_easy_setopt.3
Daniel Stenberg [Fri, 23 Oct 2015 07:16:00 +0000 (09:16 +0200)]
http2: add stream options to dist and curl_easy_setopt.3

9 years agohttp2: s/priority/weight
Daniel Stenberg [Wed, 21 Oct 2015 20:47:24 +0000 (22:47 +0200)]
http2: s/priority/weight