From 19b736a5fbf591ca82ff6d63a273f9797ee02589 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Tue, 22 Oct 2024 16:14:14 +0200 Subject: [PATCH] CLEANUP: stream: remove outdated comments Comments added during a refactoring session were still there while they are now totally useless. So let's remove them. --- src/stream.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/stream.c b/src/stream.c index 9ad26b4ce..bc037d8c5 100644 --- a/src/stream.c +++ b/src/stream.c @@ -1845,7 +1845,6 @@ struct task *process_stream(struct task *t, void *context, unsigned int state) if (sc_state_in(scf->state, SC_SB_EST|SC_SB_DIS)) { sc_abort(scf); sc_shutdown(scf); - //sc_report_error(scf); TODO: Be sure it is useless if (!(req->analysers) && !(res->analysers)) { _HA_ATOMIC_INC(&s->be->be_counters.cli_aborts); _HA_ATOMIC_INC(&sess->fe->fe_counters.cli_aborts); @@ -1865,7 +1864,6 @@ struct task *process_stream(struct task *t, void *context, unsigned int state) if (sc_state_in(scb->state, SC_SB_EST|SC_SB_DIS)) { sc_abort(scb); sc_shutdown(scb); - //sc_report_error(scb); TODO: Be sure it is useless _HA_ATOMIC_INC(&s->be->be_counters.failed_resp); if (srv) _HA_ATOMIC_INC(&srv->counters.failed_resp);