chunk_printf(&msg, " title=\"rsp codes:");
for (i = 1; i < 6; i++)
- chunk_printf(&msg, " %dxx=%lld,", i, px->counters.p.http.rsp[i]);
+ chunk_printf(&msg, " %dxx=%lld,", i, px->counters.fe.http.rsp[i]);
- chunk_printf(&msg, " other=%lld\"", px->counters.p.http.rsp[0]);
+ chunk_printf(&msg, " other=%lld\"", px->counters.fe.http.rsp[0]);
}
chunk_printf(&msg,
int i;
for (i=1; i<6; i++)
- chunk_printf(&msg, "%lld,", px->counters.p.http.rsp[i]);
+ chunk_printf(&msg, "%lld,", px->counters.fe.http.rsp[i]);
- chunk_printf(&msg, "%lld,", px->counters.p.http.rsp[0]);
+ chunk_printf(&msg, "%lld,", px->counters.fe.http.rsp[0]);
} else {
chunk_printf(&msg, ",,,,,,");
}
chunk_printf(&msg, " title=\"rsp codes:");
for (i = 1; i < 6; i++)
- chunk_printf(&msg, " %dxx=%lld", i, px->counters.p.http.rsp[i]);
+ chunk_printf(&msg, " %dxx=%lld", i, px->counters.be.http.rsp[i]);
- chunk_printf(&msg, " other=%lld\"", px->counters.p.http.rsp[0]);
+ chunk_printf(&msg, " other=%lld\"", px->counters.be.http.rsp[0]);
}
chunk_printf(&msg,
int i;
for (i=1; i<6; i++)
- chunk_printf(&msg, "%lld,", px->counters.p.http.rsp[i]);
+ chunk_printf(&msg, "%lld,", px->counters.be.http.rsp[i]);
- chunk_printf(&msg, "%lld,", px->counters.p.http.rsp[0]);
+ chunk_printf(&msg, "%lld,", px->counters.be.http.rsp[0]);
} else {
chunk_printf(&msg, ",,,,,,");
}
n = 0;
if (s->fe->mode == PR_MODE_HTTP)
- s->fe->counters.p.http.rsp[n]++;
+ s->fe->counters.fe.http.rsp[n]++;
- if ((s->flags & SN_BE_ASSIGNED) && (s->fe != s->be) &&
+ if ((s->flags & SN_BE_ASSIGNED) &&
(s->be->mode == PR_MODE_HTTP))
- s->be->counters.p.http.rsp[n]++;
+ s->be->counters.be.http.rsp[n]++;
}
/* don't count other requests' data */
n = 0;
if (s->fe->mode == PR_MODE_HTTP)
- s->fe->counters.p.http.rsp[n]++;
+ s->fe->counters.fe.http.rsp[n]++;
- if ((s->flags & SN_BE_ASSIGNED) && (s->fe != s->be) &&
+ if ((s->flags & SN_BE_ASSIGNED) &&
(s->be->mode == PR_MODE_HTTP))
- s->be->counters.p.http.rsp[n]++;
+ s->be->counters.be.http.rsp[n]++;
}
/* let's do a final log if we need it */