mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04: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
1 changed files with 1 additions and 1 deletions
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);
|
||||
htx = smp_prefetch_htx(smp, chn, 1);
|
||||
htx = smp_prefetch_htx(smp, chn, NULL, 1);
|
||||
if (!htx)
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue