Add DROP_CLIENT env variable (#432)

This will disconnect any client based on their version string,
using a regular expression.
Useful for dropping buggy/unsupported clients.
This commit is contained in:
John L. Jegutanis
2018-04-05 00:49:56 +03:00
committed by Neil
parent 8e4070bddf
commit 6a77f0b8e1
+6
View File
@@ -201,6 +201,12 @@ These environment variables are optional:
If you are not sure what this means leave it unset. If you are not sure what this means leave it unset.
.. envvar:: DROP_CLIENT
Set a regular expression to disconnect any client based on their
version string. For example to drop versions from 1.0 to 1.2 use
the regex ``1\.[0-2]\.\d+``.
Resource Usage Limits Resource Usage Limits
===================== =====================