open-vault/http
Jeff Mitchell 9687ccc8fa Tackle #4929 a different way (#4932)
* Tackle #4929 a different way

This turns c.sealed into an atomic, which allows us to call sealInternal
without a lock. By doing so we can better control lock grabbing when a
condition causing the standby loop to get out of active happens. This
encapsulates that logic into two distinct pieces (although they could
be combined into one), and makes lock guarding more understandable.

* Re-add context canceling to the non-HA version of sealInternal

* Return explicitly after stopCh triggered
2018-07-24 13:57:25 -07:00
..
auth_token_test.go Core handling of TTLs (#4230) 2018-04-03 12:20:20 -04:00
cors.go Fix nil pointer 2018-06-09 16:57:57 -04:00
forwarded_for_test.go Allow max request size to be user-specified (#4824) 2018-07-06 15:44:56 -04:00
forwarding_bench_test.go Add a basic transit bench test 2018-06-11 17:02:33 -04:00
forwarding_test.go Fix test build 2018-06-09 18:18:00 -04:00
handler.go Add config flag to disable non-printable character check (#4917) 2018-07-12 16:29:36 -04:00
handler_test.go Add config flag to disable non-printable character check (#4917) 2018-07-12 16:29:36 -04:00
help.go Make path-help request forward (#2677) 2017-05-04 16:58:50 -04:00
help_test.go Remove cookie authentication. 2015-08-21 19:46:23 -07:00
http_test.go Unauthenticated endpoint to list secret and auth mounts (#4134) 2018-03-19 23:16:33 -04:00
logical.go Make single-lease revocation behave like expiration (#4883) 2018-07-11 15:45:35 -04:00
logical_test.go Allow max request size to be user-specified (#4824) 2018-07-06 15:44:56 -04:00
plugin_test.go Move to "github.com/hashicorp/go-hclog" (#4227) 2018-04-02 17:46:59 -07:00
stub_assets.go OSS: Adding UI handlers and configurable headers (#390) 2018-04-03 09:34:01 -05:00
sys_audit_test.go Port some replication bits to OSS (#2386) 2017-02-16 15:15:02 -05:00
sys_auth_test.go Add options to mount tune and mount endpoints in preparation for versioning (#4155) 2018-03-21 12:04:27 -07:00
sys_config_cors_test.go Set allowed headers via API instead of defaulting to wildcard. (#3023) 2017-08-07 10:03:30 -04:00
sys_generate_root.go Errwrap everywhere (#4252) 2018-04-05 11:49:21 -04:00
sys_generate_root_test.go generate token functions to share common names (#3576) 2017-11-13 15:44:26 -05:00
sys_health.go Tackle #4929 a different way (#4932) 2018-07-24 13:57:25 -07:00
sys_health_test.go Sync some bits over 2018-01-22 21:44:49 -05:00
sys_init.go Re-add lost stored-shares parameter to operator rekey command. (#3974) 2018-02-14 16:10:45 -05:00
sys_init_test.go Tackle #4929 a different way (#4932) 2018-07-24 13:57:25 -07:00
sys_internal_test.go Kv preflight (#4430) 2018-04-23 15:00:02 -07:00
sys_leader.go Add leader cluster address to status/leader output. (#3061) 2017-07-31 18:25:27 -04:00
sys_leader_test.go Add leader cluster address to status/leader output. (#3061) 2017-07-31 18:25:27 -04:00
sys_lease_test.go Exclude /sys/leases/renew from registering with expiration manager (#2891) 2017-06-20 12:34:00 -04:00
sys_mount_test.go Fix some tests 2018-04-10 00:22:23 -04:00
sys_mounts_test.go Rename "generic" secret backend to "kv" (#3292) 2017-09-15 09:02:29 -04:00
sys_policy_test.go Final sync 2017-10-23 17:39:21 -04:00
sys_rekey.go Fix tests 2018-05-29 17:02:52 -04:00
sys_rekey_test.go Fix existing tests 2018-05-19 22:04:45 -04:00
sys_rotate_test.go Fix tests and update mapstructure 2016-08-08 16:00:31 -04:00
sys_seal.go Tackle #4929 a different way (#4932) 2018-07-24 13:57:25 -07:00
sys_seal_test.go Tackle #4929 a different way (#4932) 2018-07-24 13:57:25 -07:00
sys_wrapping_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
testing.go Add config flag to disable non-printable character check (#4917) 2018-07-12 16:29:36 -04:00
unwrapping_raw_body_test.go Fix response wrapping from K/V version 2 (#4511) 2018-05-10 15:40:03 -04:00