diff --git a/src/peers.c b/src/peers.c index f9dabf7c0..1644728a5 100644 --- a/src/peers.c +++ b/src/peers.c @@ -2043,14 +2043,10 @@ static int peer_treat_updatemsg(struct appctx *appctx, struct peer *p, int updt, HA_RWLOCK_WRUNLOCK(STK_SESS_LOCK, &ts->lock); stktable_touch_remote(st->table, ts, 1); - TRACE_LEAVE(PEERS_EV_UPDTMSG, NULL, p); - return 1; ignore_msg: - /* skip consumed message */ - co_skip(sc_oc(sc), totl); - TRACE_DEVEL("leaving in error", PEERS_EV_UPDTMSG); - return 0; + TRACE_LEAVE(PEERS_EV_UPDTMSG, NULL, p); + return 1; malformed_unlock: /* malformed message */ @@ -2328,11 +2324,9 @@ static inline int peer_treat_definemsg(struct appctx *appctx, struct peer *p, p->remote_table->remote_data = table_data; p->remote_table->remote_id = table_id; - return 1; ignore_msg: - co_skip(sc_oc(sc), totl); - return 0; + return 1; malformed_exit: /* malformed message */