Release 2.18.2

- [BUGFIX] Send prediction: lone path challenges do not get squeezed out
- Fix crash in http_client: now -K and -B can be used simultaneously
This commit is contained in:
Dmitri Tikhonov 2020-07-22 13:55:43 -04:00
parent 692a91022d
commit b329a00e5e
5 changed files with 15 additions and 14 deletions

View file

@ -1,3 +1,8 @@
2020-07-22
- 2.18.2
- [BUGFIX] Send prediction: lone path challenges do not get squeezed out
- Fix crash in http_client: now -K and -B can be used simultaneously
2020-07-14 2020-07-14
- 2.18.1 - 2.18.1
- [FEATURE] Implement the "QUIC bit grease" extension. - [FEATURE] Implement the "QUIC bit grease" extension.

View file

@ -957,9 +957,7 @@ hset_create (void *hsi_ctx, lsquic_stream_t *stream, int is_push_promise)
{ {
struct hset *hset; struct hset *hset;
if (s_discard_response) if ((hset = malloc(sizeof(*hset))))
return (void *) 1;
else if ((hset = malloc(sizeof(*hset))))
{ {
STAILQ_INIT(hset); STAILQ_INIT(hset);
return hset; return hset;
@ -1057,8 +1055,6 @@ hset_destroy (void *hset_p)
struct hset *hset = hset_p; struct hset *hset = hset_p;
struct hset_elem *el, *next; struct hset_elem *el, *next;
if (!s_discard_response)
{
for (el = STAILQ_FIRST(hset); el; el = next) for (el = STAILQ_FIRST(hset); el; el = next)
{ {
next = STAILQ_NEXT(el, next); next = STAILQ_NEXT(el, next);
@ -1067,7 +1063,6 @@ hset_destroy (void *hset_p)
} }
free(hset); free(hset);
} }
}
static void static void

View file

@ -26,7 +26,7 @@ author = u'LiteSpeed Technologies'
# The short X.Y version # The short X.Y version
version = u'2.18' version = u'2.18'
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags
release = u'2.18.1' release = u'2.18.2'
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------

View file

@ -25,7 +25,7 @@ extern "C" {
#define LSQUIC_MAJOR_VERSION 2 #define LSQUIC_MAJOR_VERSION 2
#define LSQUIC_MINOR_VERSION 18 #define LSQUIC_MINOR_VERSION 18
#define LSQUIC_PATCH_VERSION 1 #define LSQUIC_PATCH_VERSION 2
/** /**
* Engine flags: * Engine flags:

View file

@ -1696,7 +1696,8 @@ lsquic_send_ctl_next_packet_to_send_predict (struct lsquic_send_ctl *ctl)
return 0; return 0;
} }
if ((packet_out->po_flags & PO_REPACKNO) if ((packet_out->po_flags & PO_REPACKNO)
&& packet_out->po_regen_sz == packet_out->po_data_sz) && packet_out->po_regen_sz == packet_out->po_data_sz
&& packet_out->po_frame_types != QUIC_FTBIT_PATH_CHALLENGE)
{ {
LSQ_DEBUG("send prediction: packet %"PRIu64" would be dropped, " LSQ_DEBUG("send prediction: packet %"PRIu64" would be dropped, "
"continue", packet_out->po_packno); "continue", packet_out->po_packno);