* Add test to detect the bug and prevent regressions
* delete the access list if not cleared by the time
Auth::Config instance is destructed. This is what the
free_AuthSchemes() code does when the function call
nesting and debugs are pruned away.
class Config
{
- explicit Config(const Config &) = delete;
- explicit Config(const Config *) = delete;
-
public:
Config() = default;
- explicit Config(Config &&) = default;
- ~Config() { assert(!schemeAccess); }
+ Config(Config &&) = delete; // no support for copying of any kind
+ ~Config() = default;
/// set of auth_params directives
Auth::ConfigVector schemes;
--- /dev/null
+auth_param basic /dev/null
+auth_schemes basic all