mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-25 04:17:42 +00:00
BUG/MINOR: 51d: 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
c54e4b053d
commit
2db9dac4c8
@ -412,7 +412,7 @@ static int _51d_fetch(const struct arg *args, struct sample *smp, const char *kw
|
||||
* Data type has to be reset to ensure the string output is processed
|
||||
* correctly.
|
||||
*/
|
||||
CHECK_HTTP_MESSAGE_FIRST();
|
||||
CHECK_HTTP_MESSAGE_FIRST((smp->strm ? &smp->strm->req : NULL));
|
||||
smp->data.type = SMP_T_STR;
|
||||
|
||||
/* Flags the sample to show it uses constant memory*/
|
||||
|
Loading…
Reference in New Issue
Block a user