]>
granicus.if.org Git - curl/log
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.
Daniel Stenberg [Mon, 18 Apr 2016 22:48:56 +0000 (00:48 +0200)]
curl_easy_setopt.3: mention CURLOPT_TCP_FASTOPEN
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)
Alessandro Ghedini [Sun, 3 Apr 2016 12:08:28 +0000 (13:08 +0100)]
connect: implement TCP Fast Open for Linux
Closes #660
Alessandro Ghedini [Tue, 16 Feb 2016 12:21:34 +0000 (12:21 +0000)]
tool: add --tcp-fastopen option
Alessandro Ghedini [Tue, 16 Feb 2016 12:21:22 +0000 (12:21 +0000)]
connect: implement TCP Fast Open for OS X
Alessandro Ghedini [Tue, 16 Feb 2016 12:21:03 +0000 (12:21 +0000)]
url: add CURLOPT_TCP_FASTOPEN option
Daniel Stenberg [Mon, 18 Apr 2016 18:10:52 +0000 (20:10 +0200)]
checksrc: pass on -D so the whitelists are found correctly
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
Daniel Stenberg [Mon, 18 Apr 2016 13:50:57 +0000 (15:50 +0200)]
scripts/make: use $(EXEEXT) for executables
Reported-by: bodop
Fixes #771
Daniel Stenberg [Mon, 18 Apr 2016 13:04:17 +0000 (15:04 +0200)]
includes: avoid duplicate memory callback typdefs even harder
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.
Daniel Stenberg [Mon, 18 Apr 2016 10:38:22 +0000 (12:38 +0200)]
RELEASE-NOTES: synced with
26ec93dd6aeba8dfb5
Daniel Stenberg [Sun, 17 Apr 2016 22:02:29 +0000 (00:02 +0200)]
opts: fix option references missing (section)
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.
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
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
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
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
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
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
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
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
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
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
Daniel Stenberg [Sun, 10 Apr 2016 22:06:37 +0000 (00:06 +0200)]
KNOWN_BUGS: added info for "Hangs with PolarSSL"
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
Daniel Stenberg [Sat, 9 Apr 2016 21:44:53 +0000 (23:44 +0200)]
build: include scripts/ in the dist
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.
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.
Steve Holme [Sat, 9 Apr 2016 16:17:37 +0000 (17:17 +0100)]
url: Ternary operator code style changes
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.
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.
Steve Holme [Sat, 9 Apr 2016 04:33:03 +0000 (05:33 +0100)]
url: Corrected comments following
9d89a0387
Steve Holme [Fri, 8 Apr 2016 20:45:08 +0000 (21:45 +0100)]
docs: Added clarification following commit
9d89a0387
Steve Holme [Fri, 8 Apr 2016 19:36:29 +0000 (20:36 +0100)]
Makefile: Fixed echo of checksrc check
Steve Holme [Fri, 8 Apr 2016 19:32:40 +0000 (20:32 +0100)]
checksrc: Fix issue with the autobuilds not picking up the whitelist
Steve Holme [Fri, 8 Apr 2016 19:22:14 +0000 (20:22 +0100)]
checksrc: Added missing vauth and vtls directories
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.
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.
Steve Holme [Fri, 8 Apr 2016 16:04:25 +0000 (17:04 +0100)]
ROADMAP: Updated following the move of the authentication code
Patrick Monnerat [Fri, 8 Apr 2016 14:49:49 +0000 (16:49 +0200)]
KNOWN_BUGS: openldap hangs. TODO: binary SASL.
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
Daniel Stenberg [Fri, 8 Apr 2016 11:23:28 +0000 (13:23 +0200)]
KNOWN_BUGS: 11.2 error buffer not set...
Closes #544
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
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
Daniel Stenberg [Fri, 8 Apr 2016 08:57:25 +0000 (10:57 +0200)]
TODO: HTTP/2 "prior knowledge" is implemented!
Damien Vielpeau [Thu, 7 Apr 2016 13:58:11 +0000 (15:58 +0200)]
mbedtls: fix MBEDTLS_DEBUG builds
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
Daniel Stenberg [Thu, 7 Apr 2016 13:32:18 +0000 (15:32 +0200)]
mbedtls: follow-up for the previous commit
Daniel Stenberg [Thu, 7 Apr 2016 13:19:35 +0000 (15:19 +0200)]
mbedtls.c: name space pollution fix, Use 'Curl_'
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.
Daniel Stenberg [Thu, 7 Apr 2016 13:11:05 +0000 (15:11 +0200)]
mbedtls.h: fix compiler warnings
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
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.
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
Viktor Szakats [Wed, 6 Apr 2016 09:57:48 +0000 (11:57 +0200)]
URLs: change http to https in many places
Closes #754
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.
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
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.
Jay Satiro [Wed, 6 Apr 2016 06:43:13 +0000 (02:43 -0400)]
KNOWN_BUGS: #95 curl in Windows can't handle Unicode arguments
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
Steve Holme [Wed, 6 Apr 2016 00:00:01 +0000 (01:00 +0100)]
CHECKSRC.md: Corrected some typos
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.
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
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
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
Daniel Stenberg [Tue, 5 Apr 2016 21:39:42 +0000 (23:39 +0200)]
KNOWN_BUGS: remove 92 and 88, fixed
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
Daniel Stenberg [Tue, 5 Apr 2016 14:36:45 +0000 (16:36 +0200)]
multi: remove trailing space in debug output
Daniel Stenberg [Mon, 4 Apr 2016 07:01:27 +0000 (09:01 +0200)]
RELEASE-NOTES: synced with
86e97b642fb
Daniel Stenberg [Mon, 4 Apr 2016 06:36:21 +0000 (08:36 +0200)]
CHECKSRC.md: mention cmdline options, fix the bullet list
Daniel Stenberg [Sun, 3 Apr 2016 22:11:32 +0000 (00:11 +0200)]
docs/CHECKSRC.md: initial version
Steve Holme [Sun, 3 Apr 2016 21:09:07 +0000 (22:09 +0100)]
checksrc.bat: Added support for the examples
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
Daniel Stenberg [Sun, 3 Apr 2016 21:06:23 +0000 (23:06 +0200)]
nw: please the stricter checksrc
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.
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.
Steve Holme [Sun, 3 Apr 2016 20:51:47 +0000 (21:51 +0100)]
tests: Fixed header files to comply with our code style
Daniel Stenberg [Sun, 3 Apr 2016 20:51:29 +0000 (22:51 +0200)]
make checksrc: run it in docs/examples too by default
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
Daniel Stenberg [Sun, 3 Apr 2016 20:42:31 +0000 (22:42 +0200)]
tests: fix make checksrc in servers/
Daniel Stenberg [Sun, 3 Apr 2016 20:37:23 +0000 (22:37 +0200)]
tests: 'make checksrc' now checks server/ too
Daniel Stenberg [Sun, 3 Apr 2016 18:32:08 +0000 (20:32 +0200)]
root/make: have checksrc run in include/curl too
Daniel Stenberg [Sun, 3 Apr 2016 20:35:43 +0000 (22:35 +0200)]
tests/server: comply with our code style
Daniel Stenberg [Sun, 3 Apr 2016 18:28:34 +0000 (20:28 +0200)]
code: style updates
Daniel Stenberg [Sun, 3 Apr 2016 18:28:20 +0000 (20:28 +0200)]
checksrc: check for more malplaced spaces
Daniel Stenberg [Sun, 3 Apr 2016 14:21:10 +0000 (16:21 +0200)]
unit: make unit test source code checksrc compliant
Daniel Stenberg [Sun, 3 Apr 2016 14:20:43 +0000 (16:20 +0200)]
checksrc: run checksrc in tests when 'make checksrc' in root
Daniel Stenberg [Sun, 3 Apr 2016 14:10:57 +0000 (16:10 +0200)]
checksrc: remove debug crap
Daniel Stenberg [Sun, 3 Apr 2016 14:04:20 +0000 (16:04 +0200)]
lib557: allow too long lines
Daniel Stenberg [Sun, 3 Apr 2016 14:03:40 +0000 (16:03 +0200)]
checksrc: allow ignore of specific warnings within a file (section)
Daniel Stenberg [Sun, 3 Apr 2016 09:56:10 +0000 (11:56 +0200)]
checksrc: add warning names, explain on help output
Steve Holme [Sun, 3 Apr 2016 19:55:19 +0000 (20:55 +0100)]
checksrc.bat: Disable tests by default until warnings are fixed
Steve Holme [Sun, 3 Apr 2016 19:52:38 +0000 (20:52 +0100)]
checksrc.bat: Added support for the tests directory
Steve Holme [Sun, 3 Apr 2016 19:26:03 +0000 (20:26 +0100)]
vauth: Removed the need for a separate GSS-API based SPN function
Steve Holme [Sun, 3 Apr 2016 16:55:17 +0000 (17:55 +0100)]
curl_sasl: Fixed potential null pointer utilisation
Although this should never happen due to the relationship between the
'mech' and 'resp' variables, and the way they are allocated together,
it does cause problems for code analysis tools:
V595 The 'mech' pointer was utilized before it was verified against
nullptr. Check lines: 376, 381. curl_sasl.c 376
Bug: https://github.com/curl/curl/issues/745
Reported-by: Alexis La Goutte
Steve Holme [Sun, 3 Apr 2016 16:32:10 +0000 (17:32 +0100)]
spnego: Small code tidy up
* Prefer dereference of string pointer rather than strlen()
* Free challenge pointer in one place
* Additional comments
Steve Holme [Sun, 3 Apr 2016 16:30:51 +0000 (17:30 +0100)]
krb5: Small code tidy up
* Prefer dereference of string pointer rather than strlen()
* Free challenge pointer in one place
* Additional comments
Steve Holme [Sun, 3 Apr 2016 16:17:20 +0000 (17:17 +0100)]
krb5_gssapi: Only process challenge when present
This wouldn't cause a problem because of the way the function is called,
but prior to this change, we were processing the challenge message when
the credentials were NULL rather than when the challenge message was
populated.
This also brings this part of the Kerberos 5 code in line with the
Negotiate code.