Release 1.20.0

[FEATURE] Add support for Q046.
This commit is contained in:
Dmitri Tikhonov 2019-04-01 11:41:55 -04:00
parent 428530e38e
commit c7d81ce135
29 changed files with 576 additions and 185 deletions

View file

@ -24,8 +24,8 @@ extern "C" {
#endif
#define LSQUIC_MAJOR_VERSION 1
#define LSQUIC_MINOR_VERSION 19
#define LSQUIC_PATCH_VERSION 6
#define LSQUIC_MINOR_VERSION 20
#define LSQUIC_PATCH_VERSION 0
/**
* Engine flags:
@ -103,6 +103,11 @@ enum lsquic_version
*/
LSQVER_044,
/**
* Q046. Use IETF Draft-17 compatible packet headers.
*/
LSQVER_046,
#if LSQUIC_USE_Q098
/**
* Q098. This is a made-up, experimental version used to test version
@ -119,7 +124,7 @@ enum lsquic_version
};
/**
* We currently support versions 35, 39, 43, and 44.
* We currently support versions 35, 39, 43, 44, and 46.
* @see lsquic_version
*/
#define LSQUIC_SUPPORTED_VERSIONS ((1 << N_LSQVER) - 1)
@ -135,7 +140,7 @@ enum lsquic_version
/**
* List of versions in which the server never includes CID in short packets.
*/
#define LSQUIC_FORCED_TCID0_VERSIONS (1 << LSQVER_044)
#define LSQUIC_FORCED_TCID0_VERSIONS ((1 << LSQVER_044) | (1 << LSQVER_046))
enum lsquic_hsk_status
{
@ -371,8 +376,8 @@ struct lsquic_engine_settings {
* (source-addr, dest-addr) tuple, thereby making it necessary to create
* a socket for each connection.
*
* This option has no effect in Q044, as the server never includes CIDs
* in the short packets.
* This option has no effect in Q044 or Q046, as the server never includes
* CIDs in the short packets.
*
* The default is @ref LSQUIC_DF_SUPPORT_TCID0.
*/