[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 91/222: altsvc: correct the #ifdef for the ngtcp2 backend
From: |
gnunet |
Subject: |
[gnurl] 91/222: altsvc: correct the #ifdef for the ngtcp2 backend |
Date: |
Thu, 07 Nov 2019 00:09:47 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 218a62a6ce4fc0b0463f9e64e7a89afa4d151d16
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed Sep 25 12:13:43 2019 +0200
altsvc: correct the #ifdef for the ngtcp2 backend
---
lib/altsvc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/altsvc.c b/lib/altsvc.c
index 689991b63..a961e5c05 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(USE_NGHTTP2)) && !defined(UNITTESTS)
+#if (defined(USE_QUICHE) || defined(USE_NGTCP2)) && !defined(UNITTESTS)
if(strcasecompare(name, "h3-23"))
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(USE_NGHTTP2)) && !defined(UNITTESTS)
+#if (defined(USE_QUICHE) || defined(USE_NGTCP2)) && !defined(UNITTESTS)
return "h3-23";
#else
return "h3";
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 70/222: socks: Fix destination host shown on SOCKS5 error, (continued)
- [gnurl] 70/222: socks: Fix destination host shown on SOCKS5 error, gnunet, 2019/11/06
- [gnurl] 74/222: winbuild: Add manifest to curl.exe for proper OS version detection, gnunet, 2019/11/06
- [gnurl] 82/222: libssh: part of conditional expression is always true, gnunet, 2019/11/06
- [gnurl] 75/222: vtls: fix narrowing conversion warnings, gnunet, 2019/11/06
- [gnurl] 77/222: doh: return early if there is no time left, gnunet, 2019/11/06
- [gnurl] 90/222: altsvc: save h3 as h3-23, gnunet, 2019/11/06
- [gnurl] 102/222: quiche: set 'drain' when returning without having drained the queues, gnunet, 2019/11/06
- [gnurl] 92/222: travis: move the go install to linux-only, gnunet, 2019/11/06
- [gnurl] 100/222: HTTP3: merged and simplified the two 'running' sections, gnunet, 2019/11/06
- [gnurl] 87/222: os400: getpeername() and getsockname() return ebcdic AF_UNIX sockaddr,, gnunet, 2019/11/06
- [gnurl] 91/222: altsvc: correct the #ifdef for the ngtcp2 backend,
gnunet <=
- [gnurl] 94/222: ngtcp2: remove fprintf() calls, gnunet, 2019/11/06
- [gnurl] 88/222: HTTP3.md: move -p for mkdir, remove -j for make, gnunet, 2019/11/06
- [gnurl] 108/222: FTP: url-decode path before evaluation, gnunet, 2019/11/06
- [gnurl] 89/222: urlapi: question mark within fragment is still fragment, gnunet, 2019/11/06
- [gnurl] 93/222: url: fix the NULL hostname compiler warning case, gnunet, 2019/11/06
- [gnurl] 97/222: openssl: use strerror on SSL_ERROR_SYSCALL, gnunet, 2019/11/06
- [gnurl] 109/222: FTP: add test for FTPFILE_NOCWD: Avoid redundant CWDs, gnunet, 2019/11/06
- [gnurl] 127/222: chunked-encoding: stop hiding the CURLE_BAD_CONTENT_ENCODING error, gnunet, 2019/11/06
- [gnurl] 95/222: url: don't set appconnect time for non-ssl/non-ssh connections, gnunet, 2019/11/06
- [gnurl] 121/222: git: add tests/server/disabled to .gitignore, gnunet, 2019/11/06