commit | d00b3093c9c60883e3abe96dcd521e670731ac84 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Thu May 11 17:00:54 2023 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Fri May 12 15:52:19 2023 +0200 |
tree | 6f34d258e48ad89ac62f28a5a536bafa18dcbdbe | |
parent | 0abde9dee69fe151f5f181a34e0782ef840abe53 [diff] |
BUG/MINOR: mux-quic: handle properly recv ncbuf alloc failure The function qc_get_ncbuf() is used to allocate a ncbuf content. Allocation failure was handled using a plain BUG_ON. Fix this by a proper error management. This buffer is only used for STREAM frame reception to support out-of-order offsets. When an allocation failed, close the connection with a QUIC internal error code. This should be backported up to 2.6.