]> granicus.if.org Git - curl/log
curl
8 years agovauth: Moved the NTLM authentication code to the new vauth directory
Steve Holme [Sat, 12 Sep 2015 13:50:02 +0000 (14:50 +0100)]
vauth: Moved the NTLM authentication code to the new vauth directory

8 years agovauth: Moved the Kerberos V5 authentication code to the new vauth directory
Steve Holme [Sat, 12 Sep 2015 13:15:09 +0000 (14:15 +0100)]
vauth: Moved the Kerberos V5 authentication code to the new vauth directory

8 years agodigest.c: Fixed checksrc warnings
Steve Holme [Fri, 25 Mar 2016 12:17:34 +0000 (12:17 +0000)]
digest.c: Fixed checksrc warnings

8 years agovauth: Moved the DIGEST authentication code to the new vauth directory
Steve Holme [Sat, 12 Sep 2015 12:30:58 +0000 (13:30 +0100)]
vauth: Moved the DIGEST authentication code to the new vauth directory

8 years agovauth: Moved the CRAM-MD5 authentication code to the new vauth directory
Steve Holme [Sat, 12 Sep 2015 12:02:27 +0000 (13:02 +0100)]
vauth: Moved the CRAM-MD5 authentication code to the new vauth directory

8 years agovauth: Moved the ClearText authentication code to the new vauth directory
Steve Holme [Sat, 12 Sep 2015 11:27:38 +0000 (12:27 +0100)]
vauth: Moved the ClearText authentication code to the new vauth directory

8 years agovauth: Moved Curl_sasl_build_spn() to create the initial vauth source files
Steve Holme [Sat, 12 Sep 2015 10:48:24 +0000 (11:48 +0100)]
vauth: Moved Curl_sasl_build_spn() to create the initial vauth source files

8 years agochecksrc.bat: Added support for checking the new vauth directory
Steve Holme [Sat, 12 Sep 2015 10:19:24 +0000 (11:19 +0100)]
checksrc.bat: Added support for checking the new vauth directory

8 years agobuild: Updated all makefiles and project files for the new vauth directory
Steve Holme [Sat, 12 Sep 2015 10:14:14 +0000 (11:14 +0100)]
build: Updated all makefiles and project files for the new vauth directory

Updated the makefiles and Visual Studio project files to support moving
the authentication code to the new lib/vauth directory that was started
in commit 0d04e859e1.

8 years agoschannel: Add ALPN support
JDepooter [Mon, 21 Mar 2016 06:59:57 +0000 (23:59 -0700)]
schannel: Add ALPN support

Add ALPN support for schannel. This allows cURL to negotiate
HTTP/2.0 connections when built with schannel.

Closes #724

8 years agohttp: Minor update based on CODE_STYLE guidelines
Steve Holme [Thu, 24 Mar 2016 06:35:23 +0000 (06:35 +0000)]
http: Minor update based on CODE_STYLE guidelines

8 years agomulti: fix "Operation timed out after" timer
Daniel Stenberg [Wed, 23 Mar 2016 22:03:08 +0000 (23:03 +0100)]
multi: fix "Operation timed out after" timer

Use the local, reasonably updated, 'now' value when creating the message
string to output for the timeout condition.

Fixes #619

8 years agoopenssl: boringssl provides the same numbering as openssl
Daniel Stenberg [Wed, 23 Mar 2016 13:59:41 +0000 (14:59 +0100)]
openssl: boringssl provides the same numbering as openssl

... so we don't need extra boringssl precautions for for
HAVE_ERR_REMOVE_THREAD_STATE_NOARG.

Pointed-out-by: David Benjamin
8 years agoopenssl: fix ERR_remove_thread_state() for boringssl/libressl
Daniel Stenberg [Wed, 23 Mar 2016 09:04:48 +0000 (10:04 +0100)]
openssl: fix ERR_remove_thread_state() for boringssl/libressl

The removed arg is only done in OpenSSL

Bug: https://twitter.com/xtraemeat/status/712564874098917376

8 years agobump: work on 7.48.1
Daniel Stenberg [Wed, 23 Mar 2016 08:35:23 +0000 (09:35 +0100)]
bump: work on 7.48.1

8 years agoRELEASE-PROCEDURE: mention the github release tag edit
Daniel Stenberg [Wed, 23 Mar 2016 08:32:30 +0000 (09:32 +0100)]
RELEASE-PROCEDURE: mention the github release tag edit

... and update the coming release dates a bit

8 years agochecksrc.bat: Updated the help to be consistent with generate.bat
Steve Holme [Wed, 23 Mar 2016 06:50:03 +0000 (06:50 +0000)]
checksrc.bat: Updated the help to be consistent with generate.bat

Follow up to commit a8c7f0fcbf prior to release.

8 years agoRELEASE-NOTES: curl 7.48.0 curl-7_48_0
Daniel Stenberg [Tue, 22 Mar 2016 07:19:52 +0000 (08:19 +0100)]
RELEASE-NOTES: curl 7.48.0

8 years agoTHANKS: 15 new contributors from 7.48.0 release
Daniel Stenberg [Tue, 22 Mar 2016 07:21:44 +0000 (08:21 +0100)]
THANKS: 15 new contributors from 7.48.0 release

8 years agoCURLINFO_TLS_SSL_PTR.3: Warn about limitations
Jay Satiro [Wed, 23 Mar 2016 05:16:21 +0000 (01:16 -0400)]
CURLINFO_TLS_SSL_PTR.3: Warn about limitations

Bug: https://github.com/curl/curl/issues/685

8 years agoRevert "sshserver: remove use of AuthorizedKeysFile2"
Daniel Stenberg [Tue, 22 Mar 2016 09:43:55 +0000 (10:43 +0100)]
Revert "sshserver: remove use of AuthorizedKeysFile2"

It seems we may have some autobuild problems after this commit went
in. Trying to see if a revert helps to get them back.

This reverts commit 2716350d1f3edc8e929f6ceeee05051090f6d642.

8 years agomaketgz: add -j to make dist
Daniel Stenberg [Tue, 22 Mar 2016 09:35:22 +0000 (10:35 +0100)]
maketgz: add -j to make dist

... makes it a lot faster

8 years agolibcurl-thread.3: minor nroff format fix
Daniel Stenberg [Tue, 22 Mar 2016 09:33:44 +0000 (10:33 +0100)]
libcurl-thread.3: minor nroff format fix

8 years agoCURLINFO_TLS_SSL_PTR.3: minor nroff format fix
Daniel Stenberg [Tue, 22 Mar 2016 09:33:24 +0000 (10:33 +0100)]
CURLINFO_TLS_SSL_PTR.3: minor nroff format fix

8 years agoCODE_STYLE: indend example code
Daniel Stenberg [Tue, 22 Mar 2016 07:19:08 +0000 (08:19 +0100)]
CODE_STYLE: indend example code

... to make it look nicer in markdown outputa

8 years agobuild-wolfssl: Update VS properties for wolfSSL v3.9.0
Jay Satiro [Tue, 22 Mar 2016 07:03:11 +0000 (03:03 -0400)]
build-wolfssl: Update VS properties for wolfSSL v3.9.0

- Do not use wolfSSL's sample user-setting files.

wolfSSL starting in v3.9.0 has added their own sample user settings that
are applied by default, but we don't use them because we have our own
settings.

- Do not use wolfSSL's Visual Studio Unicode character setting.

wolfSSL Visual Studio projects use the Unicode character set however our
settings and options imitate mingw build which does not use the Unicode
character set. This does not appear to have any effect at the moment but
better safe than sorry.

These changes are backwards compatible with earlier versions.

8 years agohostip6: Fixed compilation warnings when verbose strings disabled
Steve Holme [Tue, 22 Mar 2016 06:16:06 +0000 (06:16 +0000)]
hostip6: Fixed compilation warnings when verbose strings disabled

warning C4189: 'data': local variable is initialized but not referenced

...and some minor formatting/spacing changes.

8 years agosshserver: remove use of AuthorizedKeysFile2
Daniel Stenberg [Sun, 20 Mar 2016 23:53:02 +0000 (00:53 +0100)]
sshserver: remove use of AuthorizedKeysFile2

Support for the (undocumented) AuthorizedKeysFile2 was removed in
OpenSSH 5.9, released in September 2011

Closes #715

8 years agoconnect/ntlm/http: Fixed compilation warnings when verbose strings disabled
Steve Holme [Sun, 20 Mar 2016 17:51:06 +0000 (17:51 +0000)]
connect/ntlm/http: Fixed compilation warnings when verbose strings disabled

warning C4189: 'data': local variable is initialized but not referenced

8 years agoopenssl: Fixed compilation warning when /Wall enabled
Steve Holme [Sun, 20 Mar 2016 17:35:31 +0000 (17:35 +0000)]
openssl: Fixed compilation warning when /Wall enabled

warning C4706: assignment within conditional expression

8 years agoCODE_STYLE: Use boolean conditions
Steve Holme [Sun, 20 Mar 2016 11:51:11 +0000 (11:51 +0000)]
CODE_STYLE: Use boolean conditions

Rather than use TRUE, FALSE, NULL, 0 or != 0 in if/while conditions.

Additionally, corrected some example code to adhere to the recommended
coding style.

8 years agoinet_pton.c: Fixed compilation warnings
Steve Holme [Sun, 20 Mar 2016 11:14:58 +0000 (11:14 +0000)]
inet_pton.c: Fixed compilation warnings

warning: conversion to 'unsigned char' from 'int' may alter its value

8 years agoRELEASE-NOTES: synced with 80851028efc2fa9
Daniel Stenberg [Sat, 19 Mar 2016 21:46:09 +0000 (22:46 +0100)]
RELEASE-NOTES: synced with 80851028efc2fa9

8 years agombedtls: fix compiler warning
Daniel Stenberg [Sat, 19 Mar 2016 21:37:21 +0000 (22:37 +0100)]
mbedtls: fix compiler warning

vtls/mbedtls.h:67:36: warning: implicit declaration of function
‘mbedtls_sha256’ [-Wimplicit-function-declaration]

8 years agoeasy: Minor coding standard and style updates
Steve Holme [Sat, 19 Mar 2016 20:37:12 +0000 (20:37 +0000)]
easy: Minor coding standard and style updates

Following commit c5744340db. Additionally removes the need for a second
'result code' variable as well.

8 years agoeasy: Remove poll failure check in easy_transfer
Jay Satiro [Sat, 19 Mar 2016 19:29:52 +0000 (15:29 -0400)]
easy: Remove poll failure check in easy_transfer

.. because curl_multi_wait can no longer signal poll failure.

follow-up to 77e1726

Bug: https://github.com/curl/curl/issues/707

8 years agobuild: Added missing Visual Studio filter files for VC10 onwards
Steve Holme [Sat, 19 Mar 2016 17:57:43 +0000 (17:57 +0000)]
build: Added missing Visual Studio filter files for VC10 onwards

As these files don't need to contain references to the source files,
although typically do, added basic files which only include three
filters and don't require the project file generator to be modified.

These files allow the source code to be viewed in the Solution Explorer
in versions of Visual Studio from 2010 onwards in the same manner as
previous versions did rather than one large view of files.

8 years agoftp/imap/pop3/smtp: Fixed compilation warning when /Wall enabled
Steve Holme [Sat, 19 Mar 2016 17:15:53 +0000 (17:15 +0000)]
ftp/imap/pop3/smtp: Fixed compilation warning when /Wall enabled

warning C4706: assignment within conditional expression

8 years agoconfig-w32.h: Fixed compilation warning when /Wall enabled
Steve Holme [Sat, 19 Mar 2016 11:05:06 +0000 (11:05 +0000)]
config-w32.h: Fixed compilation warning when /Wall enabled

warning C4668: 'USE_IPV6' is not defined as a preprocessor macro,
               replacing with '0' for '#if/#elif'

8 years agoimap.c: Fixed compilation warning with /Wall enabled
Steve Holme [Sat, 19 Mar 2016 11:01:36 +0000 (11:01 +0000)]
imap.c: Fixed compilation warning with /Wall enabled

warning C4701: potentially uninitialized local variable 'size' used

Technically this can't happen, as the usage of 'size' is protected by
'if(parsed)' and 'parsed' is only set after 'size' has been parsed.

Anyway, lets keep the compiler happy.

8 years agoKNOWN_BUGS: #93 Issue with CURLFORM_CONTENTLEN in arrays on 32-bit platforms
Steve Holme [Sat, 19 Mar 2016 00:06:36 +0000 (00:06 +0000)]
KNOWN_BUGS: #93 Issue with CURLFORM_CONTENTLEN in arrays on 32-bit platforms

8 years agobump: the coming release is 7.48.0
Daniel Stenberg [Fri, 18 Mar 2016 20:59:53 +0000 (21:59 +0100)]
bump: the coming release is 7.48.0

8 years agoconfigure: use cpp -P when needed
Daniel Stenberg [Fri, 18 Mar 2016 15:26:05 +0000 (16:26 +0100)]
configure: use cpp -P when needed

Since gcc 5, the processor output can get split up on multiple lines
that made the configure script fail to figure out values from
definitions. The fix is to use cpp -P, and this fix now first checks if
cpp -P is necessary and then if cpp -P works before it uses that to
extract defined values.

Fixes #719

8 years agoformdata.c: Fixed compilation warning
Steve Holme [Fri, 18 Mar 2016 07:19:31 +0000 (07:19 +0000)]
formdata.c: Fixed compilation warning

formdata.c:390: warning: cast from pointer to integer of different size

Introduced in commit ca5f9341ef this happens because a char*, which is
32-bits wide in 32-bit land, is being cast to a curl_off_t which is
64-bits wide where 64-bit integers are supported by the compiler.

This doesn't happen in 64-bit land as a pointer is the same size as a
curl_off_t.

This fix doesn't address the fact that a 64-bit value cannot be used
for CURLFORM_CONTENTLEN when set in a form array and compiled on a
32-bit platforms, it does at least suppress the compilation warning.

8 years agoFAQ: 2.5 Install libcurl for both 32bit and 64bit?
Daniel Stenberg [Fri, 18 Mar 2016 07:14:05 +0000 (08:14 +0100)]
FAQ: 2.5 Install libcurl for both 32bit and 64bit?

8 years agoopenssl: adapt to API breakage in ERR_remove_thread_state()
Gisle Vanem [Thu, 17 Mar 2016 09:42:33 +0000 (10:42 +0100)]
openssl: adapt to API breakage in ERR_remove_thread_state()

The OpenSSL API change that broke this is "Convert ERR_STATE to new
multi-threading API": openssl commit 8509dcc.

Closes #713

8 years agoversion: init moved to private name space, added protos
Daniel Stenberg [Wed, 16 Mar 2016 23:55:46 +0000 (00:55 +0100)]
version: init moved to private name space, added protos

follow-up to 80015cdd52145

8 years agoopenssl: verbose: show matching SAN pattern
Daniel Stenberg [Wed, 16 Mar 2016 10:02:33 +0000 (11:02 +0100)]
openssl: verbose: show matching SAN pattern

... to allow users to see which specfic wildcard that matched when such
is used.

Also minor logic cleanup to simplify the code, and I removed all tabs
from verbose strings.

8 years agoversion: thread safety
Jay Satiro [Wed, 16 Mar 2016 23:13:42 +0000 (19:13 -0400)]
version: thread safety

8 years agotransfer: Removed redundant HTTP authentication include files
Steve Holme [Wed, 16 Mar 2016 07:13:16 +0000 (07:13 +0000)]
transfer: Removed redundant HTTP authentication include files

It would also seem that share.h is not required here either as there
are no references to the Curl_share structure or functions.

8 years agoeasy: Removed redundant HTTP authentication include files
Steve Holme [Wed, 16 Mar 2016 06:59:42 +0000 (06:59 +0000)]
easy: Removed redundant HTTP authentication include files

8 years agoCURLOPT_SSLENGINE.3: Only for OpenSSL built with engine support
Jay Satiro [Tue, 15 Mar 2016 20:00:36 +0000 (16:00 -0400)]
CURLOPT_SSLENGINE.3: Only for OpenSSL built with engine support

Bug: https://curl.haxx.se/mail/lib-2016-03/0150.html
Reported-by: Oliver Graute
8 years agocurl_sasl: Minor code indent fixes
Steve Holme [Tue, 15 Mar 2016 06:47:13 +0000 (06:47 +0000)]
curl_sasl: Minor code indent fixes

8 years agoruntests: mention when run event-based
Daniel Stenberg [Mon, 14 Mar 2016 14:39:16 +0000 (15:39 +0100)]
runtests: mention when run event-based

8 years agoeasy: add check to malloc() when running event-based
Daniel Stenberg [Mon, 14 Mar 2016 14:37:03 +0000 (15:37 +0100)]
easy: add check to malloc() when running event-based

... to allow torture tests then too.

8 years agomemdebug: skip logging the limit countdown, fflush when reached
Daniel Stenberg [Mon, 14 Mar 2016 14:36:40 +0000 (15:36 +0100)]
memdebug: skip logging the limit countdown, fflush when reached

8 years agoCODE_STYLE: Space around operators
Daniel Stenberg [Mon, 14 Mar 2016 13:31:14 +0000 (14:31 +0100)]
CODE_STYLE: Space around operators

As just discussed on the mailing list, also document how we prefer
spacing in expressions.

8 years agocurl: glob_range: no need to check unsigned variable for negative
Daniel Stenberg [Mon, 14 Mar 2016 09:50:53 +0000 (10:50 +0100)]
curl: glob_range: no need to check unsigned variable for negative

cppcheck warned:

[src/tool_urlglob.c:283]: (style) Checking if unsigned variable 'step_n'
is less than zero.

8 years agoCODE_STYLE: add example for indent style as well
Daniel Stenberg [Mon, 14 Mar 2016 09:40:02 +0000 (10:40 +0100)]
CODE_STYLE: add example for indent style as well

8 years agoCODE_STYLE: mention braces for functions too
Daniel Stenberg [Mon, 14 Mar 2016 09:36:51 +0000 (10:36 +0100)]
CODE_STYLE: mention braces for functions too

8 years agodocs/Makefile.am: include CODE_STYLE in tarball too
Daniel Stenberg [Mon, 14 Mar 2016 09:31:36 +0000 (10:31 +0100)]
docs/Makefile.am: include CODE_STYLE in tarball too

8 years agoCONTRIBUTE: moved out code style to a separate document
Daniel Stenberg [Mon, 14 Mar 2016 09:31:00 +0000 (10:31 +0100)]
CONTRIBUTE: moved out code style to a separate document

8 years agoCODE_STYLE: initial version
Daniel Stenberg [Mon, 14 Mar 2016 09:28:54 +0000 (10:28 +0100)]
CODE_STYLE: initial version

Ripped out from CONTRIBUTE into its own document, but also extended from
there.

8 years agocurl_sasl.c: minor code indent fixes
Daniel Stenberg [Mon, 14 Mar 2016 08:55:38 +0000 (09:55 +0100)]
curl_sasl.c: minor code indent fixes

8 years agomulti: simplified singlesocket
Daniel Stenberg [Mon, 14 Mar 2016 08:44:14 +0000 (09:44 +0100)]
multi: simplified singlesocket

Since sh_getentry() now checks for invalid sockets itself and by
narrowing the scope of the remove_sock_from_hash variable.

8 years agomulti: introduce sh_getentry() for looking up sockets in the sockhash
Daniel Stenberg [Mon, 14 Mar 2016 08:18:01 +0000 (09:18 +0100)]
multi: introduce sh_getentry() for looking up sockets in the sockhash

Simplify the code by using a single entry that looks for a socket in the
socket hash. As indicated in #712, the code looked for CURL_SOCKET_BAD
at some point and that is ineffective/wrong and this makes it easier to
avoid that.

8 years agomulti hash: ensure modulo performed on curl_socket_t
Jaime Fullaondo [Sun, 13 Mar 2016 06:19:20 +0000 (01:19 -0500)]
multi hash: ensure modulo performed on curl_socket_t

Closes #712

8 years agobase64: Minor coding standard and style updates
Steve Holme [Sun, 13 Mar 2016 17:59:06 +0000 (17:59 +0000)]
base64: Minor coding standard and style updates

8 years agobase64: Use 'CURLcode result' for curl result codes
Steve Holme [Sun, 13 Mar 2016 17:14:57 +0000 (17:14 +0000)]
base64: Use 'CURLcode result' for curl result codes

8 years agonegotiate: Use 'CURLcode result' for curl result codes
Steve Holme [Sun, 13 Mar 2016 17:09:58 +0000 (17:09 +0000)]
negotiate: Use 'CURLcode result' for curl result codes

8 years agomulti_runsingle: avoid loop in CURLM_STATE_WAITPROXYCONNECT
Maksim Kuzevanov [Mon, 7 Mar 2016 16:37:49 +0000 (19:37 +0300)]
multi_runsingle: avoid loop in CURLM_STATE_WAITPROXYCONNECT

Closes #703

8 years agoTODO: Use the RFC6265 test suite
Daniel Stenberg [Sun, 13 Mar 2016 10:01:53 +0000 (11:01 +0100)]
TODO: Use the RFC6265 test suite

8 years agochecksrc.bat: Added the ability to scan src and lib source independently
Steve Holme [Sun, 13 Mar 2016 01:01:33 +0000 (01:01 +0000)]
checksrc.bat: Added the ability to scan src and lib source independently

8 years agodigest: Use boolean based success code for Curl_sasl_digest_get_pair()
Steve Holme [Sat, 12 Mar 2016 17:25:15 +0000 (17:25 +0000)]
digest: Use boolean based success code for Curl_sasl_digest_get_pair()

Rather than use a 0 and 1 integer base result code use a TRUE / FALSE
based success code.

8 years agodigest: Corrected some typos in comments
Steve Holme [Sat, 12 Mar 2016 13:20:03 +0000 (13:20 +0000)]
digest: Corrected some typos in comments

8 years agokrb5: Corrected some typos in function descriptions
Steve Holme [Sat, 12 Mar 2016 11:59:52 +0000 (11:59 +0000)]
krb5: Corrected some typos in function descriptions

8 years agontlm: Corrected some typos in function descriptions
Steve Holme [Sat, 12 Mar 2016 11:56:10 +0000 (11:56 +0000)]
ntlm: Corrected some typos in function descriptions

8 years agourl: Corrected indentation when calling idna_to_ascii_lz()
Steve Holme [Fri, 11 Mar 2016 07:46:09 +0000 (07:46 +0000)]
url: Corrected indentation when calling idna_to_ascii_lz()

8 years agoidn_win32: Use boolean based success codes
Steve Holme [Fri, 11 Mar 2016 07:24:39 +0000 (07:24 +0000)]
idn_win32: Use boolean based success codes

Rather than use 0 and 1 integer base result codes use a FALSE / TRUE
based success code.

8 years agoidn_win32.c: warning: Trailing whitespace
Daniel Stenberg [Thu, 10 Mar 2016 22:32:45 +0000 (23:32 +0100)]
idn_win32.c: warning: Trailing whitespace

8 years agoidn_win32.c: Fixed compilation warning from commit 9e7fcd4291
Steve Holme [Thu, 10 Mar 2016 21:52:09 +0000 (21:52 +0000)]
idn_win32.c: Fixed compilation warning from commit 9e7fcd4291

warning C4267: 'function': conversion from 'size_t' to 'int',
               possible loss of data

8 years agoTHANKS-filter: unify Michael König
Daniel Stenberg [Thu, 10 Mar 2016 13:10:05 +0000 (14:10 +0100)]
THANKS-filter: unify Michael König

8 years agoRELEASE-NOTES: synced with 863c5766dd
Daniel Stenberg [Thu, 10 Mar 2016 13:09:44 +0000 (14:09 +0100)]
RELEASE-NOTES: synced with 863c5766dd

8 years agoftp: remove a check for NULL(!)
Daniel Stenberg [Thu, 10 Mar 2016 12:52:22 +0000 (13:52 +0100)]
ftp: remove a check for NULL(!)

... as it implies we need to check for that on all the other variable
references as well (as Coverity otherwise warns us for missing NULL
checks), and we're alredy making sure that the pointer is never NULL.

8 years agocookies: first n/v pair in Set-Cookie: is the cookie, then parameters
Daniel Stenberg [Thu, 10 Mar 2016 10:20:56 +0000 (11:20 +0100)]
cookies: first n/v pair in Set-Cookie: is the cookie, then parameters

RFC 6265 section 4.1.1 spells out that the first name/value pair in the
header is the actual cookie name and content, while the following are
the parameters.

libcurl previously had a more liberal approach which causes significant
problems when introducing new cookie parameters, like the suggested new
cookie priority draft.

The previous logic read all n/v pairs from left-to-right and the first
name used that wassn't a known parameter name would be used as the
cookie name, thus accepting "Set-Cookie: Max-Age=2; person=daniel" to be
a cookie named 'person' while an RFC 6265 compliant parser should
consider that to be a cookie named 'Max-Age' with an (unknown) parameter
'person'.

Fixes #709

8 years agokrb5: improved type handling to avoid clang compiler warnings
Daniel Stenberg [Thu, 10 Mar 2016 09:40:10 +0000 (10:40 +0100)]
krb5: improved type handling to avoid clang compiler warnings

8 years agourl.c: fix clang warning: no newline at end of file
Daniel Stenberg [Thu, 10 Mar 2016 08:36:49 +0000 (09:36 +0100)]
url.c: fix clang warning: no newline at end of file

8 years agocurl_multi_wait: never return -1 in 'numfds'
Daniel Stenberg [Wed, 9 Mar 2016 09:57:42 +0000 (10:57 +0100)]
curl_multi_wait: never return -1 in 'numfds'

Such a return value isn't documented but could still happen, and the
curl tool code checks for it. It would happen when the underlying
Curl_poll() function returns an error. Starting now we mask that error
as a user of curl_multi_wait() would have no way to handle it anyway.

Reported-by: Jay Satiro
Closes #707

8 years agoHTTP2.md: add CURL_HTTP_VERSION_2TLS and updated alt-svc link
Daniel Stenberg [Wed, 9 Mar 2016 10:09:39 +0000 (11:09 +0100)]
HTTP2.md: add CURL_HTTP_VERSION_2TLS and updated alt-svc link

8 years agocurl_multi_wait.3: add example
Daniel Stenberg [Wed, 9 Mar 2016 07:35:17 +0000 (08:35 +0100)]
curl_multi_wait.3: add example

8 years agoimap/pop3/smtp: Fixed connections upgraded with TLS are not reused
Steve Holme [Sat, 5 Mar 2016 20:10:11 +0000 (20:10 +0000)]
imap/pop3/smtp: Fixed connections upgraded with TLS are not reused

Regression since commit 710f14edba.

Bug: https://github.com/curl/curl/issues/422
Reported-by: Justin Ehlert
8 years agoopt-docs: fix heading macros
Jay Satiro [Tue, 8 Mar 2016 18:23:35 +0000 (13:23 -0500)]
opt-docs: fix heading macros

..SH should be .SH

Bug: https://github.com/curl/curl/issues/705
Reported-by: Eric S. Raymond
8 years agocookie: do not refuse cookies for localhost
Tim Rühsen [Wed, 2 Mar 2016 10:07:16 +0000 (11:07 +0100)]
cookie: do not refuse cookies for localhost

Closes #658

8 years agoftp_done: clear tunnel_state when secondary socket closes
Daniel Stenberg [Mon, 7 Mar 2016 23:07:14 +0000 (00:07 +0100)]
ftp_done: clear tunnel_state when secondary socket closes

Introducing a function for closing the secondary connection to make this
bug less likely to happen again.

Reported-by: daboul
Closes #701

8 years agoopenssl: use the correct OpenSSL/BoringSSL/LibreSSL in messages
Gisle Vanem [Tue, 8 Mar 2016 13:19:01 +0000 (14:19 +0100)]
openssl: use the correct OpenSSL/BoringSSL/LibreSSL in messages

8 years agoHTTP2.md: HTTP/2 by default for curl's HTTPS connections
Daniel Stenberg [Tue, 8 Mar 2016 07:15:47 +0000 (08:15 +0100)]
HTTP2.md: HTTP/2 by default for curl's HTTPS connections

8 years agopipeline: Sanity check pipeline pointer before accessing it.
Anders Bakken [Mon, 7 Mar 2016 19:38:26 +0000 (11:38 -0800)]
pipeline: Sanity check pipeline pointer before accessing it.

I got a crash with this stack:

curl/lib/url.c:2873 (Curl_removeHandleFromPipeline)
curl/lib/url.c:2919 (Curl_getoff_all_pipelines)
curl/lib/multi.c:561 (curl_multi_remove_handle)
curl/lib/url.c:415 (Curl_close)
curl/lib/easy.c:859 (curl_easy_cleanup)

Closes #704

8 years agoHTTP2.md: mention the disable ALPN and NPN options
Daniel Stenberg [Mon, 7 Mar 2016 23:02:52 +0000 (00:02 +0100)]
HTTP2.md: mention the disable ALPN and NPN options

8 years agoTODO: 17.12 keep running, read instructions from pipe/socket
Daniel Stenberg [Mon, 7 Mar 2016 22:21:50 +0000 (23:21 +0100)]
TODO: 17.12 keep running, read instructions from pipe/socket

And delete trailing whitespace
And rename section 17 to "command line tool" from "client"

Closes #702

8 years agoREADME.md: linkified
Daniel Stenberg [Mon, 7 Mar 2016 10:09:56 +0000 (11:09 +0100)]
README.md: linkified

It also makes it less readable as plain text, so let's keep this
primarily for github use.

Removed the top ascii art logo, as it looks weird when markdownified.