http_wait_for_request() improperly reports term events on the scb instead
of scf, causing some request parsing failures to possibly be reported as
response errors. This was introduced in 3.2 with commit
2dc02f75b1 ("MEDIUM:
tevt/stconn/stream: Add dedicated termination events for stream location")
so it must be backported there.
_HA_ATOMIC_INC(&sess->fe_tgcounters->internal_errors);
if (sess->li_tgcounters)
_HA_ATOMIC_INC(&sess->li_tgcounters->internal_errors);
- stream_report_term_evt(s->scb, strm_tevt_type_internal_err);
+ stream_report_term_evt(s->scf, strm_tevt_type_internal_err);
goto return_prx_cond;
return_bad_req:
_HA_ATOMIC_INC(&sess->fe_tgcounters->failed_req);
if (sess->li_tgcounters)
_HA_ATOMIC_INC(&sess->li_tgcounters->failed_req);
- stream_report_term_evt(s->scb, strm_tevt_type_proto_err);
+ stream_report_term_evt(s->scf, strm_tevt_type_proto_err);
/* fall through */
return_prx_cond: