commit | 789413caf04fbbf7093365b87e194668a61d7c39 | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Mon Jan 31 10:16:18 2022 +0100 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Mon Jan 31 16:40:23 2022 +0100 |
tree | e6ebf8b854239359f1bb1b72548385ee3d497545 | |
parent | 91f083a365b56cbfa993281031b6b9c66eba278a [diff] |
MINOR: quic: Initialize the connection timer asap We must move this initialization from xprt_start() callback, which comes too late (after handshake completion for 1RTT session). This timer must be usable as soon as we have packets to send/receive. Let's initialize it after the TLS context is initialized in qc_conn_alloc_ssl_ctx(). This latter function initializes I/O handler task (quic_conn_io_cb) to send/receive packets.