mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Release 4.0.2
This commit is contained in:
parent
b81a3fb15f
commit
a18ccca39e
20 changed files with 116 additions and 78 deletions
|
@ -1134,8 +1134,9 @@ test_one_frt (const struct frame_reader_test *frt)
|
|||
stream.conn_pub = &conn_pub;
|
||||
conn_pub.lconn = &lconn;
|
||||
|
||||
top:
|
||||
lsquic_mm_init(&mm);
|
||||
|
||||
top:
|
||||
lshpack_dec_init(&hdec);
|
||||
memset(&input, 0, sizeof(input));
|
||||
memcpy(input.in_buf, frt->frt_buf, frt->frt_bufsz);
|
||||
|
|
|
@ -376,7 +376,7 @@ init_test_objs (struct test_objs *tobjs, unsigned initial_conn_window,
|
|||
tobjs->stream_if = &stream_if;
|
||||
tobjs->stream_if_ctx = &test_ctx;
|
||||
tobjs->ctor_flags = stream_ctor_flags;
|
||||
if ((1 << tobjs->lconn.cn_version) & LSQUIC_IETF_VERSIONS)
|
||||
//if ((1 << tobjs->lconn.cn_version) & LSQUIC_IETF_VERSIONS)
|
||||
{
|
||||
lsquic_qeh_init(&tobjs->qeh, &tobjs->lconn);
|
||||
s = lsquic_qeh_settings(&tobjs->qeh, 0, 0, 0, 0);
|
||||
|
@ -395,7 +395,7 @@ deinit_test_objs (struct test_objs *tobjs)
|
|||
lsquic_send_ctl_cleanup(&tobjs->send_ctl);
|
||||
lsquic_malo_destroy(tobjs->conn_pub.packet_out_malo);
|
||||
lsquic_mm_cleanup(&tobjs->eng_pub.enp_mm);
|
||||
if ((1 << tobjs->lconn.cn_version) & LSQUIC_IETF_VERSIONS)
|
||||
//if ((1 << tobjs->lconn.cn_version) & LSQUIC_IETF_VERSIONS)
|
||||
lsquic_qeh_cleanup(&tobjs->qeh);
|
||||
}
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@ main (int argc, char **argv)
|
|||
printf("\n");
|
||||
|
||||
lsquic_tg_destroy(tg);
|
||||
lsquic_stock_shared_hash_destroy(enpub.enp_shi_ctx);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue