diff options
Diffstat (limited to 'lib/vquic/quiche.c')
-rw-r--r-- | lib/vquic/quiche.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c index 9af2d894f..be6f15c19 100644 --- a/lib/vquic/quiche.c +++ b/lib/vquic/quiche.c @@ -107,6 +107,14 @@ static CURLcode quiche_disconnect(struct connectdata *conn, (void)dead_connection; return qs_disconnect(qs); } + +void Curl_quic_disconnect(struct connectdata *conn, + int tempindex) +{ + if(conn->transport == TRNSPRT_QUIC) + qs_disconnect(&conn->hequic[tempindex]); +} + static unsigned int quiche_conncheck(struct connectdata *conn, unsigned int checks_to_perform) { |