From 7a0139e2b688986c88caa23b76e82e7c1b5fef5f Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Sun, 16 Dec 2018 08:42:56 +0100 Subject: [PATCH] DOC: clarify the agent-check status line syntax Nick Ramirez reported that the wording is confusing and lets one think that the CR or LF are both optional, which is not the case (either is optional). Let's reformulate this. --- doc/configuration.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index fea7a1903..46182cbcb 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -11425,9 +11425,9 @@ addr agent-check Enable an auxiliary agent check which is run independently of a regular health check. An agent health check is performed by making a TCP connection - to the port set by the "agent-port" parameter and reading an ASCII string. - The string is made of a series of words delimited by spaces, tabs or commas - in any order, optionally terminated by '\r' and/or '\n', each consisting of : + to the port set by the "agent-port" parameter and reading an ASCII string + terminated by the first '\r' or '\n' met. The string is made of a series of + words delimited by spaces, tabs or commas in any order, each consisting of : - An ASCII representation of a positive integer percentage, e.g. "75%". Values in this format will set the weight proportional to the initial