gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 43/220: quiche: use the proper HTTP/3 ALPN


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 43/220: quiche: use the proper HTTP/3 ALPN
Date: Thu, 12 Sep 2019 17:26:43 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit decefd5778f0b1f3b0e1178f2264b39f3c294f10
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Aug 2 13:22:26 2019 +0200

    quiche: use the proper HTTP/3 ALPN
---
 lib/vquic/quiche.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/vquic/quiche.c b/lib/vquic/quiche.c
index b7b7cc94e..ac1ba8d48 100644
--- a/lib/vquic/quiche.c
+++ b/lib/vquic/quiche.c
@@ -70,7 +70,11 @@ CURLcode Curl_quic_connect(struct connectdata *conn, 
curl_socket_t sockfd,
   quiche_config_set_initial_max_stream_data_uni(qs->cfg, QUIC_MAX_DATA);
   quiche_config_set_initial_max_streams_bidi(qs->cfg, QUIC_MAX_STREAMS);
   quiche_config_set_initial_max_streams_uni(qs->cfg, QUIC_MAX_STREAMS);
-  quiche_config_set_application_protos(qs->cfg, (uint8_t *) "\x05hq-20", 6);
+  quiche_config_set_application_protos(qs->cfg,
+                                       (uint8_t *)
+                                       QUICHE_H3_APPLICATION_PROTOCOL,
+                                       sizeof(QUICHE_H3_APPLICATION_PROTOCOL)
+                                       - 1);
 
   result = Curl_rand(conn->data, qs->scid, sizeof(qs->scid));
   if(result)

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]