]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: emit CONNECTION_CLOSE on app init error
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 14 Apr 2022 12:59:35 +0000 (14:59 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 14 Apr 2022 13:09:32 +0000 (15:09 +0200)
commit5d774dee557710e86b9ed906786ce03f88393c09
treee7a8cee75bb8c902ae0902cb71df3d300d7d3343
parent05d4ae64365cd0c49de165d8fca78178a74e21c2
MINOR: quic: emit CONNECTION_CLOSE on app init error

Emit a CONNECTION_CLOSE if the app layer cannot be properly initialized
on qc_xprt_start. This force the quic-conn to enter the closing state
before being closed.

Without this, quic-conn normal operations continue, despite the
app-layer reported as not initialized. This behavior is undefined, in
particular when handling STREAM frames.
src/xprt_quic.c