Update NamedServerFilter documentation

The document is now up to date with the rewrite. Also added an assert
to enforce a minimum number of allowed match-target pairs.
This commit is contained in:
Esa Korhonen
2017-03-28 13:36:13 +03:00
parent c2857b976a
commit 657d79470c
2 changed files with 93 additions and 40 deletions

View File

@ -820,6 +820,7 @@ extern "C" MXS_MODULE* MXS_CREATE_MODULE()
{
match_server_pairs = max_pairs;
}
ss_dassert(match_server_pairs >= 25); // If this limit is modified, update documentation.
/* Create parameter pair names */
generate_param_names(match_server_pairs);