BUG/MINOR: http-htx: Don't consider an URI as normalized after a set-uri action

An abosulte URI is marked as normalized if it comes from an H2 client. This
way, we know we can send a relative URI to an H1 server. But, after a
set-uri action, the URI must no longer be considered as normalized.
Otherwise there is no way to send an absolute URI on the server side.

If it is important to update a normalized absolute URI without altering this
property, the host, path and/or query-string must be set separatly.

This patch should fix the issue #1938. It should be backported as far as
2.4.

(cherry picked from commit 84cdbe478a82afdcaf4f049e8ed431ca349c6ba2)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 72be5e4efd3e63c0e17d87dfdcab78df12777e6b)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit 52f1fe5143bf8f62fdccffb4d0f1c4912418836f)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
diff --git a/src/http_htx.c b/src/http_htx.c
index 63023a8..6cb895e 100644
--- a/src/http_htx.c
+++ b/src/http_htx.c
@@ -389,6 +389,7 @@
 
 	sl = http_get_stline(htx);
 	ALREADY_CHECKED(sl); /* the stline exists because http_replace_stline() succeded */
+	sl->flags &= ~HTX_SL_F_NORMALIZED_URI;
 
 	if (!http_update_host(htx, sl, uri))
 		goto fail;