]> granicus.if.org Git - curl/log
curl
8 years agourl.c: Prefer we don't use explicit NULLs in conditions
Steve Holme [Wed, 20 Apr 2016 17:07:05 +0000 (18:07 +0100)]
url.c: Prefer we don't use explicit NULLs in conditions

Fixed commit fa5fa65a30 to not use NULLs in if condition.

8 years agoNTLM: check for NULL pointer before deferencing
Isaac Boukris [Sat, 16 Apr 2016 08:49:09 +0000 (11:49 +0300)]
NTLM: check for NULL pointer before deferencing

At ConnectionExists, both check->proxyuser and check->proxypasswd
could be NULL, so make sure to check first.

Fixes #765

8 years agotests: added test1517
Karlson2k [Thu, 17 Mar 2016 17:04:20 +0000 (20:04 +0300)]
tests: added test1517

... for checking ability to receive full HTTP response when POST request
is used with slow read callback function.

This test checks for bug #657 and verifies the work-around from
72d5e144fbc6.

Closes #720

8 years agosendf.c: added ability to call recv() before send() as workaround
Karlson2k [Fri, 19 Feb 2016 19:38:20 +0000 (22:38 +0300)]
sendf.c: added ability to call recv() before send() as workaround

WinSock destroys recv() buffer if send() is failed. As result - server
response may be lost if server sent it while curl is still sending
request. This behavior noticeable on HTTP server short replies if
libcurl use several send() for request (usually for POST request).
To workaround this problem, libcurl use recv() before every send() and
keeps received data in intermediate buffer for further processing.

Fixes: #657
Closes: #668
8 years agoconnect: make sure that rc is initialized in singleipconnect()
Kamil Dudka [Tue, 19 Apr 2016 07:38:44 +0000 (09:38 +0200)]
connect: make sure that rc is initialized in singleipconnect()

This commit fixes a Clang warning introduced in curl-7_48_0-190-g8f72b13:

Error: CLANG_WARNING:
lib/connect.c:1120:11: warning: The right operand of '==' is a garbage value
1118|       }
1119|
1120|->     if(-1 == rc)
1121|         error = SOCKERRNO;
1122|     }

8 years agomake/checksrc: use $srcdir, not $top_srcdir
Daniel Stenberg [Tue, 19 Apr 2016 06:48:36 +0000 (08:48 +0200)]
make/checksrc: use $srcdir, not $top_srcdir

8 years agosrc/checksrc.whitelist: removed
Daniel Stenberg [Tue, 19 Apr 2016 06:43:13 +0000 (08:43 +0200)]
src/checksrc.whitelist: removed

8 years agotool_operate: switch to inline checksrc ignore
Daniel Stenberg [Tue, 19 Apr 2016 06:42:55 +0000 (08:42 +0200)]
tool_operate: switch to inline checksrc ignore

8 years agolib/checksrc.whitelist: not needed anymore
Daniel Stenberg [Tue, 19 Apr 2016 06:30:43 +0000 (08:30 +0200)]
lib/checksrc.whitelist: not needed anymore

... as checksrc now skips comments

8 years agovtls.h: remove a space before semicolon
Daniel Stenberg [Tue, 19 Apr 2016 06:41:15 +0000 (08:41 +0200)]
vtls.h: remove a space before semicolon

... that the new checksrc detected

8 years agodarwinssl: removed commented out code
Daniel Stenberg [Tue, 19 Apr 2016 06:32:14 +0000 (08:32 +0200)]
darwinssl: removed commented out code

8 years agohttp_chunks: removed checksrc disable
Daniel Stenberg [Tue, 19 Apr 2016 06:31:33 +0000 (08:31 +0200)]
http_chunks: removed checksrc disable

... since checksrc now skips comments

8 years agoimap: inlined checksrc disable instead of whitelist edit
Daniel Stenberg [Tue, 19 Apr 2016 06:31:11 +0000 (08:31 +0200)]
imap: inlined checksrc disable instead of whitelist edit

8 years agochecksrc: taught to skip comments
Daniel Stenberg [Tue, 19 Apr 2016 06:30:13 +0000 (08:30 +0200)]
checksrc: taught to skip comments

... but output non-stripped version of the line, even if that then can
make the script identify the wrong position in the line at
times. Showing the line stripped (ie without comments) is just too
surprising.

8 years agoopts/Makefile.am: list all docs file one by one
Daniel Stenberg [Tue, 19 Apr 2016 05:59:35 +0000 (07:59 +0200)]
opts/Makefile.am: list all docs file one by one

... to make it easier to add lines in patches that won't just break all
other patches trying to add lines too.

8 years agocurl_easy_setopt.3: mention CURLOPT_TCP_FASTOPEN
Daniel Stenberg [Mon, 18 Apr 2016 22:48:56 +0000 (00:48 +0200)]
curl_easy_setopt.3: mention CURLOPT_TCP_FASTOPEN

8 years agoRELEASE-NOTES: synced with 03de4e4b219
Daniel Stenberg [Mon, 18 Apr 2016 22:39:27 +0000 (00:39 +0200)]
RELEASE-NOTES: synced with 03de4e4b219

(since we just merged two major features)

8 years agoconnect: implement TCP Fast Open for Linux
Alessandro Ghedini [Sun, 3 Apr 2016 12:08:28 +0000 (13:08 +0100)]
connect: implement TCP Fast Open for Linux

Closes #660

8 years agotool: add --tcp-fastopen option
Alessandro Ghedini [Tue, 16 Feb 2016 12:21:34 +0000 (12:21 +0000)]
tool: add --tcp-fastopen option

8 years agoconnect: implement TCP Fast Open for OS X
Alessandro Ghedini [Tue, 16 Feb 2016 12:21:22 +0000 (12:21 +0000)]
connect: implement TCP Fast Open for OS X

8 years agourl: add CURLOPT_TCP_FASTOPEN option
Alessandro Ghedini [Tue, 16 Feb 2016 12:21:03 +0000 (12:21 +0000)]
url: add CURLOPT_TCP_FASTOPEN option

8 years agochecksrc: pass on -D so the whitelists are found correctly
Daniel Stenberg [Mon, 18 Apr 2016 18:10:52 +0000 (20:10 +0200)]
checksrc: pass on -D so the whitelists are found correctly

8 years agoconfigure: remove check for libresolve
Daniel Stenberg [Mon, 18 Apr 2016 13:53:24 +0000 (15:53 +0200)]
configure: remove check for libresolve

'strncasecmp' was once provided by libresolv (no trailing e) for SunOS,
but this check is broken and most likely adds nothing useful. Removing
now.

Reported-by: Irfan Adilovic
Discussed in #770

8 years agoscripts/make: use $(EXEEXT) for executables
Daniel Stenberg [Mon, 18 Apr 2016 13:50:57 +0000 (15:50 +0200)]
scripts/make: use $(EXEEXT) for executables

Reported-by: bodop
Fixes #771

8 years agoincludes: avoid duplicate memory callback typdefs even harder
Daniel Stenberg [Mon, 18 Apr 2016 13:04:17 +0000 (15:04 +0200)]
includes: avoid duplicate memory callback typdefs even harder

8 years agochecksrc/makefile.am: use $top_srcdir to find source files
Daniel Stenberg [Mon, 18 Apr 2016 12:58:11 +0000 (14:58 +0200)]
checksrc/makefile.am: use $top_srcdir to find source files

... to properly support out of source tree builds.

8 years agoRELEASE-NOTES: synced with 26ec93dd6aeba8dfb5
Daniel Stenberg [Mon, 18 Apr 2016 10:38:22 +0000 (12:38 +0200)]
RELEASE-NOTES: synced with 26ec93dd6aeba8dfb5

8 years agoopts: fix option references missing (section)
Daniel Stenberg [Sun, 17 Apr 2016 22:02:29 +0000 (00:02 +0200)]
opts: fix option references missing (section)

8 years agonews: CURLOPT_CONNECT_TO and --connect-to
Michael Kaufmann [Mon, 25 Jan 2016 13:37:24 +0000 (14:37 +0100)]
news: CURLOPT_CONNECT_TO and --connect-to

Makes curl connect to the given host+port instead of the host+port found
in the URL.

8 years agomakefile.vc6: use d suffix on debug object
Daniel Stenberg [Sun, 17 Apr 2016 15:16:21 +0000 (17:16 +0200)]
makefile.vc6: use d suffix on debug object

To allow both release and debug builds in parallel.

Reported-by: Rod Widdowson
Fixes #769

8 years agohttp2: Use size_t type for data drain count
Jay Satiro [Tue, 12 Apr 2016 04:37:44 +0000 (00:37 -0400)]
http2: Use size_t type for data drain count

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

8 years agohttp2: Improve header parsing
Jay Satiro [Thu, 3 Mar 2016 06:24:27 +0000 (01:24 -0500)]
http2: Improve header parsing

- Error if a header line is larger than supported.

- Warn if cumulative header line length may be larger than supported.

- Allow spaces when parsing the path component.

- Make sure each header line ends in \r\n. This fixes an out of bounds.

- Disallow header continuation lines until we decide what to do.

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

8 years agohttp2: Add Curl_http2_strerror for HTTP/2 error codes
Jay Satiro [Thu, 3 Mar 2016 05:47:46 +0000 (00:47 -0500)]
http2: Add Curl_http2_strerror for HTTP/2 error codes

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

8 years agohttp2: Don't increment drain when one header field is received
Tatsuhiro Tsujikawa [Wed, 24 Feb 2016 13:10:37 +0000 (22:10 +0900)]
http2: Don't increment drain when one header field is received

Sicne we write header field in temporary location, not in the memory
that upper layer provides, incrementing drain should not happen.

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

8 years agohttp2: Ensure that http2_handle_stream_close is called
Tatsuhiro Tsujikawa [Tue, 23 Feb 2016 14:33:04 +0000 (23:33 +0900)]
http2: Ensure that http2_handle_stream_close is called

This commit ensures that streams which was closed in on_stream_close
callback gets passed to http2_handle_stream_close.  Previously, this
might not happen.  To achieve this, we increment drain property to
forcibly call recv function for that stream.

To more accurately check that we have no pending event before shutting
down HTTP/2 session, we sum up drain property into
http_conn.drain_total.  We only shutdown session if that value is 0.

With this commit, when stream was closed before reading response
header fields, error code CURLE_HTTP2_STREAM is returned even if
HTTP/2 level error is NO_ERROR.  This signals the upper layer that
stream was closed by error just like TCP connection close in HTTP/1.

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

8 years agohttp2: Process paused data first before tear down http2 session
Tatsuhiro Tsujikawa [Mon, 22 Feb 2016 12:20:38 +0000 (21:20 +0900)]
http2: Process paused data first before tear down http2 session

This commit ensures that data from network are processed before HTTP/2
session is terminated.  This is achieved by pausing nghttp2 whenever
different stream than current easy handle receives data.

This commit also fixes the bug that sometimes processing hangs when
multiple HTTP/2 streams are multiplexed.

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

8 years agohttp2: Check session closure early in http2_recv
Tatsuhiro Tsujikawa [Fri, 19 Feb 2016 15:05:47 +0000 (00:05 +0900)]
http2: Check session closure early in http2_recv

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

8 years agohttp2: Add handling stream level error
Tatsuhiro Tsujikawa [Wed, 17 Feb 2016 12:36:59 +0000 (21:36 +0900)]
http2: Add handling stream level error

Previously, when a stream was closed with other than NGHTTP2_NO_ERROR
by RST_STREAM, underlying TCP connection was dropped.  This is
undesirable since there may be other streams multiplexed and they are
very much fine.  This change introduce new error code
CURLE_HTTP2_STREAM, which indicates stream error that only affects the
relevant stream, and connection should be kept open.  The existing
CURLE_HTTP2 means connection error in general.

Ref: https://github.com/curl/curl/issues/659
Ref: https://github.com/curl/curl/pull/663

8 years agohttp2: drain the socket better...
Daniel Stenberg [Mon, 11 Apr 2016 14:00:15 +0000 (16:00 +0200)]
http2: drain the socket better...

... but ignore EAGAIN if the stream has ended so that we don't end up in
a loop. This is a follow-up to c8ab613 in order to avoid the problem
d261652 was made to fix.

Reported-by: Jay Satiro
Clues-provided-by: Tatsuhiro Tsujikawa
Discussed in #750

8 years agoKNOWN_BUGS: added info for "Hangs with PolarSSL"
Daniel Stenberg [Sun, 10 Apr 2016 22:06:37 +0000 (00:06 +0200)]
KNOWN_BUGS: added info for "Hangs with PolarSSL"

8 years agoKNOWN_BUGS: 1.9 HTTP/2 frames while in the connection pool kill reuse
Daniel Stenberg [Sun, 10 Apr 2016 21:52:40 +0000 (23:52 +0200)]
KNOWN_BUGS: 1.9 HTTP/2 frames while in the connection pool kill reuse

Closes #750

8 years agobuild: include scripts/ in the dist
Daniel Stenberg [Sat, 9 Apr 2016 21:44:53 +0000 (23:44 +0200)]
build: include scripts/ in the dist

8 years agoCURLOPT_SOCKS5_GSSAPI_SERVICE: Merged with CURLOPT_PROXY_SERVICE_NAME
Steve Holme [Sat, 9 Apr 2016 19:47:05 +0000 (20:47 +0100)]
CURLOPT_SOCKS5_GSSAPI_SERVICE: Merged with CURLOPT_PROXY_SERVICE_NAME

As these two options provide identical functionality, the former for
SOCK5 proxies and the latter for HTTP proxies, merged the two options
together.

As such CURLOPT_SOCKS5_GSSAPI_SERVICE is marked as deprecated as of
7.49.0.

8 years agourldata: Use bool for socks5_gssapi_nec as it is a flag
Steve Holme [Sat, 9 Apr 2016 16:19:21 +0000 (17:19 +0100)]
urldata: Use bool for socks5_gssapi_nec as it is a flag

This value is set to TRUE or FALSE so should be a bool and not a long.

8 years agourl: Ternary operator code style changes
Steve Holme [Sat, 9 Apr 2016 16:17:37 +0000 (17:17 +0100)]
url: Ternary operator code style changes

8 years agoCODE_STYLE: Added ternary operator example to 'Space around operators'
Steve Holme [Sat, 9 Apr 2016 16:04:46 +0000 (17:04 +0100)]
CODE_STYLE: Added ternary operator example to 'Space around operators'

Following conversation on the libcurl mailing list.

8 years agosasl: Fixed compilation errors from commit 9d89a0387
Steve Holme [Sat, 9 Apr 2016 04:57:10 +0000 (05:57 +0100)]
sasl: Fixed compilation errors from commit 9d89a0387

...when GSS-API or Windows SSPI are not used.

8 years agourl: Corrected comments following 9d89a0387
Steve Holme [Sat, 9 Apr 2016 04:33:03 +0000 (05:33 +0100)]
url: Corrected comments following 9d89a0387

8 years agodocs: Added clarification following commit 9d89a0387
Steve Holme [Fri, 8 Apr 2016 20:45:08 +0000 (21:45 +0100)]
docs: Added clarification following commit 9d89a0387

8 years agoMakefile: Fixed echo of checksrc check
Steve Holme [Fri, 8 Apr 2016 19:36:29 +0000 (20:36 +0100)]
Makefile: Fixed echo of checksrc check

8 years agochecksrc: Fix issue with the autobuilds not picking up the whitelist
Steve Holme [Fri, 8 Apr 2016 19:32:40 +0000 (20:32 +0100)]
checksrc: Fix issue with the autobuilds not picking up the whitelist

8 years agochecksrc: Added missing vauth and vtls directories
Steve Holme [Fri, 8 Apr 2016 19:22:14 +0000 (20:22 +0100)]
checksrc: Added missing vauth and vtls directories

8 years agoftp/imap/pop3/smtp: Allow the service name to be overridden
Steve Holme [Fri, 8 Apr 2016 17:59:33 +0000 (18:59 +0100)]
ftp/imap/pop3/smtp: Allow the service name to be overridden

Allow the service name to be overridden for DIGIST-MD5 and Kerberos 5
authentication in FTP, IMAP, POP3 and SMTP.

8 years agohttp_negotiate: Calculate service name and proxy service name locally
Steve Holme [Fri, 8 Apr 2016 17:41:41 +0000 (18:41 +0100)]
http_negotiate: Calculate service name and proxy service name locally

Calculate the service name and proxy service names locally, rather than
in url.c which will allow for us to support overriding the service name
for other protocols such as FTP, IMAP, POP3 and SMTP.

8 years agoROADMAP: Updated following the move of the authentication code
Steve Holme [Fri, 8 Apr 2016 16:04:25 +0000 (17:04 +0100)]
ROADMAP: Updated following the move of the authentication code

8 years agoKNOWN_BUGS: openldap hangs. TODO: binary SASL.
Patrick Monnerat [Fri, 8 Apr 2016 14:49:49 +0000 (16:49 +0200)]
KNOWN_BUGS: openldap hangs. TODO: binary SASL.

8 years agoKNOWN_BUGS: 5.6 Improper use of Autoconf cache variables
Daniel Stenberg [Fri, 8 Apr 2016 11:25:20 +0000 (13:25 +0200)]
KNOWN_BUGS: 5.6 Improper use of Autoconf cache variables

Closes #603

8 years agoKNOWN_BUGS: 11.2 error buffer not set...
Daniel Stenberg [Fri, 8 Apr 2016 11:23:28 +0000 (13:23 +0200)]
KNOWN_BUGS: 11.2 error buffer not set...

Closes #544

8 years agoKNOWN_BUGS: 11.1 Curl leaks .onion hostnames in DNS
Daniel Stenberg [Fri, 8 Apr 2016 11:21:52 +0000 (13:21 +0200)]
KNOWN_BUGS: 11.1 Curl leaks .onion hostnames in DNS

Closes #543

8 years agoKNOWN_BUGS: 1.8 DNS timing is wrong for HTTP redirects
Daniel Stenberg [Fri, 8 Apr 2016 11:03:37 +0000 (13:03 +0200)]
KNOWN_BUGS: 1.8 DNS timing is wrong for HTTP redirects

Closes #522

8 years agoTODO: HTTP/2 "prior knowledge" is implemented!
Daniel Stenberg [Fri, 8 Apr 2016 08:57:25 +0000 (10:57 +0200)]
TODO: HTTP/2 "prior knowledge" is implemented!

8 years agombedtls: fix MBEDTLS_DEBUG builds
Damien Vielpeau [Thu, 7 Apr 2016 13:58:11 +0000 (15:58 +0200)]
mbedtls: fix MBEDTLS_DEBUG builds

8 years agombedtls: implement and provide *_data_pending()
Daniel Stenberg [Thu, 7 Apr 2016 14:10:10 +0000 (16:10 +0200)]
mbedtls: implement and provide *_data_pending()

... as otherwise we might get stuck thinking there's no more data to
handle.

Reported-by: Damien Vielpeau
Fixes #737

8 years agombedtls: follow-up for the previous commit
Daniel Stenberg [Thu, 7 Apr 2016 13:32:18 +0000 (15:32 +0200)]
mbedtls: follow-up for the previous commit

8 years agombedtls.c: name space pollution fix, Use 'Curl_'
Daniel Stenberg [Thu, 7 Apr 2016 13:19:35 +0000 (15:19 +0200)]
mbedtls.c: name space pollution fix, Use 'Curl_'

8 years agombedtls.c: changed private prefix to mbed_
Daniel Stenberg [Thu, 7 Apr 2016 13:16:01 +0000 (15:16 +0200)]
mbedtls.c: changed private prefix to mbed_

mbedtls_ is the prefix used by the mbedTLS library itself so we should
avoid using that for our private functions.

8 years agombedtls.h: fix compiler warnings
Daniel Stenberg [Thu, 7 Apr 2016 13:11:05 +0000 (15:11 +0200)]
mbedtls.h: fix compiler warnings

8 years agoRevert "winbuild: trying to set some files eol=crlf for git"
Daniel Stenberg [Thu, 7 Apr 2016 06:06:56 +0000 (08:06 +0200)]
Revert "winbuild: trying to set some files eol=crlf for git"

This reverts commit 9c08b4f1e7eced5a4d3782a3e0daa484c9d77d21.

Didn't help. Caused problems.

Fixes #756

8 years agocurl.1: use example.com more
Daniel Stenberg [Wed, 6 Apr 2016 12:41:38 +0000 (14:41 +0200)]
curl.1: use example.com more

Make (most) example snippets use the example.com domain instead of the
random ones picked and used before. Some of those were probably
legitimate sites and some not. example.com is designed for this purpose.

8 years agoHTTP2: Add a space character after the status code
Michael Kaufmann [Wed, 6 Apr 2016 12:08:15 +0000 (14:08 +0200)]
HTTP2: Add a space character after the status code

The space character after the status code is mandatory, even if the
reason phrase is empty (see RFC 7230 section 3.1.2)

Closes #755

8 years agoURLs: change http to https in many places
Viktor Szakats [Wed, 6 Apr 2016 09:57:48 +0000 (11:57 +0200)]
URLs: change http to https in many places

Closes #754

8 years agowinbuild: trying to set some files eol=crlf for git
Daniel Stenberg [Wed, 6 Apr 2016 09:29:36 +0000 (11:29 +0200)]
winbuild: trying to set some files eol=crlf for git

Thinking it might help to apply patches etc with git.

8 years agocurl.1: change example for -F
Theodore Dubois [Tue, 5 Apr 2016 21:14:47 +0000 (14:14 -0700)]
curl.1: change example for -F

It's a bad idea to send your passwords anywhere, especially over HTTP.
Modified example to send a picture instead.

Fixes #752

8 years agoKNOWN_BUGS: reorganized and cleaned up
Daniel Stenberg [Wed, 6 Apr 2016 07:20:18 +0000 (09:20 +0200)]
KNOWN_BUGS: reorganized and cleaned up

Now sorted into categories and organized in the same style we do the
TODO document. It will make each issue linked properly on the
https://curl.haxx.se/docs/knownbugs.html web page.

The sections should make it easier to find issues and issues related to
areas of the reader's specific interest.

8 years agoKNOWN_BUGS: #95 curl in Windows can't handle Unicode arguments
Jay Satiro [Wed, 6 Apr 2016 06:43:13 +0000 (02:43 -0400)]
KNOWN_BUGS: #95 curl in Windows can't handle Unicode arguments

8 years agoKNOWN_BUGS: Use https://curl.haxx.se URL for github based issues
Steve Holme [Wed, 6 Apr 2016 00:23:02 +0000 (01:23 +0100)]
KNOWN_BUGS: Use https://curl.haxx.se URL for github based issues

8 years agoCHECKSRC.md: Corrected some typos
Steve Holme [Wed, 6 Apr 2016 00:00:01 +0000 (01:00 +0100)]
CHECKSRC.md: Corrected some typos

8 years agoRELEASE-NOTES: Corrected last updated
Steve Holme [Tue, 5 Apr 2016 23:26:12 +0000 (00:26 +0100)]
RELEASE-NOTES: Corrected last updated

Included a summary of the checksrc.bat updates and combined two krb5
changes as they should have been implemented at the same time.

8 years agovauth: Corrected a number of typos in comments
Steve Holme [Tue, 5 Apr 2016 23:21:07 +0000 (00:21 +0100)]
vauth: Corrected a number of typos in comments

Reported-by: Michael Osipov
8 years agoKNOWN_BUGS: #94 IMAP custom requests use the LIST handler
Jay Satiro [Tue, 5 Apr 2016 22:56:35 +0000 (18:56 -0400)]
KNOWN_BUGS: #94 IMAP custom requests use the LIST handler

Bug: https://github.com/curl/curl/issues/536
Reported-by: eXeC64@users.noreply.github.com
8 years agoKNOWN_BUGS: remove 68, 70 and 72.
Daniel Stenberg [Tue, 5 Apr 2016 21:40:37 +0000 (23:40 +0200)]
KNOWN_BUGS: remove 68, 70 and 72.

Due to their age (we don't fully know if they actually remain) and lack
of detail - very few people will bother to find out what they're about
or work on them. If people truly still suffer from any of these, I
assume they will be reported again and then we'll deal with them.

72. "Pausing pipeline problems."
  https://curl.haxx.se/mail/lib-2009-07/0214.html

70. Problem re-using easy handle after call to curl_multi_remove_handle
  https://curl.haxx.se/mail/lib-2009-07/0249.html

68. "More questions about ares behavior".
  https://curl.haxx.se/mail/lib-2009-08/0012.html

8 years agoKNOWN_BUGS: remove 92 and 88, fixed
Daniel Stenberg [Tue, 5 Apr 2016 21:39:42 +0000 (23:39 +0200)]
KNOWN_BUGS: remove 92 and 88, fixed

8 years agohttp2: fix connection reuse when PING comes after last DATA
Daniel Stenberg [Tue, 5 Apr 2016 18:27:38 +0000 (20:27 +0200)]
http2: fix connection reuse when PING comes after last DATA

It turns out the google GFE HTTP/2 servers send a PING frame immediately
after a stream ends and its last DATA has been received by curl. So if
we don't drain that from the socket, it makes the socket readable in
subsequent checks and libcurl then (wrongly) assumes the connection is
dead when trying to reuse the connection.

Reported-by: Joonas Kuorilehto
Discussed in #750

8 years agomulti: remove trailing space in debug output
Daniel Stenberg [Tue, 5 Apr 2016 14:36:45 +0000 (16:36 +0200)]
multi: remove trailing space in debug output

8 years agoRELEASE-NOTES: synced with 86e97b642fb
Daniel Stenberg [Mon, 4 Apr 2016 07:01:27 +0000 (09:01 +0200)]
RELEASE-NOTES: synced with 86e97b642fb

8 years agoCHECKSRC.md: mention cmdline options, fix the bullet list
Daniel Stenberg [Mon, 4 Apr 2016 06:36:21 +0000 (08:36 +0200)]
CHECKSRC.md: mention cmdline options, fix the bullet list

8 years agodocs/CHECKSRC.md: initial version
Daniel Stenberg [Sun, 3 Apr 2016 22:11:32 +0000 (00:11 +0200)]
docs/CHECKSRC.md: initial version

8 years agochecksrc.bat: Added support for the examples
Steve Holme [Sun, 3 Apr 2016 21:09:07 +0000 (22:09 +0100)]
checksrc.bat: Added support for the examples

8 years agolib/src: fix the checksrc invoke
Daniel Stenberg [Sun, 3 Apr 2016 21:06:44 +0000 (23:06 +0200)]
lib/src: fix the checksrc invoke

... now works correctly when invoke from the root makefile

8 years agonw: please the stricter checksrc
Daniel Stenberg [Sun, 3 Apr 2016 21:06:23 +0000 (23:06 +0200)]
nw: please the stricter checksrc

8 years agochecksrc.bat: Re-enabled the tests directory by default
Steve Holme [Sun, 3 Apr 2016 20:57:04 +0000 (21:57 +0100)]
checksrc.bat: Re-enabled the tests directory by default

Following the recent changes to the source in the tests directory,
re-enabled tests for the default scan.

8 years agochecksrc.bat: Added tests/server directory support
Steve Holme [Sun, 3 Apr 2016 20:53:32 +0000 (21:53 +0100)]
checksrc.bat: Added tests/server directory support

In addition to commit 83b174b3f0 and following the recent changes.

8 years agotests: Fixed header files to comply with our code style
Steve Holme [Sun, 3 Apr 2016 20:51:47 +0000 (21:51 +0100)]
tests: Fixed header files to comply with our code style

8 years agomake checksrc: run it in docs/examples too by default
Daniel Stenberg [Sun, 3 Apr 2016 20:51:29 +0000 (22:51 +0200)]
make checksrc: run it in docs/examples too by default

8 years agodocs/examples: remove spurious white spaces all over
Daniel Stenberg [Sun, 3 Apr 2016 20:51:52 +0000 (22:51 +0200)]
docs/examples: remove spurious white spaces all over

... to please the new, slightly picker, checksrc.pl

8 years agotests: fix make checksrc in servers/
Daniel Stenberg [Sun, 3 Apr 2016 20:42:31 +0000 (22:42 +0200)]
tests: fix make checksrc in servers/

8 years agotests: 'make checksrc' now checks server/ too
Daniel Stenberg [Sun, 3 Apr 2016 20:37:23 +0000 (22:37 +0200)]
tests: 'make checksrc' now checks server/ too

8 years agoroot/make: have checksrc run in include/curl too
Daniel Stenberg [Sun, 3 Apr 2016 18:32:08 +0000 (20:32 +0200)]
root/make: have checksrc run in include/curl too

8 years agotests/server: comply with our code style
Daniel Stenberg [Sun, 3 Apr 2016 20:35:43 +0000 (22:35 +0200)]
tests/server: comply with our code style

8 years agocode: style updates
Daniel Stenberg [Sun, 3 Apr 2016 18:28:34 +0000 (20:28 +0200)]
code: style updates