Release 4.0.0

This commit is contained in:
George Wang 2023-03-14 14:04:18 -04:00
parent 79880b469a
commit 5cf9266173
4 changed files with 4 additions and 3 deletions

View File

@ -205,7 +205,7 @@ imico_process_version_negociation (struct ietf_mini_conn *conn,
common_versions = conn->imc_enpub->enp_settings.es_versions
& params->tp_versions;
ver = highest_bit_set(common_versions);
if (conn->imc_conn.cn_version != ver)
if (conn->imc_conn.cn_version != (enum lsquic_version)ver)
{
LSQ_DEBUG("version negociation: switch version from %s to %s",
lsquic_ver2str[conn->imc_conn.cn_version],

View File

@ -393,7 +393,7 @@ lsquic_iquic_gen_retry_pkt (unsigned char *buf, size_t bufsz,
size_t ad_len, out_len;
unsigned ret_ver;
ssize_t sz;
const size_t INTEGRITY_TAG_LEN = 16;
#define INTEGRITY_TAG_LEN 16
/* [draft-ietf-quic-tls-25] Section 5.8 specifies the layout of the
* Retry Pseudo-Packet:

View File

@ -906,6 +906,7 @@ send_ctl_process_loss_chain_pkt (struct lsquic_send_ctl *ctl,
break;
default:
assert(0);
state = "bad";
break;
}
if (next && *next == chain_cur)

View File

@ -1,6 +1,5 @@
/* Copyright (c) 2017 - 2022 LiteSpeed Technologies Inc. See LICENSE. */
#include <assert.h>
#include <arpa/inet.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
@ -8,6 +7,7 @@
#include <time.h>
#ifndef WIN32
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/socket.h>
#endif