Amaury Denoyelle 34b31d85cb OPTIM: quic: do not call qc_send() if nothing to emit
qc_send() was systematically called by quic_conn IO handlers with all
instantiated quic_enc_level. Change this to only register quic_enc_level
for send if needed. Do not call at all qc_send() if no qel registered.

A new function qel_need_sending() is defined to detect if sending is
required. First, it checks if quic_enc_level has prepared frames or
probing is set. It can also returns true if ACK required either on
quic_enc_level itself or because of quic_conn ack timer fired. Finally,
a CONNECTION_CLOSE emission for quic_conn is also a valid case.

This should reduce the number of invocations of qc_send(). This could
improve slightly performance, as well as simplify traces debugging.
2024-04-10 11:17:21 +02:00
..
2023-08-01 10:49:06 +02:00
2023-01-27 15:18:59 +01:00
2023-04-13 16:57:51 +02:00
2024-04-05 15:40:42 +02:00
2021-11-18 10:50:58 +01:00
2022-04-22 15:45:47 +02:00
2022-11-29 15:14:39 +01:00
2024-04-05 15:40:42 +02:00
2024-01-26 17:29:27 +01:00
2023-05-04 18:09:50 +02:00
2023-12-05 16:19:35 +01:00