Release 2.22.1

- [BUGFIX] Function that checks validity of handshake packets.
This commit is contained in:
Dmitri Tikhonov 2020-10-08 09:28:24 -04:00
parent 464a1af9c4
commit 00c58df38c
5 changed files with 16 additions and 6 deletions

View file

@ -25,7 +25,7 @@ extern "C" {
#define LSQUIC_MAJOR_VERSION 2
#define LSQUIC_MINOR_VERSION 22
#define LSQUIC_PATCH_VERSION 0
#define LSQUIC_PATCH_VERSION 1
/**
* Engine flags:
@ -1923,7 +1923,8 @@ lsquic_get_h3_alpns (unsigned versions);
* been established: it will return incorrect result.
*/
int
lsquic_is_valid_hs_packet (lsquic_engine_t *, const unsigned char *, size_t);
lsquic_is_valid_hs_packet (lsquic_engine_t *, const unsigned char *,
size_t bufsz, size_t packet_in_sz);
/**
* Parse cid from packet stored in `buf' and store it to `cid'. Returns 0