mirror of
https://github.com/curl/curl.git
synced 2026-08-25 22:13:33 +03:00
ngtcp2: do QUIC connections happy-eyeballs friendly
This commit is contained in:
parent
1d85e09ccd
commit
f2cc26456b
6 changed files with 262 additions and 230 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue