open-vault/http
Jeff Mitchell ebf57b15b4
Fixes a regression in forwarding from #6115 (#6191)
* Fixes a regression in forwarding from #6115

Although removing the authentication header is good defense in depth,
for forwarding mechanisms that use the raw request, we never add it
back. This caused perf standby tests to throw errors. Instead, once
we're past the point at which we would do any raw forwarding, but before
routing the request, remove the header.

To speed this up, a flag is set in the logical.Request to indicate where
the token is sourced from. That way we don't iterate through maps
unnecessarily.
2019-02-11 13:08:15 -05:00
..
auth_token_test.go The big one (#5346) 2018-09-17 23:03:00 -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 The big one (#5346) 2018-09-17 23:03:00 -04:00
forwarding_test.go Logger cleanup (#5480) 2018-10-09 09:43:17 -07:00
handler.go Fixes a regression in forwarding from #6115 (#6191) 2019-02-11 13:08:15 -05:00
handler_test.go Fixes a regression in forwarding from #6115 (#6191) 2019-02-11 13:08:15 -05:00
help.go The big one (#5346) 2018-09-17 23:03:00 -04:00
help_test.go
http_test.go Run goimports across the repository (#6010) 2019-01-08 16:48:57 -08:00
logical.go First part of perf standby entity race fix (#6106) 2019-01-25 14:08:42 -05:00
logical_test.go Batch tokens (#755) 2018-10-15 12:56:24 -04:00
plugin_test.go Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
stub_assets.go OSS: Adding UI handlers and configurable headers (#390) 2018-04-03 09:34:01 -05:00
sys_audit_test.go Re-add injecting into top routes (#5244) 2018-09-05 11:45:17 -04:00
sys_auth_test.go Run all builtins as plugins (#5536) 2018-11-06 17:21:24 -08:00
sys_config_cors_test.go Re-add injecting into top routes (#5244) 2018-09-05 11:45:17 -04:00
sys_generate_root.go Simplify base62.Random (#5982) 2018-12-20 07:40:01 -08:00
sys_generate_root_test.go Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07:00
sys_health.go Add LastWAL in leader/health output (#5523) 2018-10-16 09:38:44 -04:00
sys_health_test.go Fix http tests (#5195) 2018-08-27 15:13:41 -07:00
sys_init.go Continuously attempt to unseal if sealed keys are supported (#6039) 2019-01-23 16:34:34 -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 LastWAL in leader/health output (#5523) 2018-10-16 09:38:44 -04:00
sys_leader_test.go Add performance standby status to status output (#5192) 2018-08-27 10:01:07 -07:00
sys_lease_test.go
sys_mount_test.go Mount tune options (#5809) 2018-11-19 14:23:25 -08:00
sys_mounts_test.go
sys_policy_test.go Re-add injecting into top routes (#5244) 2018-09-05 11:45:17 -04:00
sys_rekey.go Fix tests 2018-05-29 17:02:52 -04:00
sys_rekey_test.go The big one (#5346) 2018-09-17 23:03:00 -04:00
sys_rotate_test.go Add allowed_response_headers (#6115) 2019-02-05 16:02:15 -05:00
sys_seal.go Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07:00
sys_seal_test.go Seal migration (OSS) (#781) 2018-10-22 23:34:02 -07:00
sys_wrapping_test.go Spelling (#4119) 2018-03-20 14:54:10 -04:00
testing.go Pass in an ErrorLog to http.Server (#5135) 2018-08-21 11:23:18 -04:00
unwrapping_raw_body_test.go Fix response wrapping from K/V version 2 (#4511) 2018-05-10 15:40:03 -04:00
util.go The big one (#5346) 2018-09-17 23:03:00 -04:00