mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 20:46:11 +02:00
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.
This commit is contained in:
parent
26e0935681
commit
2726624ee7
18
src/stconn.c
18
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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user