ngtcp2: do QUIC connections happy-eyeballs friendly

This commit is contained in:
Daniel Stenberg 2019-08-12 16:28:28 +02:00
parent 1d85e09ccd
commit f2cc26456b
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
6 changed files with 262 additions and 230 deletions

File diff suppressed because it is too large Load diff

View file

@ -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 */