projects
/
haproxy-2.1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11cce79
)
DOC: Clarify %HP description in log-format
author
Maciej Zdeb
<maciej@zdeb.pl>
Thu, 26 Nov 2020 10:45:52 +0000
(10:45 +0000)
committer
Christopher Faulet
<cfaulet@haproxy.com>
Mon, 14 Dec 2020 10:35:14 +0000
(11:35 +0100)
%HP is used to report HTTP request URI in logs, which might be relative
or absolute. Description in documentation should not suggest that it
behaves exactly the same as "path" sample fetch.
This is even more important after
30ee1efe676e8264af16bab833c621d60a72a4d7
because right now, when HTTP2 is a standard, %HP usually returns absolute
URI.
This might be backported as far as 2.1
(cherry picked from commit
21acc33266cc04eac5e70c22839d622284a6f46a
)
Signed-off-by: William Lallemand <wlallemand@haproxy.org>
(cherry picked from commit
f9f0f94f6a5c281d0f02056951fac098585537a5
)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit
0930d35b53706baff84361320b1571ec0473ba0f
)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
doc/configuration.txt
patch
|
blob
|
history
diff --git
a/doc/configuration.txt
b/doc/configuration.txt
index
ea038c1
..
3d5bd07
100644
(file)
--- a/
doc/configuration.txt
+++ b/
doc/configuration.txt
@@
-17079,7
+17079,7
@@
Please refer to the table below for currently defined variables :
| H | %CS | captured_response_cookie | string |
| | %H | hostname | string |
| H | %HM | HTTP method (ex: POST) | string |
- | H | %HP | HTTP request URI without query string (path) | string |
+ | H | %HP | HTTP request URI without query string | string |
| H | %HQ | HTTP request URI query string (ex: ?bar=baz) | string |
| H | %HU | HTTP request URI (ex: /foo?bar=baz) | string |
| H | %HV | HTTP version (ex: HTTP/1.0) | string |