mirror of
https://github.com/curl/curl.git
synced 2026-08-12 05:50:53 +03:00
http2: handle 101 responses and switch to HTTP2
This commit is contained in:
parent
8bcf677a30
commit
8d3608f2ad
4 changed files with 67 additions and 5 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue