summaryrefslogtreecommitdiff
path: root/lib/vquic/ngtcp2.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-11-08 18:06:48 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-11-08 18:13:54 +0100
commit199976f938b844043a107580695077f58e8c55de (patch)
treeaa4431ee616d8ce3c79b85d51441f4feafec946e /lib/vquic/ngtcp2.c
parent1f73138ce1272ea52c9b0119f5ef67aed28af836 (diff)
downloadcurl-bagder/quiche-h3-headers.tar.gz
quiche: handle psuedo headers in another orderbagder/quiche-h3-headers
:status doesn't have to be the first header from quiche to arrive so this code now makes sure to handle such events. HTTP/3 (and HTTP/2) mandates: "All pseudo-header fields MUST appear in the header block before regular header fields" Fixes #4571
Diffstat (limited to 'lib/vquic/ngtcp2.c')
-rw-r--r--lib/vquic/ngtcp2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index c0f9b16e3..5732b759b 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -1575,6 +1575,10 @@ static CURLcode ng_flush_egress(struct connectdata *conn, int sockfd,
return CURLE_OK;
}
+void Curl_http3_done(struct Curl_easy *data)
+{
+ (void)data;
+}
/*
* Called from transfer.c:done_sending when we stop HTTP/3 uploading.
*/