1.11.1: [BUGFIX] Fix STOP_WAITING frame processing in the new Q044 code

This commit is contained in:
Dmitri Tikhonov 2018-08-16 17:00:25 -04:00
parent 9626cfc25b
commit de1c35ddaf
4 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2018-08-16
- 1.11.1
- [BUGFIX] Fix STOP_WAITING frame processing in the new Q044 code
2018-08-15
- 1.11.0

View File

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

View File

@ -36,7 +36,7 @@ SOFTWARE.
#if LS_HPACK_EMIT_TEST_CODE
#include "lshpack-test.h"
#endif
#include XXH_HEADER_NAME
#include "lsquic_xxhash.h"
#define HPACK_STATIC_TABLE_SIZE 61
#define INITIAL_DYNAMIC_TABLE_SIZE 4096

View File

@ -83,7 +83,8 @@ typedef struct lsquic_packet_in
#define lsquic_packet_in_packno_bits(p) \
(((p)->pi_flags & PI_GQUIC) ? \
((lsquic_packet_in_public_flags(p) >> 4) & 3) : \
((p)->pi_data[0] & 3))
((p)->pi_header_type == HETY_NOT_SET ? \
((p)->pi_data[0] & 3) : PACKNO_LEN_4))
#define lsquic_packet_in_upref(p) (++(p)->pi_refcnt)