MINOR: halog: Add -qry parameter allowing to preserve the query string in -uX
authorTim Duesterhus <duesterhus@woltlab.com>
Mon, 18 Oct 2021 10:12:02 +0000 (12:12 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 3 Nov 2021 15:34:06 +0000 (16:34 +0100)
commit9797e4019bac868e05c981bd02bce571be1fd20a
tree95940f4294c557a6ca4f76663394f545e1f20320
parente4a41144e04a5e572f5531614deb6ed282d5a4de
MINOR: halog: Add -qry parameter allowing to preserve the query string in -uX

Our use-case for this is a dynamic application that performs routing based on
the query string. Without this option all URLs will just point to the central
entrypoint of this location, making the output completely useless.

(cherry picked from commit 24b8d693b202b01b649f64ed878d8f9dd1b242e4)
Signed-off-by: Willy Tarreau <w@1wt.eu>
(cherry picked from commit b09bdeecdf202f91ade21a92cd6cb62baf914f12)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
contrib/halog/halog.c