Release 4.0.0

This commit is contained in:
George Wang 2023-03-14 16:15:17 -04:00
parent 3db190c9cc
commit fbde61944b

View file

@ -1187,9 +1187,12 @@ promote_mini_conn (lsquic_engine_t *engine, lsquic_conn_t *mini_conn,
if (mini_conn->cn_flags & LSCONN_HASHED) if (mini_conn->cn_flags & LSCONN_HASHED)
remove_conn_from_hash(engine, mini_conn); remove_conn_from_hash(engine, mini_conn);
if (!(new_conn->cn_flags & LSCONN_TICKABLE))
{
lsquic_mh_insert(&engine->conns_tickable, new_conn, lsquic_mh_insert(&engine->conns_tickable, new_conn,
new_conn->cn_last_ticked); new_conn->cn_last_ticked);
engine_incref_conn(new_conn, LSCONN_TICKABLE); engine_incref_conn(new_conn, LSCONN_TICKABLE);
}
return 0; return 0;
} }
return -1; return -1;