Release 1.17.3

[BUGFIX] Do not send STOP_WAITING frames when using Q044
This commit is contained in:
Dmitri Tikhonov 2018-11-16 11:32:34 -05:00
parent feecb11b46
commit bf2c703721
5 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2018-11-16
- 1.17.3
- [BUGFIX] Do not send STOP_WAITING frames when using Q044
2018-10-19
- 1.17.2
- [BUGFIX] Memory leak in test_frame_rw unit test.

View file

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

View file

@ -1444,3 +1444,5 @@ lsquic_engine_count_attq (lsquic_engine_t *engine, int from_now)
now += from_now;
return attq_count_before(engine->attq, now);
}

View file

@ -2001,7 +2001,8 @@ process_incoming_packet (struct full_conn *conn, lsquic_packet_in_t *packet_in)
if (conn->fc_conn.cn_version >= LSQVER_039)
{
assert(!(conn->fc_flags & FC_NSTP)); /* This bit off at start */
if (conn->fc_settings->es_support_nstp)
if (conn->fc_conn.cn_version >= LSQVER_044
|| conn->fc_settings->es_support_nstp)
{
conn->fc_flags |= FC_NSTP;
lsquic_send_ctl_turn_nstp_on(&conn->fc_send_ctl);

View file

@ -965,6 +965,9 @@ lsquic_enc_session_gen_chlo (lsquic_enc_session_t *enc_session,
return -1;
n_opts = 0;
/* CHLO is not regenerated during version negotiation. Hence we always
* include this option to cover the case when Q044 gets negotiated down.
*/
if (settings->es_support_nstp)
opts[ n_opts++ ] = QTAG_NSTP;