]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: http: add documentation for url32 and url32+src
authorDragan Dosen <ddosen@haproxy.com>
Thu, 16 Jun 2016 10:19:49 +0000 (12:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 16 Jun 2016 10:53:25 +0000 (12:53 +0200)
This patch needs to be backported to 1.6 and 1.5.

doc/configuration.txt

index 678be4419cb9b2b4544fa361da459f8c27754aac..00da5dfbcc449794b6efd45e41aec805624c5021 100644 (file)
@@ -14137,6 +14137,18 @@ urlp_val([<name>[,<delim>])] : integer
   and converts it to an integer value. This can be used for session stickiness
   based on a user ID for example, or with ACLs to match a page number or price.
 
+url32 : integer
+  This returns a 32-bit hash of the value obtained by concatenating the first
+  Host header and the whole URL including parameters (not only the path part of
+  the request, as in the "base32" fetch above). This is useful to track per-URL
+  activity. A shorter hash is stored, saving a lot of memory. The output type
+  is an unsigned integer.
+
+url32+src : binary
+  This returns the concatenation of the "url32" fetch and the "src" fetch. The
+  resulting type is of type binary, with a size of 8 or 20 bytes depending on
+  the source address family. This can be used to track per-IP, per-URL counters.
+
 
 7.4. Pre-defined ACLs
 ---------------------