Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Oren Tirosh
OpenLDAP
Commits
41a74b46
Commit
41a74b46
authored
Apr 08, 2019
by
Ondřej Kuzník
Browse files
Introduce the notion of experimental features
parent
1f6d8611
Changes
2
Hide whitespace changes
Inline
Side-by-side
servers/lloadd/config.c
View file @
41a74b46
...
...
@@ -1890,6 +1890,19 @@ config_feature( ConfigArgs *c )
c
->
argv
[
0
],
c
->
argv
[
i
]
);
return
1
;
}
if
(
mask
&
~
LLOAD_FEATURE_SUPPORTED_MASK
)
{
for
(
i
=
1
;
i
<
c
->
argc
;
i
++
)
{
int
j
=
verb_to_mask
(
c
->
argv
[
i
],
features
);
if
(
features
[
j
].
mask
&
~
LLOAD_FEATURE_SUPPORTED_MASK
)
{
Debug
(
LDAP_DEBUG_ANY
,
"%s: <%s> "
"experimental feature %s is undocumented, unsupported "
"and can change or disappear at any time!
\n
"
,
c
->
log
,
c
->
argv
[
0
],
c
->
argv
[
i
]
);
}
}
}
lload_features
|=
mask
;
return
0
;
}
...
...
servers/lloadd/lload.h
View file @
41a74b46
...
...
@@ -177,6 +177,10 @@ typedef enum {
LLOAD_FEATURE_PAUSE
=
1
<<
2
,
}
lload_features_t
;
#define LLOAD_FEATURE_SUPPORTED_MASK ( \
LLOAD_FEATURE_PROXYAUTHZ | \
0 )
#ifdef BALANCER_MODULE
#define LLOAD_TLS_CTX ( lload_use_slap_tls_ctx ? slap_tls_ctx : lload_tls_ctx )
#else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment