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.
This commit is contained in:
Christopher Faulet 2024-10-22 16:14:14 +02:00
parent 7dc930d231
commit 19b736a5fb

View 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);