diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-03-31 08:40:24 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-03-31 08:40:24 +0200 |
commit | ef813c709749d02d8dee17f5215239909b2fe968 (patch) | |
tree | 373ebf9c3065bb666f0fe0512112e0e8d1039559 /lib/http.c | |
parent | 9317eced98408c7fefa6dd5f1559050e1ec8a3b7 (diff) | |
download | curl-ef813c709749d02d8dee17f5215239909b2fe968.tar.gz |
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.
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c index 4a29058c2..53e5af04f 100644 --- a/lib/http.c +++ b/lib/http.c @@ -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; |