Skip to content

Commit bf2c703

Browse files
author
Dmitri Tikhonov
committed
Release 1.17.3
[BUGFIX] Do not send STOP_WAITING frames when using Q044
1 parent feecb11 commit bf2c703

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2018-11-16
2+
- 1.17.3
3+
- [BUGFIX] Do not send STOP_WAITING frames when using Q044
4+
15
2018-10-19
26
- 1.17.2
37
- [BUGFIX] Memory leak in test_frame_rw unit test.

include/lsquic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extern "C" {
2525

2626
#define LSQUIC_MAJOR_VERSION 1
2727
#define LSQUIC_MINOR_VERSION 17
28-
#define LSQUIC_PATCH_VERSION 2
28+
#define LSQUIC_PATCH_VERSION 3
2929

3030
/**
3131
* Engine flags:

src/liblsquic/lsquic_engine.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,3 +1444,5 @@ lsquic_engine_count_attq (lsquic_engine_t *engine, int from_now)
14441444
now += from_now;
14451445
return attq_count_before(engine->attq, now);
14461446
}
1447+
1448+

src/liblsquic/lsquic_full_conn.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2001,7 +2001,8 @@ process_incoming_packet (struct full_conn *conn, lsquic_packet_in_t *packet_in)
20012001
if (conn->fc_conn.cn_version >= LSQVER_039)
20022002
{
20032003
assert(!(conn->fc_flags & FC_NSTP)); /* This bit off at start */
2004-
if (conn->fc_settings->es_support_nstp)
2004+
if (conn->fc_conn.cn_version >= LSQVER_044
2005+
|| conn->fc_settings->es_support_nstp)
20052006
{
20062007
conn->fc_flags |= FC_NSTP;
20072008
lsquic_send_ctl_turn_nstp_on(&conn->fc_send_ctl);

src/liblsquic/lsquic_handshake.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -965,6 +965,9 @@ lsquic_enc_session_gen_chlo (lsquic_enc_session_t *enc_session,
965965
return -1;
966966

967967
n_opts = 0;
968+
/* CHLO is not regenerated during version negotiation. Hence we always
969+
* include this option to cover the case when Q044 gets negotiated down.
970+
*/
968971
if (settings->es_support_nstp)
969972
opts[ n_opts++ ] = QTAG_NSTP;
970973

0 commit comments

Comments
 (0)