From 6a77f0b8e1d52dff498fe14b460c26a92ff01416 Mon Sep 17 00:00:00 2001 From: "John L. Jegutanis" Date: Thu, 5 Apr 2018 00:49:56 +0300 Subject: [PATCH] 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. --- environment.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/environment.rst b/environment.rst index 1a0cdec..1342e57 100644 --- a/environment.rst +++ b/environment.rst @@ -201,6 +201,12 @@ These environment variables are optional: 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 =====================