http2: handle 101 responses and switch to HTTP2

This commit is contained in:
Daniel Stenberg 2013-09-12 13:51:04 +02:00
parent 8bcf677a30
commit 8d3608f2ad
4 changed files with 67 additions and 5 deletions

View file

@ -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 */