[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 101/220: ngtcp2: Send ALPN h3-22
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 101/220: ngtcp2: Send ALPN h3-22 |
Date: |
Thu, 12 Sep 2019 17:27:41 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 86ae7404824ed9d79ffc6aa36294684e83ef9c82
Author: Tatsuhiro Tsujikawa <address@hidden>
AuthorDate: Sun Aug 11 10:49:03 2019 +0900
ngtcp2: Send ALPN h3-22
Closes #4212
---
lib/vquic/ngtcp2.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index e5c624126..c1aa00987 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -586,10 +586,10 @@ static int quic_init_ssl(struct connectdata *conn)
SSL_set_key_callback(qs->ssl, ssl_key_cb, conn);
switch(qs->version) {
-#ifdef NGTCP2_PROTO_VER_D17
- case NGTCP2_PROTO_VER_D17:
- alpn = (const uint8_t *)NGTCP2_ALPN_D17;
- alpnlen = strlen(NGTCP2_ALPN_D17);
+#ifdef NGTCP2_PROTO_VER
+ case NGTCP2_PROTO_VER:
+ alpn = (const uint8_t *)NGTCP2_ALPN_H3;
+ alpnlen = sizeof(NGTCP2_ALPN_H3) - 1;
break;
#endif
}
@@ -997,6 +997,7 @@ CURLcode Curl_quic_connect(struct connectdata *conn,
(void)addrlen;
infof(conn->data, "Connecting socket %d over QUIC\n", sockfd);
+ qs->version = NGTCP2_PROTO_VER;
qs->sslctx = quic_ssl_ctx(conn->data);
if(!qs->sslctx)
return CURLE_FAILED_INIT; /* TODO: better return code */
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [gnurl] 95/220: http3: make connection reuse work, (continued)
- [GNUnet-SVN] [gnurl] 95/220: http3: make connection reuse work, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 105/220: nghttp3: initial h3 template code added, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 109/220: HTTP3: use ngtcp2's draft-22 branch, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 112/220: altsvc: make it use h3-22 with ngtcp2 as well, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 115/220: lib/quic.c: unused - removed, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 123/220: curl_version: bump string buffer size to 250, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 117/220: quic.h: remove unused proto, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 81/220: curl: have -w's 'http_version' show '3' for HTTP/3, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 118/220: nss: use TLSv1.3 as default if supported, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 100/220: ngtcp2: use ngtcp2_settings_default and specify initial_ts, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 101/220: ngtcp2: Send ALPN h3-22,
gnunet <=
- [GNUnet-SVN] [gnurl] 92/220: RELEASE-NOTES: synced, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 97/220: HTTP3.md: Update quiche build instructions, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 96/220: CURLOPT_H3: removed, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 91/220: alt-svc: add protocol version selection masking, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 98/220: ngtcp2: make the QUIC handshake work, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 108/220: RELEASE-NOTES: synced, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 110/220: curl_version_info: offer quic (and h3) library info, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 122/220: CURLOPT_ALTSVC.3: use a "" file name to not load from a file, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 113/220: docs/HTTP3: simplify quiche build instruction, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 116/220: curl_version_info.3: mentioned ALTSVC and HTTP3, gnunet, 2019/09/12