Grégoire Seux
2e7c202ca2
Correctly forward Host header in healthcheck ( #3203 )
...
Host header must be set explicitely on http requests
Change-Id: I91a32f0fb1ec3fbc713adf0e10869797e91172c7
Signed-off-by: Grégoire Seux <g.seux@criteo.com>
2017-06-29 16:26:08 -07:00
James Phillips
4f90d6d3f7
Update CHANGELOG.md
2017-06-29 14:28:54 -07:00
Maciej Stępyra
08c7ec1a59
Missing tools in makefile ( #3205 )
2017-06-29 12:55:01 +02:00
James Phillips
0417cdd7b9
Update CHANGELOG.md
2017-06-28 20:18:24 -07:00
Preetha Appan
edcacf633b
fix type in make file
2017-06-28 09:48:00 -05:00
James Phillips
d724851848
Update CHANGELOG.md
2017-06-27 18:48:18 -07:00
James Phillips
4d0aa9b82a
Bumps Raft library. ( #3201 )
...
This picks up the fix for https://github.com/hashicorp/raft/issues/212 ,
which can cause out-of-date followers to get stuck in a loop trying to
sync because they don't discard old snapshot data.
There's some incidental reordering of the vendor.json since the last
update to that file was merged by hand.
2017-06-27 18:41:00 -07:00
preetapan
793fda1101
Merge pull request #3195 from hashicorp/issue-3018-filehandle-leaks
...
Fix socket file handle leaks from old blocking queries upon consul reload
2017-06-27 16:47:19 -05:00
Preetha Appan
c872a05922
Fix missing formatting directive causing go vet to fail
2017-06-27 16:32:38 -05:00
Preetha Appan
02a5d0a99b
Updating CHANGELOG.md
2017-06-27 16:28:48 -05:00
Preetha Appan
26d58865ab
Make sure to call cancel on the context
2017-06-27 16:22:57 -05:00
James Phillips
37d60fe11b
Puts the tree back in 0.9.0 dev mode.
2017-06-27 11:18:45 -07:00
James Phillips
4116236769
Bumps download version to 0.8.5.
2017-06-27 10:58:08 -07:00
James Phillips
e0bcd8cfab
Release v0.8.5
2017-06-27 10:42:54 -07:00
James Phillips
0fc1c628fa
Puts tree into 0.8.5 release mode.
2017-06-27 09:25:38 -07:00
James Phillips
9b4d616d3a
Update CHANGELOG.md
2017-06-26 22:44:23 -07:00
Frank Schroeder
913748bcc4
Revert "agent: add allowStale option for HTTP API ( #3142 )"
...
This reverts commit 1e0fd27a74f5b18775ce91a84310430de35a4a80.
2017-06-27 07:04:55 +02:00
James Phillips
d8963aac9c
Update CHANGELOG.md
2017-06-26 21:25:56 -07:00
James Phillips
2a58b4603d
Puts the tree in 0.8.5 dev mode.
2017-06-26 16:08:05 -07:00
Preetha Appan
f04c0a7069
Made helper method for query options with context
2017-06-26 16:11:14 -05:00
Preetha Appan
82bf05c888
Fix socket file handle leaks from old blocking queries upon consul reload. This fixes issue #3018
2017-06-26 15:52:03 -05:00
Ryon
48b1b6161e
Update middleman-hashicorp to 0.3.28 for mega nav fixes ( #3194 )
2017-06-26 11:26:56 -07:00
Frank Schröder
5500eb95eb
agent: fix DNS recursor tests ( #3190 )
...
The makeRecursor function was using an unreliable mechanism
to start a server with a random port. This patch changes this
so that the server starts on port 0 to let the kernel pick
a free port.
In addition, to similar functions for starting a test DNS
server were folded into one.
2017-06-25 10:42:37 -07:00
James Phillips
f081e45a89
Removes unneeded shutdown channel in config reading tests.
2017-06-25 10:39:51 -07:00
James Phillips
fb640d1ffe
Removes some useless comments.
2017-06-25 10:32:35 -07:00
Jason Martin
c2adade700
Fix invalid JSON in agent-api /v1/self example output. ( #3183 )
2017-06-24 16:16:27 -07:00
James Phillips
a8d90ccb2c
Adds missing tls_skip_verify option to HTTP check example.
2017-06-24 15:37:52 -07:00
James Phillips
884a82b61a
Update options.html.md
2017-06-24 15:28:23 -07:00
James Phillips
6046533853
Update CHANGELOG.md
2017-06-24 15:21:55 -07:00
James Phillips
9dc0656284
Update CHANGELOG.md
2017-06-24 12:55:45 -07:00
James Phillips
4b85d33ef1
Fixes watch tracking during reloads and fixes address issue. ( #3189 )
...
This patch fixes watch registration through the config file and a broken log line when the watch registration fails. It also plumbs all the watch loading through a common function and tweaks the
unit test to create the watch before the reload.
2017-06-24 12:52:41 -07:00
James Phillips
8142fb73b3
Update CHANGELOG.md
2017-06-24 09:42:08 -07:00
James Phillips
635b90c298
Update CHANGELOG.md
2017-06-24 09:41:56 -07:00
James Phillips
2184136284
Changes host-based node IDs from opt-out to opt-in. ( #3187 )
2017-06-24 09:36:53 -07:00
James Phillips
59621dbccc
Revert "discover: move instance discover code into separate package ( #3144 )" ( #3180 )
...
This reverts commit 26bfb2d00a30bf30ebdd85ba2e1e19f37355853f.
2017-06-23 01:38:55 -07:00
James Phillips
c4140c485e
Update CHANGELOG.md
2017-06-23 01:17:46 -07:00
James Phillips
728971afdb
Fixes broken HTTP header and method for health checks. ( #3178 )
...
* Fixes broken HTTP header and method for health checks.
* Adds a fuzz utility and test to make sure copy is complete.
2017-06-23 01:15:48 -07:00
James Phillips
5a88c33156
Update CHANGELOG.md
2017-06-22 16:55:42 -07:00
Kyle Havlovitz
9d22b5201d
Update CHANGELOG.md
2017-06-22 14:46:26 -07:00
Kyle Havlovitz
e875cc30fa
vendor: update github.com/hashicorp/memberlist ( #3176 )
2017-06-22 14:44:46 -07:00
Frank Schroeder
43c42b12ae
vendor: update github.com/hashicorp/go-discover
2017-06-22 12:46:23 +02:00
Frank Schroeder
7871337e28
Update CHANGELOG.md
2017-06-22 10:36:51 +02:00
wojtkiewicz
f320bb9083
agent: add allowStale option for HTTP API ( #3142 )
...
This patch adds an "allowStale" option to the HTTP API
configuration which allows stale reads to provide linear
read scalability.
Fixes #3142
2017-06-22 10:31:13 +02:00
wojtkiewicz
26c8697a40
agent: add "http_config"
...
This patch adds an "http_config" object to the config file
and moves the "http_api_response_headers" option there.
"http_api_response_headers" is now deprecated in favor of
"http_config.response_headers"
2017-06-22 10:31:11 +02:00
Preetha Appan
5bc9edb4ec
Update documentation and json examples for snapshot agent
2017-06-21 21:15:02 -05:00
Preetha Appan
7e86f4e746
Update CHANGELOG with consul enterprise static snapshot name feature
2017-06-21 20:48:23 -05:00
James Phillips
6e8b3bb7f7
Update CHANGELOG.md
2017-06-21 15:38:16 -07:00
Jared Wasinger
06c49f8345
Warn when attempting to bootstrap an even number of nodes ( #3158 )
...
* Warn when attempting to bootstrap an even number of nodes. Addresses #1282
* add more detailed warning for two server case
2017-06-21 15:36:55 -07:00
preetapan
e0759ecafc
make test should fail fast on test compilation errors ( #3172 )
2017-06-21 14:47:08 -07:00
James Phillips
d2251018d9
Fixes checked in web assets and associated build scripts. ( #3173 )
2017-06-21 14:43:07 -07:00