aboutsummaryrefslogtreecommitdiff
path: root/lib/http2.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-09-12 13:51:04 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-01-29 10:24:05 +0100
commit8d3608f2ad29bb65ce0926a45b46ff29902c279f (patch)
tree1d9ddec9546056b9ad7d6d94b545e0492c7ebe95 /lib/http2.h
parent8bcf677a30cc1559b635c0eca7dd29ac2ab5f4bb (diff)
http2: handle 101 responses and switch to HTTP2
Diffstat (limited to 'lib/http2.h')
-rw-r--r--lib/http2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http2.h b/lib/http2.h
index 09b91d112..ffe16820e 100644
--- a/lib/http2.h
+++ b/lib/http2.h
@@ -34,8 +34,10 @@ int Curl_http2_ver(char *p, size_t len);
CURLcode Curl_http2_request(Curl_send_buffer *req,
struct connectdata *conn);
+void Curl_http2_switched(struct connectdata *conn);
#else /* USE_NGHTTP2 */
#define Curl_http2_request(x,y) CURLE_OK
+#define Curl_http2_switched(x)
#endif
#endif /* HEADER_CURL_HTTP2_H */