From: Christopher Faulet Date: Tue, 22 Oct 2024 14:14:14 +0000 (+0200) Subject: CLEANUP: stream: remove outdated comments X-Git-Tag: v3.1-dev11~82 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=19b736a5fbf591ca82ff6d63a273f9797ee02589;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/src/stream.c b/src/stream.c index 9ad26b4ce6..bc037d8c5a 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);