gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 81/220: curl: have -w's 'http_version' show '3' for


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 81/220: curl: have -w's 'http_version' show '3' for HTTP/3
Date: Thu, 12 Sep 2019 17:27:21 +0200

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

ng0 pushed a commit to branch master
in repository gnurl.

commit eb63b27b6b76ccdb712d0bd4d00d779f658a6390
Author: Daniel Stenberg <address@hidden>
AuthorDate: Wed Aug 7 09:52:14 2019 +0200

    curl: have -w's 'http_version' show '3' for HTTP/3
    
    Closes #4196
---
 src/tool_writeout.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/tool_writeout.c b/src/tool_writeout.c
index d5b0bc44f..27b2ac50d 100644
--- a/src/tool_writeout.c
+++ b/src/tool_writeout.c
@@ -5,7 +5,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2018, Daniel Stenberg, <address@hidden>, et al.
+ * Copyright (C) 1998 - 2019, Daniel Stenberg, <address@hidden>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -314,6 +314,9 @@ void ourWriteOut(CURL *curl, struct OutStruct *outs, const 
char *writeinfo)
                   case CURL_HTTP_VERSION_2_0:
                     version = "2";
                     break;
+                  case CURL_HTTP_VERSION_3:
+                    version = "3";
+                    break;
                   }
 
                   fprintf(stream, version);

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



reply via email to

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