From: Christopher Faulet Date: Fri, 31 Mar 2023 08:23:27 +0000 (+0200) Subject: CLEANUP: stconn: Remove remaining debug messages X-Git-Tag: v2.8-dev7~100 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2726624ee7787a3c7502153c8891443081f0777c;p=thirdparty%2Fhaproxy.git CLEANUP: stconn: Remove remaining debug messages It is now possible to enable traces for applets. Thus we can remove annoying debug messages (DPRINTF) to track calls to applets. --- diff --git a/src/stconn.c b/src/stconn.c index 3e6962e32d..c4e26be865 100644 --- a/src/stconn.c +++ b/src/stconn.c @@ -487,8 +487,6 @@ struct appctx *sc_applet_create(struct stconn *sc, struct applet *app) { struct appctx *appctx; - DPRINTF(stderr, "registering handler %p for sc %p (was %p)\n", app, sc, sc_strm_task(sc)); - appctx = appctx_new_here(app, sc->sedesc); if (!appctx) return NULL; @@ -613,10 +611,6 @@ static void sc_app_chk_rcv(struct stconn *sc) { struct channel *ic = sc_ic(sc); - DPRINTF(stderr, "%s: sc=%p, sc->state=%d ic->flags=%08x oc->flags=%08x\n", - __FUNCTION__, - sc, sc->state, ic->flags, sc_oc(sc)->flags); - if (ic->pipe) { /* stop reading */ sc_need_room(sc); @@ -633,10 +627,6 @@ static void sc_app_chk_snd(struct stconn *sc) { struct channel *oc = sc_oc(sc); - DPRINTF(stderr, "%s: sc=%p, sc->state=%d ic->flags=%08x oc->flags=%08x\n", - __FUNCTION__, - sc, sc->state, sc_ic(sc)->flags, oc->flags); - if (unlikely(sc->state != SC_ST_EST || (oc->flags & CF_SHUTW))) return; @@ -941,10 +931,6 @@ static void sc_app_chk_rcv_applet(struct stconn *sc) BUG_ON(!sc_appctx(sc)); - DPRINTF(stderr, "%s: sc=%p, sc->state=%d ic->flags=%08x oc->flags=%08x\n", - __FUNCTION__, - sc, sc->state, ic->flags, sc_oc(sc)->flags); - if (!ic->pipe) { /* (re)start reading */ appctx_wakeup(__sc_appctx(sc)); @@ -958,10 +944,6 @@ static void sc_app_chk_snd_applet(struct stconn *sc) BUG_ON(!sc_appctx(sc)); - DPRINTF(stderr, "%s: sc=%p, sc->state=%d ic->flags=%08x oc->flags=%08x\n", - __FUNCTION__, - sc, sc->state, sc_ic(sc)->flags, oc->flags); - if (unlikely(sc->state != SC_ST_EST || (oc->flags & CF_SHUTW))) return;