summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-05-18 16:21:08 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-05-19 00:29:09 +0200
commitb1dded68e3405c51ff89f2c310d67eacc092e272 (patch)
treecdb1f2dd5edddfdb1dce3435cc1ba8546d707bbb
parent7b6d771a193f21be93e6f70a85b0ad03f6ab8bcb (diff)
downloadcurl-b1dded68e3405c51ff89f2c310d67eacc092e272.tar.gz
h3: add 'attach' callback to protocol handlers
Follow-up to 0c55fbab45be Reviewed-by: Emil Engler Closes #7090
-rw-r--r--lib/vquic/ngtcp2.c1
-rw-r--r--lib/vquic/quiche.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index 15184827a..7f076759b 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -934,6 +934,7 @@ static const struct Curl_handler Curl_handler_http3 = {
ng_disconnect, /* disconnect */
ZERO_NULL, /* readwrite */
ng_conncheck, /* connection_check */
+ ZERO_NULL, /* attach connection */
PORT_HTTP, /* defport */
CURLPROTO_HTTPS, /* protocol */
CURLPROTO_HTTP, /* family */
diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c
index 33d303d44..d0d04780e 100644
--- a/lib/vquic/quiche.c
+++ b/lib/vquic/quiche.c
@@ -157,6 +157,7 @@ static const struct Curl_handler Curl_handler_http3 = {
quiche_disconnect, /* disconnect */
ZERO_NULL, /* readwrite */
quiche_conncheck, /* connection_check */
+ ZERO_NULL, /* attach connection */
PORT_HTTP, /* defport */
CURLPROTO_HTTPS, /* protocol */
CURLPROTO_HTTP, /* family */