[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 45/220: altsvc: with quiche, use the quiche h3 alpn
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 45/220: altsvc: with quiche, use the quiche h3 alpn string |
Date: |
Thu, 12 Sep 2019 17:26:45 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 0711153b4609ee0a45de5c61a86e0c3313cbc2dd
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Aug 2 14:27:26 2019 +0200
altsvc: with quiche, use the quiche h3 alpn string
Closes #4183
---
lib/altsvc.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/lib/altsvc.c b/lib/altsvc.c
index e4d3ea605..0e9471999 100644
--- a/lib/altsvc.c
+++ b/lib/altsvc.c
@@ -56,8 +56,13 @@ static enum alpnid alpn2alpnid(char *name)
return ALPN_h2;
if(strcasecompare(name, "h2c"))
return ALPN_h2c;
+#ifdef USE_QUICHE
+ if(strcasecompare(name, "h3-20"))
+ return ALPN_h3;
+#else
if(strcasecompare(name, "h3"))
return ALPN_h3;
+#endif
return ALPN_none; /* unknown, probably rubbish input */
}
@@ -72,7 +77,11 @@ const char *Curl_alpnid2str(enum alpnid id)
case ALPN_h2c:
return "h2c";
case ALPN_h3:
+#ifdef USE_QUICHE
+ return "h3-20";
+#else
return "h3";
+#endif
default:
return ""; /* bad */
}
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [gnurl] 04/220: docs/MANUAL.md: converted to markdown from plain text, (continued)
- [GNUnet-SVN] [gnurl] 04/220: docs/MANUAL.md: converted to markdown from plain text, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 09/220: HTTP3: initial (experimental) support, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 05/220: curl: support parallel transfers, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 31/220: ntlm: explicit type casting, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 38/220: mailmap: add Giorgos Oikonomou, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 33/220: getenv: support up to 4K environment variable contents on windows, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 37/220: src/makefile: fix uncompressed hugehelp.c generation, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 43/220: quiche: use the proper HTTP/3 ALPN, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 46/220: url: set conn->transport to default TCP at init time, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 40/220: http_negotiate: improve handling of gss_init_sec_context() failures, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 45/220: altsvc: with quiche, use the quiche h3 alpn string,
gnunet <=
- [GNUnet-SVN] [gnurl] 44/220: alt-svc: more liberal ALPN name parsing, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 28/220: cleanup: remove the 'numsocks' argument used in many places, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 29/220: curl: remove outdated comment, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 27/220: readwrite_data: repair setting the TIMER_STARTTRANSFER stamp, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 39/220: mailmap: added 4 more names, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 41/220: mailmap: added Kyohei Kadota, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 36/220: appveyor: pass on -k to make, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 30/220: curl.h: fix outdated comment, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 42/220: quiche: add failf() calls for two error cases, gnunet, 2019/09/12
- [GNUnet-SVN] [gnurl] 34/220: ROADMAP: parallel transfers are merged now, gnunet, 2019/09/12