mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
[BUGFIX] allow multiple parallel connections by default
Use the original method of tracking connections by CIDs by default. If zero-sized CID support is turned on, connections are tracked by the address. A new connection is not created if another connection is using the same network address.
This commit is contained in:
parent
96f77e2060
commit
cd7bc3834d
6 changed files with 55 additions and 12 deletions
|
@ -201,7 +201,7 @@ struct lsquic_stream_if {
|
|||
/** Do not use NSTP by default */
|
||||
#define LSQUIC_DF_SUPPORT_NSTP 0
|
||||
#define LSQUIC_DF_SUPPORT_PUSH 1
|
||||
#define LSQUIC_DF_SUPPORT_TCID0 1
|
||||
#define LSQUIC_DF_SUPPORT_TCID0 0
|
||||
/** By default, LSQUIC ignores Public Reset packets. */
|
||||
#define LSQUIC_DF_HONOR_PRST 0
|
||||
|
||||
|
@ -319,7 +319,12 @@ struct lsquic_engine_settings {
|
|||
* If set to true value, the server will not include connection ID in
|
||||
* outgoing packets if client's CHLO specifies TCID=0.
|
||||
*
|
||||
* For client, this means including TCID=0 into CHLO message.
|
||||
* For client, this means including TCID=0 into CHLO message. Note that
|
||||
* in this case, the engine tracks connections by the
|
||||
* (source-addr, dest-addr) tuple, thereby making it necessary to create
|
||||
* a socket for each connection.
|
||||
*
|
||||
* The default is @ref LSQUIC_DF_SUPPORT_TCID0.
|
||||
*/
|
||||
int es_support_tcid0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue