mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-01 19:20:59 +02:00
Previously, shut callback was entirely implemented in QUIC mux layer. However, this operation depends on the above application protocol, as it may define its own closure procedure and error codes. This is the case notably with HTTP/3 specification. This patch defines a stream shut API between QUIC mux and application protocol layers via the new qcc_app_ops callback lclose(). The closure reason is specified via an enum argument. Application protcol can then perform the stream closure as intended. This patch is only an architecture adjustment but should not have any functional impact. Stream closure logic was moved identically from QUIC mux into h3 and h09 lclose callback.