plugin/forward: various cleanup (#1949)

Fix documentation and remove the unused From method.

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2018-07-07 14:38:05 +01:00
committed by GitHub
parent 41c2871907
commit 6ec1978340
2 changed files with 7 additions and 12 deletions

View File

@@ -63,8 +63,7 @@ forward FROM TO... {
* `force_tcp`, use TCP even when the request comes in over UDP.
* `prefer_udp`, try first using UDP even when the request comes in over TCP. If response is truncated
(TC flag set in response) then do another attempt over TCP. In case if both `force_tcp` and
`prefer_udp`.
options specified the `force_tcp` takes precedence.
`prefer_udp` options specified the `force_tcp` takes precedence.
* `max_fails` is the number of subsequent failed health checks that are needed before considering
an upstream to be down. If 0, the upstream will never be marked as down (nor health checked).
Default is 2.