projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49bbf52
)
BUG/MINOR: da: Fix HTX message prefetch
author
Christopher Faulet
<cfaulet@haproxy.com>
Tue, 5 May 2020 09:49:57 +0000
(11:49 +0200)
committer
Christopher Faulet
<cfaulet@haproxy.com>
Tue, 5 May 2020 09:50:14 +0000
(11:50 +0200)
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.
src/da.c
patch
|
blob
|
history
diff --git
a/src/da.c
b/src/da.c
index
0984c30
..
0e4d5a7
100644
(file)
--- a/
src/da.c
+++ b/
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;