aboutsummaryrefslogtreecommitdiff
path: root/lib/vquic/quiche.c
diff options
context:
space:
mode:
authorJavier Blazquez <jblazquez@riotgames.com>2019-11-15 23:57:45 -0800
committerDaniel Stenberg <daniel@haxx.se>2019-11-18 16:40:08 +0100
commite0363a47de4972c7d23d87b8f75a683cf0c4271b (patch)
tree129f3bc86535044759da6d9bc5e7d28b8bff1f0d /lib/vquic/quiche.c
parent425c572a19b169df4b2b8eed18f64781ab32e3c0 (diff)
ngtcp2: use overflow buffer for extra HTTP/3 data
Fixes #4525 Closes #4603
Diffstat (limited to 'lib/vquic/quiche.c')
-rw-r--r--lib/vquic/quiche.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c
index 6f9a72579..b2c98d255 100644
--- a/lib/vquic/quiche.c
+++ b/lib/vquic/quiche.c
@@ -785,4 +785,23 @@ CURLcode Curl_quic_done_sending(struct connectdata *conn)
return CURLE_OK;
}
+/*
+ * Called from http.c:Curl_http_done when a request completes.
+ */
+void Curl_quic_done(struct Curl_easy *data, bool premature)
+{
+ (void)data;
+ (void)premature;
+}
+
+/*
+ * Called from transfer.c:data_pending to know if we should keep looping
+ * to receive more data from the connection.
+ */
+bool Curl_quic_data_pending(const struct Curl_easy *data)
+{
+ (void)data;
+ return FALSE;
+}
+
#endif