{
const int max = global.tune.quic_frontend_glitches_threshold;
+ /* TODO add a BE limit for glitch counter */
+ if (qcc->flags & QC_CF_IS_BACK)
+ return 0;
+
qcc->glitches += inc;
if (max && qcc->glitches >= max && !(qcc->flags & QC_CF_ERRL) &&
(th_ctx->idle_pct <= global.tune.glitch_kill_maxidle)) {
if (!(qcs->flags & QC_SF_READ_ABORTED)) {
ret = qcc->app_ops->rcv_buf(qcs, &b, fin);
- if (qcc->glitches != prev_glitches)
+ if (qcc->glitches != prev_glitches && !(qcc->flags & QC_CF_IS_BACK))
session_add_glitch_ctr(qcc->conn->owner, qcc->glitches - prev_glitches);
if (ret < 0) {
}
out:
- if (qcc->glitches != prev_glitches)
+ if (qcc->glitches != prev_glitches && !(qcc->flags & QC_CF_IS_BACK))
session_add_glitch_ctr(qcc->conn->owner, qcc->glitches - prev_glitches);
TRACE_LEAVE(QMUX_EV_QCC_RECV, qcc->conn);
qcc_refresh_timeout(qcc);
out:
- if (qcc->glitches != prev_glitches)
+ if (qcc->glitches != prev_glitches && !(qcc->flags & QC_CF_IS_BACK))
session_add_glitch_ctr(qcc->conn->owner, qcc->glitches - prev_glitches);
TRACE_LEAVE(QMUX_EV_QCC_RECV, qcc->conn);