]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: http header capture has not been limited in size for a long time
authorWilly Tarreau <w@1wt.eu>
Wed, 21 Nov 2012 23:21:46 +0000 (00:21 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Nov 2012 23:44:27 +0000 (00:44 +0100)
It's been documented for a very long time that captured HTTP headers
were limited to 64 characters, but this has not the case anymore since
1.3.11 in 2007 (commit cf7f320f), as they all use their own pool and
have no such limit anymore.

This fix should be backported to 1.4 and 1.3.

doc/configuration.txt

index fd3e38de69c48690eab15986f8e72069a041b2d7..663ffde132616ad7b2106f23f28865c8fb3216c5 100644 (file)
@@ -1788,10 +1788,11 @@ capture request header <name> len <length>
   you log if you know your log parser is not smart enough to rely on the
   braces.
 
-  There is no limit to the number of captured request headers, but each capture
-  is limited to 64 characters. In order to keep log format consistent for a
-  same frontend, header captures can only be declared in a frontend. It is not
-  possible to specify a capture in a "defaults" section.
+  There is no limit to the number of captured request headers nor to their
+  length, though it is wise to keep them low to limit memory usage per session.
+  In order to keep log format consistent for a same frontend, header captures
+  can only be declared in a frontend. It is not possible to specify a capture
+  in a "defaults" section.
 
   Example:
         capture request header Host len 15
@@ -1826,10 +1827,11 @@ capture response header <name> len <length>
   header which indicates how many bytes are expected to be returned, the
   "Location" header to track redirections.
 
-  There is no limit to the number of captured response headers, but each
-  capture is limited to 64 characters. In order to keep log format consistent
-  for a same frontend, header captures can only be declared in a frontend. It
-  is not possible to specify a capture in a "defaults" section.
+  There is no limit to the number of captured response headers nor to their
+  length, though it is wise to keep them low to limit memory usage per session.
+  In order to keep log format consistent for a same frontend, header captures
+  can only be declared in a frontend. It is not possible to specify a capture
+  in a "defaults" section.
 
   Example:
         capture response header Content-length len 9