BUG/MINOR: 51d: 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 51d module.
No need to backport.
diff --git a/src/51d.c b/src/51d.c
index 42d1929..78ee748 100644
--- a/src/51d.c
+++ b/src/51d.c
@@ -238,7 +238,7 @@
// No need to null check as this has already been carried out in the
// calling method
- htx = smp_prefetch_htx(smp, chn, 1);
+ htx = smp_prefetch_htx(smp, chn, NULL, 1);
for (i = 0; i < global_51degrees.header_count; i++) {
name.ptr = (global_51degrees.header_names + i)->area;
@@ -276,7 +276,7 @@
// No need to null check as this has already been carried out in the
// calling method
- htx = smp_prefetch_htx(smp, chn, 1);
+ htx = smp_prefetch_htx(smp, chn, NULL, 1);
for (i = 0; i < global_51degrees.header_count; i++) {
name.ptr = (global_51degrees.header_names + i)->area;
@@ -424,7 +424,7 @@
struct htx *htx;
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;