session: remove unused struct field 'version'
Also the comment referred to non-existing SPDY defines
This commit is contained in:
parent
15638d9e89
commit
d192a602f4
|
@ -114,9 +114,6 @@ typedef enum {
|
||||||
} nghttp2_goaway_flag;
|
} nghttp2_goaway_flag;
|
||||||
|
|
||||||
struct nghttp2_session {
|
struct nghttp2_session {
|
||||||
/* The protocol version: either NGHTTP2_PROTO_SPDY2 or
|
|
||||||
NGHTTP2_PROTO_SPDY3 */
|
|
||||||
uint16_t version;
|
|
||||||
uint8_t server;
|
uint8_t server;
|
||||||
/* Next Stream ID. Made unsigned int to detect >= (1 << 31). */
|
/* Next Stream ID. Made unsigned int to detect >= (1 << 31). */
|
||||||
uint32_t next_stream_id;
|
uint32_t next_stream_id;
|
||||||
|
|
Loading…
Reference in New Issue