http2: do the POST Upgrade dance properly

This commit is contained in:
Daniel Stenberg
2014-01-30 14:26:00 +01:00
parent 0e11307057
commit a878cb3056
3 changed files with 16 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ CURLcode Curl_http2_init(struct connectdata *conn);
CURLcode Curl_http2_send_request(struct connectdata *conn);
CURLcode Curl_http2_request_upgrade(Curl_send_buffer *req,
struct connectdata *conn);
void Curl_http2_switched(struct connectdata *conn);
int Curl_http2_switched(struct connectdata *conn);
#else /* USE_NGHTTP2 */
#define Curl_http2_init(x)
#define Curl_http2_send_request(x)