moby--moby/daemon/config
Anusha Ragunathan 38de272bd4 When authz plugin is disabled, remove from authz middleware chain.
When the daemon is configured to run with an authorization-plugin and if
the plugin is disabled, the daemon continues to send API requests to the
plugin and expect it to respond. But the plugin has been disabled. As a
result, all API requests are blocked. Fix this behavior by removing the
disabled plugin from the authz middleware chain.

Tested using riyaz/authz-no-volume-plugin and observed that after
disabling the plugin, API request/response is functional.

Fixes #31836

Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
2017-03-22 12:07:39 -07:00
..
config.go When authz plugin is disabled, remove from authz middleware chain. 2017-03-22 12:07:39 -07:00
config_common_unix.go Extract daemon configuration and discovery to their own package 2017-02-08 09:53:38 +01:00
config_common_unix_test.go Extract daemon configuration and discovery to their own package 2017-02-08 09:53:38 +01:00
config_solaris.go Extract daemon configuration and discovery to their own package 2017-02-08 09:53:38 +01:00
config_test.go --max-concurrent-downloads,--max-concurrent-uploads must great than or equal to 0 2017-03-02 09:23:01 +08:00
config_unix.go Add daemon flag to set no_new_priv as default for unprivileged containers. 2017-02-16 19:05:14 +08:00
config_unix_test.go Extract daemon configuration and discovery to their own package 2017-02-08 09:53:38 +01:00
config_windows.go Extract daemon configuration and discovery to their own package 2017-02-08 09:53:38 +01:00
config_windows_test.go Extract daemon configuration and discovery to their own package 2017-02-08 09:53:38 +01:00