From ef813c709749d02d8dee17f5215239909b2fe968 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 31 Mar 2014 08:40:24 +0200 Subject: http2: remove _DRAFT09 from the NPN_HTTP2 enum We're progressing throught drafts so there's no point in having a fixed one in a symbol that'll survive. --- lib/vtls/nss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/vtls/nss.c') diff --git a/lib/vtls/nss.c b/lib/vtls/nss.c index 80e26e2ea..577716fd5 100644 --- a/lib/vtls/nss.c +++ b/lib/vtls/nss.c @@ -657,7 +657,7 @@ static void HandshakeCallback(PRFileDesc *sock, void *arg) if(buflen == NGHTTP2_PROTO_VERSION_ID_LEN && memcmp(NGHTTP2_PROTO_VERSION_ID, buf, NGHTTP2_PROTO_VERSION_ID_LEN) == 0) { - conn->negnpn = NPN_HTTP2_DRAFT09; + conn->negnpn = NPN_HTTP2; } else if(buflen == ALPN_HTTP_1_1_LENGTH && memcmp(ALPN_HTTP_1_1, buf, ALPN_HTTP_1_1_LENGTH)) { -- cgit v1.2.3