Commit 5d788e97 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttp2_hd: Move pointer variables before size_t

parent 2e11f01a
...@@ -103,6 +103,11 @@ typedef struct { ...@@ -103,6 +103,11 @@ typedef struct {
typedef struct { typedef struct {
/* dynamic header table */ /* dynamic header table */
nghttp2_hd_ringbuf hd_table; nghttp2_hd_ringbuf hd_table;
/* Holding emitted entry in deflating header block to retain
reference count. */
nghttp2_hd_entry **emit_set;
/* Keep track of allocated buffers in inflation */
uint8_t **buf_track;
/* Abstract buffer size of hd_table as described in the spec. This /* Abstract buffer size of hd_table as described in the spec. This
is the sum of length of name/value in hd_table + is the sum of length of name/value in hd_table +
NGHTTP2_HD_ENTRY_OVERHEAD bytes overhead per each entry. */ NGHTTP2_HD_ENTRY_OVERHEAD bytes overhead per each entry. */
...@@ -128,11 +133,6 @@ typedef struct { ...@@ -128,11 +133,6 @@ typedef struct {
size_t deflate_hd_tablelen; size_t deflate_hd_tablelen;
/* The number of entry the |buf_track| contains. */ /* The number of entry the |buf_track| contains. */
size_t buf_tracklen; size_t buf_tracklen;
/* Holding emitted entry in deflating header block to retain
reference count. */
nghttp2_hd_entry **emit_set;
/* Keep track of allocated buffers in inflation */
uint8_t **buf_track;
/* Role of this context; deflate or infalte */ /* Role of this context; deflate or infalte */
nghttp2_hd_role role; nghttp2_hd_role role;
/* NGHTTP2_HD_SIDE_REQUEST for processing request, otherwise /* NGHTTP2_HD_SIDE_REQUEST for processing request, otherwise
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment