mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:23:33 +03:00
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:
parent
9317eced98
commit
ef813c7097
5 changed files with 7 additions and 7 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue