Hi,

Since 30ee1efe676e8264af16bab833c621d60a72a4d7 "MEDIUM: h2: use the
normalized URI encoding for absolute form requests" we're using absolute
URI when possible. As stated in the commit message this also changed the
way it is reported in logs, especially for H2.

Docs describes %HP as "HTTP request URI without query string (path)" and
the word "path" suggests that %HP behaves exactly the same as "path" sample
fetch (it surprised me after HAProxy update that it's not true). Shouldn't
we delete the "(path)" from that description? Even better would be to
change it to "rel_path/abs_path" like it is in rfc or "relative/absolute
URI" but it is too long. :) If I'm the only one that got confused then it
may stay. But...

Do you think that it might be useful to implement another var, let's say
%HRU described as "HTTP request relative URI"? :) Usually in my logs I'm
not interested in absolute uri and relative is sufficient.

Kind regards,
Maciej

Attachment: 0001-DOC-Clarify-HP-description-in-log-format.patch
Description: Binary data

Reply via email to