mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
[BUGFIX] lsquic_gquic_be_parse_packet_in_finish() need to make sure the packet has flag PI_GQUIC.
Fix issue #262
This commit is contained in:
parent
ed94ac1253
commit
b2e1404ca7
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ lsquic_gquic_be_parse_packet_in_finish (lsquic_packet_in_t *packet_in,
|
||||||
struct packin_parse_state *state)
|
struct packin_parse_state *state)
|
||||||
{
|
{
|
||||||
lsquic_packno_t packno;
|
lsquic_packno_t packno;
|
||||||
if (state->pps_nbytes)
|
if ((packet_in->pi_flags & PI_GQUIC) && state->pps_nbytes)
|
||||||
{
|
{
|
||||||
READ_UINT(packno, 64, state->pps_p, state->pps_nbytes);
|
READ_UINT(packno, 64, state->pps_p, state->pps_nbytes);
|
||||||
packet_in->pi_packno = packno;
|
packet_in->pi_packno = packno;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue