aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-03-07 11:10:30 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-03-07 11:10:30 +0100
commit00ea0e7db0a0a958309d35e28718949d10d537c9 (patch)
tree0bf576909106ce0b1abc010805a5cf4c7783db5c /lib/urldata.h
parentdf28af8f39dee6780c6fa354d695c8ce8d10c58e (diff)
http2: use CURL_HTTP_VERSION_* symbols instead of NPN_*
Since they already exist and will make comparing easier
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 37081c1b8..202d81951 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -600,12 +600,6 @@ enum upgrade101 {
UPGR101_WORKING /* talking upgraded protocol */
};
-enum negotiatenpn {
- NPN_INIT, /* default state */
- NPN_HTTP1_1, /* HTTP/1.1 negotiated */
- NPN_HTTP2 /* HTTP2 (draft-xx) negotiated */
-};
-
/*
* Request specific data in the easy handle (SessionHandle). Previously,
* these members were on the connectdata struct but since a conn struct may
@@ -1067,7 +1061,7 @@ struct connectdata {
} tunnel_state[2]; /* two separate ones to allow FTP */
struct connectbundle *bundle; /* The bundle we are member of */
- enum negotiatenpn negnpn;
+ int negnpn; /* APLN or NPN TLS negotiated protocol, CURL_HTTP_VERSION* */
};
/* The end of connectdata. */