]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: stream: remove outdated comments
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Oct 2024 14:14:14 +0000 (16:14 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 22 Oct 2024 14:14:15 +0000 (16:14 +0200)
Comments added during a refactoring session were still there while they are
now totally useless. So let's remove them.

src/stream.c

index 9ad26b4ce6202611ab1d767ba78f818aacbe7b5c..bc037d8c5a3869bd433efd4d929768c73c338345 100644 (file)
@@ -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);