]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: config: fix mention of request slot in http-response capture
authorWilly Tarreau <w@1wt.eu>
Thu, 30 Nov 2023 08:24:21 +0000 (09:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 30 Nov 2023 08:24:21 +0000 (09:24 +0100)
It's response slot, not request slot.

doc/configuration.txt

index e44f7bc8882db85114410399813d50b5ebf7a2fa..e5754a644fa7ca78a61a6f1b8b797b867a4ac8ae 100644 (file)
@@ -8303,12 +8303,12 @@ http-response cache-store <name> [ { if | unless } <condition> ]
 http-response capture <sample> id <id> [ { if | unless } <condition> ]
 
   This captures sample expression <sample> from the response buffer, and
-  converts it to a string. The resulting string is stored into the next request
-  "capture" slot, so it will possibly appear next to some captured HTTP
-  headers. It will then automatically appear in the logs, and it will be
+  converts it to a string. The resulting string is stored into the next
+  response "capture" slot, so it will possibly appear next to some captured
+  HTTP headers. It will then automatically appear in the logs, and it will be
   possible to extract it using sample fetch rules to feed it into headers or
-  anything. Please check section 7.3 (Fetching samples) and
-  "capture response header" for more information.
+  anything. Please check section 7.3 (Fetching samples) and "capture response
+  header" for more information.
 
   The keyword "id" is the id of the capture slot which is used for storing the
   string. The capture slot must be defined in an associated frontend.