session: remove unused struct field 'version'

Also the comment referred to non-existing SPDY defines
This commit is contained in:
Daniel Stenberg 2013-09-01 16:04:04 +02:00
parent 15638d9e89
commit d192a602f4
1 changed files with 0 additions and 3 deletions

View File

@ -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;