summaryrefslogtreecommitdiff
path: root/lib/http.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-22 14:08:18 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-23 22:33:29 +0200
commit0a5d28fa2ec872de55c8d3f3b62675f17ca9cd45 (patch)
tree46be1169dec129df20c418b3a98b92ff7ffb4ad9 /lib/http.h
parent32d64b2e875f0d74cd433dff8bda9f8a98dcd44e (diff)
downloadcurl-0a5d28fa2ec872de55c8d3f3b62675f17ca9cd45.tar.gz
ngtcp2: accept upload via callback
Closes #4256
Diffstat (limited to 'lib/http.h')
-rw-r--r--lib/http.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/http.h b/lib/http.h
index 945aceb56..6232bbc3a 100644
--- a/lib/http.h
+++ b/lib/http.h
@@ -126,6 +126,10 @@ CURLcode Curl_http_auth_act(struct connectdata *conn);
#endif /* CURL_DISABLE_HTTP */
+#ifdef USE_NGHTTP3
+struct h3out; /* see ngtcp2 */
+#endif
+
/****************************************************************************
* HTTP unique setup
***************************************************************************/
@@ -196,6 +200,10 @@ struct HTTP {
int64_t stream3_id; /* stream we are interested in */
bool firstbody; /* FALSE until body arrives */
bool h3req; /* FALSE until request is issued */
+ bool upload_done;
+#endif
+#ifdef USE_NGHTTP3
+ struct h3out *h3out; /* per-stream buffers for upload */
#endif
};