#include <haproxy/stats.h>
#include <haproxy/stconn.h>
#include <haproxy/stream.h>
+#include <haproxy/stress.h>
#include <haproxy/task.h>
#include <haproxy/tcpcheck.h>
#include <haproxy/thread.h>
chunk_appendf(&trash, "\n");
}
- if (applet_putchk(appctx, &trash) == -1) {
+ if (STRESS_RUN1(applet_putchk_stress(appctx, &trash) == -1,
+ applet_putchk(appctx, &trash) == -1)) {
return 0;
}
}
continue;
chunk_appendf(&trash, "%s\n", curproxy->id);
- if (applet_putchk(appctx, &trash) == -1)
+ if (STRESS_RUN1(applet_putchk_stress(appctx, &trash) == -1,
+ applet_putchk(appctx, &trash) == -1)) {
return 0;
+ }
}
return 1;