]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: refresh timeout on frame decoding
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 2 Aug 2022 13:57:16 +0000 (15:57 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 3 Aug 2022 13:04:18 +0000 (15:04 +0200)
commit418ba2146124935fb5270144c8fff8d3495f1ec4
tree7bc4ae9100eaff5b75884876166b14519941477c
parent8d818c6eabf71f45d5cd46e136b60bcb4dde50d9
MINOR: mux-quic: refresh timeout on frame decoding

Refresh the MUX connection timeout in frame parsing functions. This is
necessary as these Rx operation are completed directly from the
quic-conn layer outside of MUX I/O callback. Thus, the timeout should be
refreshed on this occasion.

Note that however on STREAM parsing refresh is only conducted when
receiving the current consecutive data offset.

Timeouts related function have been moved up in the source file to be
able to use them in qcc_decode_qcs().

This commit will be useful for http-request timeout. Indeed, a new
stream may be opened during qcc_decode_qcs() which should trigger this
timeout until a full header section is received and qcs instance is
attached to sedesc.
src/mux_quic.c