]>
granicus.if.org Git - curl/log
Daniel Stenberg [Tue, 12 May 2015 07:46:53 +0000 (09:46 +0200)]
hostcache: made all host caches use structs, not pointers
This avoids unnecessary dynamic allocs and as this also removed the last
users of *hash_alloc() and *hash_destroy(), those two functions are now
removed.
Daniel Stenberg [Tue, 12 May 2015 07:28:37 +0000 (09:28 +0200)]
multi: converted socket hash into non-allocated struct
avoids extra dynamic allocation
Daniel Stenberg [Tue, 12 May 2015 07:15:02 +0000 (09:15 +0200)]
connection cache: avoid Curl_hash_alloc()
... by using plain structs instead of pointers for the connection cache,
we can avoid several dynamic allocations that weren't necessary.
Daniel Stenberg [Fri, 8 May 2015 11:00:18 +0000 (13:00 +0200)]
proxy: add newline to info message
Patrick Monnerat [Fri, 8 May 2015 13:26:59 +0000 (15:26 +0200)]
FTP: fix dangling conn->ip_addr dereference on verbose EPSV.
Patrick Monnerat [Fri, 8 May 2015 11:55:15 +0000 (13:55 +0200)]
FTP: Make EPSV use the control IP address rather than the original host.
This ensures an alternate address is not used.
Does not apply to proxy tunnel.
Alessandro Ghedini [Thu, 7 May 2015 13:34:30 +0000 (15:34 +0200)]
tool_help: fix formatting for --next option
Egon Eckert [Fri, 8 May 2015 06:26:37 +0000 (08:26 +0200)]
opts: improved the TCP keepalive examples
Jay Satiro [Fri, 8 May 2015 05:09:57 +0000 (01:09 -0400)]
winbuild: Document the option used to statically link the CRT
- Document option RTLIBCFG (runtime library configuration).
Bug: https://github.com/bagder/curl/issues/254
Reported-by: Bert Huijben
Orgad Shaneh [Wed, 6 May 2015 06:33:57 +0000 (02:33 -0400)]
netrc: Read in text mode when cygwin
Use text mode when cygwin to eliminate trailing carriage returns.
Bug: https://github.com/bagder/curl/pull/258
Patrick Monnerat [Tue, 5 May 2015 12:05:41 +0000 (14:05 +0200)]
OS400: Add SPNEGO service name options to ILE/RPG binding.
Daniel Stenberg [Mon, 4 May 2015 21:45:25 +0000 (23:45 +0200)]
curl_multi_info_read.3: fix typo
Reported-by: Liviu Chircu
Daniel Stenberg [Mon, 4 May 2015 12:17:28 +0000 (14:17 +0200)]
MANUAL: language fix
Reported-by: Fred Stluka
Bug: https://github.com/bagder/curl/issues/255
Alessandro Ghedini [Mon, 4 May 2015 08:41:25 +0000 (10:41 +0200)]
gtls: properly retrieve certificate status
Also print the revocation reason if appropriate.
Daniel Stenberg [Mon, 4 May 2015 11:29:34 +0000 (13:29 +0200)]
OpenSSL: conditional check for SSL3_RT_HEADER
The symbol is fairly new.
Reported-by: Kamil Dudka
Daniel Stenberg [Mon, 4 May 2015 10:27:59 +0000 (12:27 +0200)]
openssl: skip trace outputs for ssl_ver == 0
The OpenSSL trace callback is wonderfully undocumented but given a
journey in the source code, it seems the cases were ssl_ver is zero
doesn't follow the same pattern and thus turned out confusing and
misleading. For now, we skip doing any CURLINFO_TEXT logging on those
but keep sending them as CURLINFO_SSL_DATA_OUT/IN.
Also, I added direction to the text info and I edited some functions
slightly.
Bug: https://github.com/bagder/curl/issues/219
Reported-by: Jay Satiro, Ashish Shukla
Marc Hoersken [Sat, 2 May 2015 20:21:25 +0000 (22:21 +0200)]
schannel.c: Small changes
Marc Hoersken [Sat, 2 May 2015 18:14:53 +0000 (20:14 +0200)]
schannel.c: Improve code path and readability
Marc Hoersken [Sat, 2 May 2015 18:05:22 +0000 (20:05 +0200)]
schannel.c: Improve error and return code handling upon
aa99a63f03
Chris Araman [Wed, 29 Apr 2015 23:08:43 +0000 (16:08 -0700)]
schannel: fix regression in schannel_recv
https://github.com/bagder/curl/issues/244
Commit
145c263 changed the behavior when Curl_read_plain returns
CURLE_AGAIN. We now handle CURLE_AGAIN and SEC_I_CONTEXT_EXPIRED
correctly.
Marc Hoersken [Fri, 1 May 2015 07:39:34 +0000 (09:39 +0200)]
Bug born in changes made several days ago
9a91e80 .
Commit: https://github.com/bagder/curl/commit/
926cb9f
Reported-by: Ray Satiro
Michael Osipov [Thu, 30 Apr 2015 08:06:09 +0000 (10:06 +0200)]
configure: remove missing and make it autogenerate
The missing file has not been autogenerated because a temporary fix was
employed in acinclude.m4 which blocked update. Removed that fix and a recent
version of missing is copied to build root.
Michael Osipov [Thu, 30 Apr 2015 13:52:23 +0000 (15:52 +0200)]
acinclude.m4: fix test for default CA cert bundle/path
test(1) on HP-UX requires a single equals sign and fails with two.
Let's use one and make every OS happy.
Daniel Stenberg [Thu, 30 Apr 2015 16:35:43 +0000 (18:35 +0200)]
CONTRIBUTING.md: remove the sourceforge mention
Reported-By: Michael Osipov
Dan Fandrich [Thu, 30 Apr 2015 10:13:49 +0000 (12:13 +0200)]
http_negotiate_sspi: added missing data variable
Michael Osipov [Thu, 30 Apr 2015 06:47:19 +0000 (08:47 +0200)]
configure: remove --automake from libtoolize call
That option is not mentioned in the man page of libtoolize 2.4.4.19-fda4.
Moveover, a comment in line 2623 says "--automake is for 1.5 compatibility".
This option is redundant now.
Viktor Szakats [Thu, 30 Apr 2015 06:29:00 +0000 (08:29 +0200)]
build: update depedency versions, urls, example makefiles
- update default versions of dependencies (except for rare/old platforms)
- update urls
- sync examples makefiles with main ones
- remove line ending space
Michael Osipov [Wed, 29 Apr 2015 20:51:04 +0000 (22:51 +0200)]
configure: remove autogenerated files by autoconf
* install-sh is always regenerated
* mkinstalldirs was already redudant years ago. Automake uses install for
that. See: http://lists.gnu.org/archive/html/automake/2007-03/msg00015.html
Anders Bakken [Wed, 29 Apr 2015 22:39:54 +0000 (15:39 -0700)]
curl_multi_add_handle: next is already NULL
Jay Satiro [Thu, 30 Apr 2015 05:43:45 +0000 (01:43 -0400)]
schannel: Fix out of bounds array
Bug born in changes made several days ago
9a91e80 .
Bug: http://curl.haxx.se/mail/lib-2015-04/0199.html
Reported-by: Brian Chrisman
Jay Satiro [Wed, 29 Apr 2015 17:51:42 +0000 (13:51 -0400)]
docs/libcurl: gitignore libcurl-symbols.3
Bug: http://curl.haxx.se/mail/lib-2015-04/0191.html
Reported-by: Michael Osipov
Viktor Szakats [Wed, 29 Apr 2015 10:05:25 +0000 (12:05 +0200)]
lib/makefile.m32: add arch -m32/-m64 to LDFLAGS
This fixes using a multi-target mingw distro to build curl .dll for the
non-default target.
(mirroring the same patch present in src/makefile.m32)
Daniel Stenberg [Wed, 29 Apr 2015 06:38:04 +0000 (08:38 +0200)]
RELEASE-NOTES: synced with
cd39b944afc
I've not mentioned the bug fixes that were shipped in 7.42.1 from the
7_42 branch.
Daniel Stenberg [Wed, 29 Apr 2015 06:25:12 +0000 (08:25 +0200)]
THANKS: merged from the 7.42.1 release
Daniel Stenberg [Thu, 23 Apr 2015 13:58:21 +0000 (15:58 +0200)]
CURLOPT_HEADEROPT: default to separate
Make the HTTP headers separated by default for improved security and
reduced risk for information leakage.
Bug: http://curl.haxx.se/docs/adv_20150429.html
Reported-by: Yehezkel Horowitz, Oren Souroujon
Linus Nielsen [Tue, 28 Apr 2015 12:46:48 +0000 (14:46 +0200)]
docs/libcurl: Corrected a typo in the CURLOPT_PROXY_SERVICE_NAME documentation
Daniel Stenberg [Tue, 28 Apr 2015 11:09:39 +0000 (13:09 +0200)]
hash: simplify Curl_str_key_compare()
Daniel Stenberg [Tue, 28 Apr 2015 07:03:58 +0000 (09:03 +0200)]
dist: ship CURLOPT_PROXY_SERVICE_NAME and CURLOPT_SERVICE_NAME
Linus Nielsen [Sun, 29 Mar 2015 12:52:31 +0000 (14:52 +0200)]
Negotiate: custom service names for SPNEGO.
* Add new options, CURLOPT_PROXY_SERVICE_NAME and CURLOPT_SERVICE_NAME.
* Add new curl options, --proxy-service-name and --service-name.
Daniel Stenberg [Mon, 27 Apr 2015 11:21:41 +0000 (13:21 +0200)]
http2: unify http_conn variable names to 'c'
Daniel Stenberg [Mon, 27 Apr 2015 10:50:19 +0000 (12:50 +0200)]
ConnectionExists: call it multi-use instead of pipelining
So that it fits HTTP/2 as well
Paul Howarth [Thu, 23 Apr 2015 13:56:03 +0000 (15:56 +0200)]
nss: fix compilation failure with old versions of NSS
Bug: http://curl.haxx.se/mail/lib-2015-04/0095.html
Daniel Stenberg [Mon, 27 Apr 2015 06:38:52 +0000 (08:38 +0200)]
sws: init http2 state properly
It would otherwise cause problems when running tests after 1801 etc.
Daniel Stenberg [Sun, 26 Apr 2015 22:29:18 +0000 (00:29 +0200)]
curl_easy_getinfo.3: document 'internals' in CURLINFO_TLS_SESSION
... as it was previouly undocumented what the pointer was.
Daniel Stenberg [Sun, 26 Apr 2015 16:22:46 +0000 (18:22 +0200)]
runtests: use a DISABLED.local file too
... and have git ignore that. Allows for a dev to add tests to ignore in
local tests and yet don't obstruct a normal git work flow.
Marc Hoersken [Sun, 26 Apr 2015 17:57:05 +0000 (19:57 +0200)]
schannel.c: Fix typo introduced with
3447c973d0
Marc Hoersken [Sun, 26 Apr 2015 15:59:01 +0000 (17:59 +0200)]
schannel.c: Fix possible SEC_E_BUFFER_TOO_SMALL error
Reported-by: Brian Chrisman
Daniel Stenberg [Sun, 26 Apr 2015 15:40:40 +0000 (17:40 +0200)]
schannel: re-indented file to follow curl style better
white space changes only
Daniel Stenberg [Sun, 26 Apr 2015 15:26:31 +0000 (17:26 +0200)]
Curl_ossl_init: load builtin modules
To have engine modules work, we must tell openssl to load builtin
modules first.
Bug: https://github.com/bagder/curl/pull/206
Daniel Stenberg [Sun, 26 Apr 2015 15:04:18 +0000 (17:04 +0200)]
configure: follow-up fix for krb5-config
commit
5b66860652 was incomplete so here's a follow-up fix
Reported-by: Dagobert Michelsen
Bug: https://github.com/bagder/curl/commit/
5b668606527613179d0349f21b4ab0df2971e3d2 #commitcomment-
10473445
Daniel Stenberg [Sun, 26 Apr 2015 14:36:19 +0000 (16:36 +0200)]
openssl: fix serial number output
The code extracting the cert serial number was broken and didn't display
it properly.
Bug: https://github.com/bagder/curl/issues/235
Reported-by: dkjjr89
Grant Pannell [Sun, 26 Apr 2015 14:12:23 +0000 (16:12 +0200)]
sasl_sspi: Populate domain from the realm in the challenge
Without this, SSPI based digest auth was broken.
Bug: https://github.com/bagder/curl/pull/141.patch
Anthony Avina [Sat, 25 Apr 2015 18:49:39 +0000 (14:49 -0400)]
tool: New option --data-raw to HTTP POST data, '@' allowed.
Add new option --data-raw which is almost the same as --data but does
not have a special interpretation of the @ character.
Prior to this change there was no (easy) way to pass the @ character as
the first character in POST data without it being interpreted as a
special character.
Bug: https://github.com/bagder/curl/issues/198
Reported-by: Jens Rantil
Dan Fandrich [Sat, 25 Apr 2015 08:17:46 +0000 (10:17 +0200)]
test2039: fixed line endings that caused a test failure
Viktor Szakats [Sun, 19 Apr 2015 14:18:16 +0000 (16:18 +0200)]
netrc: add unit tests for 'default' support
Viktor Szakats [Thu, 9 Apr 2015 01:46:15 +0000 (03:46 +0200)]
netrc: support 'default' token
The 'default' token has no argument and means to match _any_ domain.
It must be placed last if there are 'machine <name>' tokens in the same file.
See full description here:
https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-File.html
Daniel Stenberg [Fri, 24 Apr 2015 08:49:31 +0000 (10:49 +0200)]
ROADMAP.md: extended the HTTP/2 section, reformatted
Elaborated on several of the remaining HTTP/2 parts and made document
use a format that ends up nicer on the web page:
http://curl.haxx.se/dev/roadmap.html
Kamil Dudka [Thu, 23 Apr 2015 12:01:08 +0000 (14:01 +0200)]
curl -z: do not write empty file on unmet condition
This commit fixes a regression introduced in curl-7_41_0
-186-g261a0fe .
It also introduces a regression test 1424 based on tests 78 and 1423.
Reported-by: Viktor Szakats
Bug: https://github.com/bagder/curl/issues/237
Dan Fandrich [Wed, 22 Apr 2015 22:09:49 +0000 (00:09 +0200)]
tool: fixed a comment typo
Dan Fandrich [Wed, 22 Apr 2015 22:02:49 +0000 (00:02 +0200)]
README: convert to UTF-8
Jay Satiro [Sun, 5 Apr 2015 05:48:16 +0000 (01:48 -0400)]
cyassl: Implement public key pinning
Also add public key extraction example to CURLOPT_PINNEDPUBLICKEY doc.
Alessandro Ghedini [Wed, 22 Apr 2015 12:57:46 +0000 (14:57 +0200)]
curl.1: fix typo
Kamil Dudka [Wed, 22 Apr 2015 12:47:26 +0000 (14:47 +0200)]
docs: distribute the CURLOPT_PINNEDPUBLICKEY(3) man page, too
Kamil Dudka [Wed, 22 Apr 2015 12:18:40 +0000 (14:18 +0200)]
tests/unit/.gitignore: hide unit1601 and above, too
Daniel Stenberg [Wed, 22 Apr 2015 11:58:10 +0000 (13:58 +0200)]
connectionexists: follow-up to
fd9d3a1ef1f
PROTOPT_CREDSPERREQUEST still needs to be checked even when NTLM is not
enabled.
Mistake-caught-by: Kamil Dudka
Daniel Stenberg [Wed, 22 Apr 2015 11:31:35 +0000 (13:31 +0200)]
connectionexists: fix build without NTLM
Do not access NTLM-specific struct fields when built without NTLM
enabled!
bug: http://curl.haxx.se/?i=231
Reported-by: Patrick Rapin
Daniel Stenberg [Wed, 22 Apr 2015 11:31:06 +0000 (13:31 +0200)]
bump: start working toward 7.43.0
Kamil Dudka [Wed, 25 Mar 2015 12:48:41 +0000 (13:48 +0100)]
nss: implement public key pinning for NSS backend
Bug: https://bugzilla.redhat.com/
1195771
Daniel Stenberg [Wed, 22 Apr 2015 11:16:04 +0000 (13:16 +0200)]
dist: include {src,lib}/checksrc.whitelist
Daniel Stenberg [Tue, 21 Apr 2015 09:18:06 +0000 (11:18 +0200)]
RELEASE-NOTES: updated for 7.42.0
Daniel Stenberg [Tue, 21 Apr 2015 09:37:18 +0000 (11:37 +0200)]
THANKS: added contributors from 7.42.0 release notes
Daniel Stenberg [Tue, 21 Apr 2015 09:35:37 +0000 (11:35 +0200)]
THANKS-filter: a few more alterations to squash
Daniel Stenberg [Tue, 21 Apr 2015 09:18:54 +0000 (11:18 +0200)]
contrithanks.sh: helper script for maintaining THANKS
Daniel Stenberg [Sat, 18 Apr 2015 21:50:16 +0000 (23:50 +0200)]
http_done: close Negotiate connections when done
When doing HTTP requests Negotiate authenticated, the entire connnection
may become authenticated and not just the specific HTTP request which is
otherwise how HTTP works, as Negotiate can basically use NTLM under the
hood. curl was not adhering to this fact but would assume that such
requests would also be authenticated per request.
CVE-2015-3148
Bug: http://curl.haxx.se/docs/adv_20150422B.html
Reported-by: Isaac Boukris
Daniel Stenberg [Thu, 16 Apr 2015 21:52:04 +0000 (23:52 +0200)]
fix_hostname: zero length host name caused -1 index offset
If a URL is given with a zero-length host name, like in "http://:80" or
just ":80", `fix_hostname()` will index the host name pointer with a -1
offset (as it blindly assumes a non-zero length) and both read and
assign that address.
CVE-2015-3144
Bug: http://curl.haxx.se/docs/adv_20150422D.html
Reported-by: Hanno Böck
Daniel Stenberg [Thu, 16 Apr 2015 14:37:40 +0000 (16:37 +0200)]
cookie: cookie parser out of boundary memory access
The internal libcurl function called sanitize_cookie_path() that cleans
up the path element as given to it from a remote site or when read from
a file, did not properly validate the input. If given a path that
consisted of a single double-quote, libcurl would index a newly
allocated memory area with index -1 and assign a zero to it, thus
destroying heap memory it wasn't supposed to.
CVE-2015-3145
Bug: http://curl.haxx.se/docs/adv_20150422C.html
Reported-by: Hanno Böck
Daniel Stenberg [Thu, 16 Apr 2015 11:26:46 +0000 (13:26 +0200)]
ConnectionExists: for NTLM re-use, require credentials to match
CVE-2015-3143
Bug: http://curl.haxx.se/docs/adv_20150422A.html
Reported-by: Paras Sethia
byronhe [Tue, 21 Apr 2015 19:08:08 +0000 (15:08 -0400)]
openssl: add OPENSSL_NO_SSL3_METHOD check
Daniel Stenberg [Mon, 20 Apr 2015 21:39:04 +0000 (23:39 +0200)]
CURLOPT_HEADERFUNCTION.3: match parameter name in synopsis and desc
Bug: https://github.com/bagder/curl/issues/229
Reported-by: bsammon
Mostyn Bramley-Moore [Mon, 20 Apr 2015 07:50:15 +0000 (09:50 +0200)]
configure --with-nss: remove unneeded libs from the fallback
Daniel Stenberg [Mon, 20 Apr 2015 08:15:31 +0000 (10:15 +0200)]
contributors.sh: fix help output, filter out (-prefix from names
Daniel Stenberg [Mon, 20 Apr 2015 08:05:46 +0000 (10:05 +0200)]
RELEASE-NOTES: synced with
cc0e7ebc3be0
Michael Stapelberg [Sat, 11 Apr 2015 20:28:10 +0000 (22:28 +0200)]
CURLMOPT_TIMERFUNCTION.3: Clarify, add an example
Viktor Szakáts [Mon, 29 Dec 2014 03:15:36 +0000 (04:15 +0100)]
vtls/openssl: use https in URLs and a comment typo fixed
Daniel Stenberg [Sat, 18 Apr 2015 20:46:04 +0000 (22:46 +0200)]
curl_version_info.3: fixed the 'protocols' variable type
Reported-by: John Marshall
Bug: https://github.com/bagder/curl/issues/225
Dan Fandrich [Sat, 18 Apr 2015 19:12:36 +0000 (21:12 +0200)]
test1423: added missing "file" to server section
Daniel Stenberg [Fri, 17 Apr 2015 21:53:11 +0000 (23:53 +0200)]
TheArtOfHttpScripting: Multiple URLs + Multiple HTTP methods
... and some minor edits
Daniel Stenberg [Fri, 17 Apr 2015 21:23:42 +0000 (23:23 +0200)]
Revert "HTTP: don't abort connections with pending Negotiate authentication"
This reverts commit
5dc68dd6092a789bb5e0a67a1c1356ba87fdcbc6 .
Bug: https://github.com/bagder/curl/issues/223
Reported-by: Michael Osipov
Jay Satiro [Fri, 17 Apr 2015 19:22:48 +0000 (15:22 -0400)]
cyassl: Fix include order
Prior to this change CyaSSL's build options could redefine some generic
build symbols.
http://curl.haxx.se/mail/lib-2015-04/0069.html
Kamil Dudka [Wed, 8 Apr 2015 13:19:37 +0000 (15:19 +0200)]
configure --with-nss: drop redundant if statement
Kamil Dudka [Wed, 8 Apr 2015 13:17:49 +0000 (15:17 +0200)]
configure --with-nss=PATH: query pkg-config if available
Bug: https://github.com/bagder/curl/pull/171
Daniel Stenberg [Thu, 16 Apr 2015 22:38:50 +0000 (00:38 +0200)]
parsecfg: do not continue past a zero termination
When a config file line ends without newline, the parsing function could
continue reading beyond that point in memory.
Reported-by: Hanno Böck
Jay Satiro [Thu, 16 Apr 2015 22:24:42 +0000 (18:24 -0400)]
gitignore: Ignore Windows build output directories
Daniel Stenberg [Wed, 15 Apr 2015 21:21:35 +0000 (23:21 +0200)]
RELEASE-NOTES: synced with
1ba6e4c88e0
Daniel Stenberg [Wed, 15 Apr 2015 19:13:25 +0000 (21:13 +0200)]
TODO: 17.9 Choose the name of file in braces for complex URLs
Daniel Stenberg [Wed, 15 Apr 2015 18:56:43 +0000 (20:56 +0200)]
TODO: a little caution that maybe not all ideas are still good
Daniel Stenberg [Wed, 15 Apr 2015 12:29:30 +0000 (14:29 +0200)]
TODO: 17.8 offer color-coded HTTP header output
Daniel Stenberg [Wed, 15 Apr 2015 12:27:32 +0000 (14:27 +0200)]
TODO: 17.7 warning when sending binary output to terminal
Daniel Stenberg [Wed, 15 Apr 2015 00:48:20 +0000 (02:48 +0200)]
KNOWN_BUGS: #90 IMAP "SEARCH ALL" truncates output on large boxes
Jay Satiro [Mon, 13 Apr 2015 05:07:28 +0000 (01:07 -0400)]
cyassl: Add support for TLS extension SNI