mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
[FEATURE] Add support for Q043
This commit is contained in:
parent
d0a7c0c18f
commit
c95974e91b
5 changed files with 25 additions and 8 deletions
|
@ -2275,7 +2275,7 @@ packetize_standalone_stream_reset (struct full_conn *conn, uint32_t stream_id)
|
|||
}
|
||||
lsquic_send_ctl_incr_pack_sz(&conn->fc_send_ctl, packet_out, sz);
|
||||
packet_out->po_frame_types |= 1 << QUIC_FRAME_RST_STREAM;
|
||||
LSQ_DEBUG("generated standaloen RST_STREAM frame for stream %"PRIu32,
|
||||
LSQ_DEBUG("generated standalone RST_STREAM frame for stream %"PRIu32,
|
||||
stream_id);
|
||||
return 1;
|
||||
}
|
||||
|
|
|
@ -167,9 +167,9 @@ extern const struct parse_funcs lsquic_parse_funcs_gquic_Q041;
|
|||
((1 << (ver)) & ((1 << LSQVER_035) | \
|
||||
(1 << LSQVER_037) | (1 << LSQVER_038))) \
|
||||
? &lsquic_parse_funcs_gquic_le : \
|
||||
((1 << (ver)) & ((1 << LSQVER_039) | (1 << LSQVER_042))) \
|
||||
? &lsquic_parse_funcs_gquic_Q039 \
|
||||
: &lsquic_parse_funcs_gquic_Q041)
|
||||
((1 << (ver)) & (1 << LSQVER_041)) \
|
||||
? &lsquic_parse_funcs_gquic_Q041 \
|
||||
: &lsquic_parse_funcs_gquic_Q039)
|
||||
|
||||
/* This function is QUIC-version independent */
|
||||
int
|
||||
|
|
|
@ -14,6 +14,7 @@ static const unsigned char version_tags[N_LSQVER][4] =
|
|||
[LSQVER_039] = { 'Q', '0', '3', '9', },
|
||||
[LSQVER_041] = { 'Q', '0', '4', '1', },
|
||||
[LSQVER_042] = { 'Q', '0', '4', '2', },
|
||||
[LSQVER_043] = { 'Q', '0', '4', '3', },
|
||||
};
|
||||
|
||||
|
||||
|
@ -64,6 +65,7 @@ const char *const lsquic_ver2str[N_LSQVER] = {
|
|||
[LSQVER_039] = "Q039",
|
||||
[LSQVER_041] = "Q041",
|
||||
[LSQVER_042] = "Q042",
|
||||
[LSQVER_043] = "Q043",
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue