From f48552f2c10a2f956d7bd1eb02a6d694d2b5c5d3 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Fri, 19 Apr 2019 15:26:01 +0200 Subject: [PATCH] BUG/MINOR: da: Get the request channel to call CHECK_HTTP_MESSAGE_FIRST() Since the commit 89dc49935 ("BUG/MAJOR: http_fetch: Get the channel depending on the keyword used"), the right channel must be passed as argument when the macro CHECK_HTTP_MESSAGE_FIRST is called. This patch must be backported to 1.9. --- src/da.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/da.c b/src/da.c index 0a49d5298..4559c6ee5 100644 --- a/src/da.c +++ b/src/da.c @@ -298,7 +298,7 @@ static int da_haproxy_fetch(const struct arg *args, struct sample *smp, const ch return 1; } - CHECK_HTTP_MESSAGE_FIRST(); + CHECK_HTTP_MESSAGE_FIRST((smp->strm ? &smp->strm->req : NULL)); smp->data.type = SMP_T_STR; /**