diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-22 14:08:18 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-23 18:00:12 +0200 |
commit | a44277fa98677977de73ea1c34bcdbac5e24df83 (patch) | |
tree | 46be1169dec129df20c418b3a98b92ff7ffb4ad9 /lib/http.h | |
parent | 32d64b2e875f0d74cd433dff8bda9f8a98dcd44e (diff) | |
download | curl-a44277fa98677977de73ea1c34bcdbac5e24df83.tar.gz |
ngtcp2: accept upload via callback [WIP]bagder/ngtcp2-upload
Diffstat (limited to 'lib/http.h')
-rw-r--r-- | lib/http.h | 8 |
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 }; |