summaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-12 16:28:28 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-14 23:14:12 +0200
commitf2cc26456ba6253cabbfdb77a2e894a87f348694 (patch)
tree3fc74a11e77aed8f463d220cb17045f8fe9e190f /lib/http.c
parent1d85e09ccd1696655c86cacbf14e50e3a52e3ffb (diff)
downloadcurl-f2cc26456ba6253cabbfdb77a2e894a87f348694.tar.gz
ngtcp2: do QUIC connections happy-eyeballs friendly
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/http.c b/lib/http.c
index 12e260bff..b1eef71f8 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -1565,10 +1565,8 @@ static CURLcode https_connecting(struct connectdata *conn, bool *done)
#ifdef ENABLE_QUIC
if(conn->transport == TRNSPRT_QUIC) {
- result = Curl_quic_is_connected(conn, FIRSTSOCKET, done);
- if(result)
- connclose(conn, "Failed HTTPS connection (over QUIC)");
- return result;
+ *done = TRUE;
+ return CURLE_OK;
}
#endif