From 00ea0e7db0a0a958309d35e28718949d10d537c9 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 7 Mar 2015 11:10:30 +0100 Subject: http2: use CURL_HTTP_VERSION_* symbols instead of NPN_* Since they already exist and will make comparing easier --- lib/urldata.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'lib/urldata.h') 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. */ -- cgit v1.2.3