Release 2.19.8

- [FEATURE] Update the timestamp extension to latest version.
- [FEATURE] Cope with appearance of ECN blackholes.
- [OPTIMIZATION] return packno offset and size when header is generated.
- [BUGFIX] ignore old ACK frames in mini conns.
- [BUGFIX] Mark initial server path as initialized.
- [BUGFIX] Do not merge ACK if ECN counts do not match.
- Turn incoming packet number history in mini conn back on.
- Record mini conn event history again when compiled in debug mode.
- IETF mini conn: log when ACK is queued.
- Clean up and refactor code in several places.
This commit is contained in:
Dmitri Tikhonov 2020-09-02 09:03:19 -04:00
parent 792df0522e
commit 49f1f4f620
26 changed files with 201 additions and 209 deletions

View file

@ -334,7 +334,7 @@ make_non_stream_frame (struct test_ctx *ctx,
fill_byte, frame_type, packet_out->po_data_sz, nbytes);
packet_out->po_data_sz += nbytes;
packet_out->po_frame_types |= 1 << frame_type;
if ((1 << frame_type) & GQUIC_FRAME_REGEN_MASK)
if ((1 << frame_type) & BQUIC_FRAME_REGEN_MASK)
packet_out->po_regen_sz += nbytes;
LSQ_DEBUG("wrote %s frame of %zd bytes", frame_type_2_str[frame_type],
nbytes);
@ -482,7 +482,7 @@ verify_non_stream_frames (struct test_ctx *ctx, const struct test_spec *spec)
for (frec = lsquic_pofi_first(&pofi, packet_out); frec;
frec = lsquic_pofi_next(&pofi))
{
if ((1 << frec->fe_frame_type) & GQUIC_FRAME_REGEN_MASK)
if ((1 << frec->fe_frame_type) & BQUIC_FRAME_REGEN_MASK)
{
assert(regen_sz == 0 || regen_sz == off);
regen_sz += frec->fe_len;

View file

@ -220,7 +220,7 @@ run_test (int i)
unsigned char out[GQUIC_MAX_PUBHDR_SZ];
int len = test->pf->pf_gen_reg_pkt_header(&lconn, &packet_out, out,
sizeof(out));
sizeof(out), NULL, NULL);
assert(("Packet length is correct", len == test->len));