]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-quic: handle null timeout
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 21 Apr 2022 14:29:27 +0000 (16:29 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 21 Apr 2022 14:35:46 +0000 (16:35 +0200)
commita3daaec5a6e3d1342be288105296df68162737b3
tree413008a80adc379691e15803b58e5208b997f91d
parentf3e03a40667c1dfadb29621888d0420b50a3b6d2
BUG/MINOR: mux-quic: handle null timeout

Do not initialize mux task timeout if timeout client is set to 0 in the
configuration. Check for the task before queuing it in qc_io_cb() or
qc_detach().

This fix a crash when timeout client is 0 or undefined.
src/mux_quic.c