mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Fix spam of ping network frames. (#478)
After some time without activity (only keepalive), the ping frame was send in loop.
This commit is contained in:
parent
95bc8f9663
commit
b81a3fb15f
1 changed files with 1 additions and 1 deletions
|
@ -7934,7 +7934,7 @@ ietf_full_conn_ci_packet_sent (struct lsquic_conn *lconn,
|
|||
struct ietf_full_conn *const conn = (struct ietf_full_conn *) lconn;
|
||||
int s;
|
||||
|
||||
if (packet_out->po_frame_types & IQUIC_FRAME_RETX_MASK)
|
||||
if (packet_out->po_frame_types & (IQUIC_FRAME_RETX_MASK | QUIC_FTBIT_ACK))
|
||||
conn->ifc_n_cons_unretx = 0;
|
||||
else
|
||||
++conn->ifc_n_cons_unretx;
|
||||
|
|
Loading…
Reference in a new issue