Commit d192a602 authored by Daniel Stenberg's avatar Daniel Stenberg

session: remove unused struct field 'version'

Also the comment referred to non-existing SPDY defines
parent 15638d9e
...@@ -114,9 +114,6 @@ typedef enum { ...@@ -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;
......
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