mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Release 2.10.1
- [BUGFIX] Coalesced packets could get longer than normal packet size. - Add spin bit configuration option es_spin (-o spin=[01]). - Disable spin bit in 1/16 of connections. - Improve logging a bit.
This commit is contained in:
parent
9fc120419d
commit
4ab453a184
6 changed files with 91 additions and 12 deletions
|
@ -25,7 +25,7 @@ extern "C" {
|
|||
|
||||
#define LSQUIC_MAJOR_VERSION 2
|
||||
#define LSQUIC_MINOR_VERSION 10
|
||||
#define LSQUIC_PATCH_VERSION 0
|
||||
#define LSQUIC_PATCH_VERSION 1
|
||||
|
||||
/**
|
||||
* Engine flags:
|
||||
|
@ -381,6 +381,9 @@ typedef struct ssl_ctx_st * (*lsquic_lookup_cert_f)(
|
|||
/** Use QL loss bits by default */
|
||||
#define LSQUIC_DF_QL_BITS 2
|
||||
|
||||
/** Turn spin bit on by default */
|
||||
#define LSQUIC_DF_SPIN 1
|
||||
|
||||
/* 1: Cubic; 2: BBR */
|
||||
#define LSQUIC_DF_CC_ALGO 1
|
||||
|
||||
|
@ -759,6 +762,13 @@ struct lsquic_engine_settings {
|
|||
* Default value is @ref LSQUIC_DF_QL_BITS
|
||||
*/
|
||||
int es_ql_bits;
|
||||
|
||||
/**
|
||||
* Enable spin bit. Allowed values are 0 and 1.
|
||||
*
|
||||
* Default value is @ref LSQUIC_DF_SPIN
|
||||
*/
|
||||
int es_spin;
|
||||
};
|
||||
|
||||
/* Initialize `settings' to default values */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue