mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-10 00:57:02 +02:00
BUG/MINOR: da: Fix HTX message prefetch
An additional argument has been added to smp_prefetch_htx() function in the
commit 778f5ed47
("MEDIUM: checks/http-fetch: Support htx prefetch from a check
for HTTP samples"). But forgot to update call in da module.
No need to backport.
This commit is contained in:
parent
49bbf528e4
commit
d1185cc496
2
src/da.c
2
src/da.c
@ -301,7 +301,7 @@ static int da_haproxy_fetch(const struct arg *args, struct sample *smp, const ch
|
|||||||
}
|
}
|
||||||
|
|
||||||
chn = (smp->strm ? &smp->strm->req : NULL);
|
chn = (smp->strm ? &smp->strm->req : NULL);
|
||||||
htx = smp_prefetch_htx(smp, chn, 1);
|
htx = smp_prefetch_htx(smp, chn, NULL, 1);
|
||||||
if (!htx)
|
if (!htx)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user