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.
This commit is contained in:
Daniel Stenberg 2014-03-31 08:40:24 +02:00
parent 9317eced98
commit ef813c7097
5 changed files with 7 additions and 7 deletions

View file

@ -1674,8 +1674,8 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
*done = TRUE;
switch (conn->negnpn) {
case NPN_HTTP2_DRAFT09:
infof(data, "http, we have to use HTTP-draft-09/2\n");
case NPN_HTTP2:
infof(data, "Negotiated http2\n");
Curl_http2_init(conn);
Curl_http2_switched(conn);
break;