gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 112/220: altsvc: make it use h3-22 with ngtcp2 as w


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 112/220: altsvc: make it use h3-22 with ngtcp2 as well
Date: Thu, 12 Sep 2019 17:27:52 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit 49e6b3857fb65d93b40ff6591b57d855586a8d99
Author: Daniel Stenberg <address@hidden>
AuthorDate: Mon Aug 12 12:19:59 2019 +0200

    altsvc: make it use h3-22 with ngtcp2 as well
---
 lib/altsvc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/altsvc.c b/lib/altsvc.c
index abea66c69..a649fefd8 100644
--- a/lib/altsvc.c
+++ b/lib/altsvc.c
@@ -54,7 +54,7 @@ static enum alpnid alpn2alpnid(char *name)
     return ALPN_h1;
   if(strcasecompare(name, "h2"))
     return ALPN_h2;
-#if defined(USE_QUICHE) && !defined(UNITTESTS)
+#if (defined(USE_QUICHE) || defined(USE_NGHTTP2)) && !defined(UNITTESTS)
   if(strcasecompare(name, "h3-22"))
     return ALPN_h3;
 #else
@@ -73,7 +73,7 @@ const char *Curl_alpnid2str(enum alpnid id)
   case ALPN_h2:
     return "h2";
   case ALPN_h3:
-#if defined(USE_QUICHE) && !defined(UNITTESTS)
+#if (defined(USE_QUICHE) || defined(USE_NGHTTP2)) && !defined(UNITTESTS)
     return "h3-22";
 #else
     return "h3";

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



reply via email to

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