diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-01-30 14:26:00 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-01-30 14:26:00 +0100 |
commit | a878cb305650ccd25f205cbbdc44bb01e722a25d (patch) | |
tree | 77ff9281476421cacfdc86a19395ff95c5be7426 /lib/http2.h | |
parent | 0e113070579535c08ef734b319df08cdfbefbba6 (diff) | |
download | curl-a878cb305650ccd25f205cbbdc44bb01e722a25d.tar.gz |
http2: do the POST Upgrade dance properly
Diffstat (limited to 'lib/http2.h')
-rw-r--r-- | lib/http2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http2.h b/lib/http2.h index c6a5c41dc..ef994b7ba 100644 --- a/lib/http2.h +++ b/lib/http2.h @@ -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) |