From f2cc26456ba6253cabbfdb77a2e894a87f348694 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 12 Aug 2019 16:28:28 +0200 Subject: ngtcp2: do QUIC connections happy-eyeballs friendly --- lib/vquic/ngtcp2.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lib/vquic/ngtcp2.h') diff --git a/lib/vquic/ngtcp2.h b/lib/vquic/ngtcp2.h index da84793d1..e75ff1109 100644 --- a/lib/vquic/ngtcp2.h +++ b/lib/vquic/ngtcp2.h @@ -39,7 +39,8 @@ struct quic_handshake { }; struct quicsocket { - ngtcp2_conn *conn; + struct connectdata *conn; /* point back to the connection */ + ngtcp2_conn *qconn; ngtcp2_cid dcid; ngtcp2_cid scid; uint32_t version; @@ -64,11 +65,6 @@ struct quicsocket { #include "urldata.h" -CURLcode Curl_quic_connect(struct connectdata *conn, - curl_socket_t sockfd, - const struct sockaddr *addr, - socklen_t addrlen); -int Curl_quic_ver(char *p, size_t len); #endif #endif /* HEADER_CURL_VQUIC_NGTCP2_H */ -- cgit v1.2.3