mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-02 05:10:22 -05:00
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.
This commit is contained in:
parent
2db9dac4c8
commit
f48552f2c1
1 changed files with 1 additions and 1 deletions
2
src/da.c
2
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;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue