DOC: config: Move req.hdrs and req.hdrs_bin in L7 samples fetches section
req.hdrs and req.hdrs_bin are L7 sample fetches, not L6. They were in the wrong
section.
This patch may be backported as far as 1.8.
diff --git a/doc/configuration.txt b/doc/configuration.txt
index a3e3635..5996407 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -17979,25 +17979,6 @@
(e.g. "stick on", "stick match"), and for "res.payload_lv" when used in the
context of a response such as in "stick store response".
-req.hdrs : string
- Returns the current request headers as string including the last empty line
- separating headers from the request body. The last empty line can be used to
- detect a truncated header block. This sample fetch is useful for some SPOE
- headers analyzers and for advanced logging.
-
-req.hdrs_bin : binary
- Returns the current request headers contained in preparsed binary form. This
- is useful for offloading some processing with SPOE. Each string is described
- by a length followed by the number of bytes indicated in the length. The
- length is represented using the variable integer encoding detailed in the
- SPOE documentation. The end of the list is marked by a couple of empty header
- names and values (length of 0 for both).
-
- *(<str:header-name><str:header-value>)<empty string><empty string>
-
- int: refer to the SPOE documentation for the encoding
- str: <int:length><bytes>
-
req.len : integer
req_len : integer (deprecated)
Returns an integer value corresponding to the number of bytes present in the
@@ -18473,7 +18454,24 @@
the first one. Negative values indicate positions relative to the last one,
with -1 being the last one. A typical use is with the X-Forwarded-For header.
+req.hdrs : string
+ Returns the current request headers as string including the last empty line
+ separating headers from the request body. The last empty line can be used to
+ detect a truncated header block. This sample fetch is useful for some SPOE
+ headers analyzers and for advanced logging.
+
+req.hdrs_bin : binary
+ Returns the current request headers contained in preparsed binary form. This
+ is useful for offloading some processing with SPOE. Each string is described
+ by a length followed by the number of bytes indicated in the length. The
+ length is represented using the variable integer encoding detailed in the
+ SPOE documentation. The end of the list is marked by a couple of empty header
+ names and values (length of 0 for both).
+
+ *(<str:header-name><str:header-value>)<empty string><empty string>
+ int: refer to the SPOE documentation for the encoding
+ str: <int:length><bytes>
http_auth(<userlist>) : boolean
Returns a boolean indicating whether the authentication data received from