mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Release 4.0.0
This commit is contained in:
parent
3db190c9cc
commit
fbde61944b
1 changed files with 6 additions and 3 deletions
|
@ -1187,9 +1187,12 @@ promote_mini_conn (lsquic_engine_t *engine, lsquic_conn_t *mini_conn,
|
|||
if (mini_conn->cn_flags & LSCONN_HASHED)
|
||||
remove_conn_from_hash(engine, mini_conn);
|
||||
|
||||
lsquic_mh_insert(&engine->conns_tickable, new_conn,
|
||||
new_conn->cn_last_ticked);
|
||||
engine_incref_conn(new_conn, LSCONN_TICKABLE);
|
||||
if (!(new_conn->cn_flags & LSCONN_TICKABLE))
|
||||
{
|
||||
lsquic_mh_insert(&engine->conns_tickable, new_conn,
|
||||
new_conn->cn_last_ticked);
|
||||
engine_incref_conn(new_conn, LSCONN_TICKABLE);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue