BUG/MINOR: mux-h1: properly handle NOOP blocks and track EOM emission
An HTX NOOP block may carry the EOM flag, notably when the end of the
message is reported on an empty HTX message. This is what happens when
an H3 request is received with trailers that do not end the stream:
h3_trailers_to_htx() emits an EOT block without the EOM flag when the
FIN was not received with the trailers, and when the FIN later arrives
in a separate empty STREAM frame, which is valid per RFC 9114,
qcs_http_handle_standalone_fin() calls htx_set_eom() which adds a NOOP
block carrying the EOM flag. On an H1 server, this block arrives after
the H1 mux reached the DONE state, which was a processing error: the
request failed with a 500 and "IH--" (or "ID--") termination flags.
The H1 mux now tracks the EOM emission with a new H1S_F_EOM_SENT flag,
set when the last chunk is emitted (h1_make_eoh, h1_make_data) or when
the EOT block carrying EOM is processed in h1_make_trailers. The new
h1_make_done() function handles the DONE state: it consumes NOOP
blocks, reporting the EOM on the first one carrying the flag, and skips
RAW_DATA blocks after a tunnel rejection on the backend side, replacing
the now removed h1_skip_tunnel() function. This way, a late EOM block
received in DONE state properly terminates the message instead of
raising a processing error.
This also fixes the EOM reporting on an empty HTX message by applets and
HTTP analyzers, which produced a NOOP block rejected by the DONE-state
processing.
This fix must not be backported because it relies on HTX changes
performed in 3.5.