[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 114/219: http: mark bundle as not for multiuse on <
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 114/219: http: mark bundle as not for multiuse on < HTTP/2 response |
Date: |
Wed, 22 May 2019 19:17:33 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit c32248f17d6d79de19aff60061ec8c2adf82f177
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue Apr 30 11:09:10 2019 +0200
http: mark bundle as not for multiuse on < HTTP/2 response
Fixes #3813
Closes #3815
---
lib/http.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/http.c b/lib/http.c
index b23739431..76a504b5a 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -3630,6 +3630,10 @@ CURLcode Curl_http_readwrite_headers(struct Curl_easy
*data,
if(conn->httpversion != 20)
infof(data, "Lying server, not serving HTTP/2\n");
}
+ if(conn->httpversion < 20) {
+ conn->bundle->multiuse = BUNDLE_NO_MULTIUSE;
+ infof(data, "Mark bundle as not supporting multiuse\n");
+ }
}
else if(!nc) {
/* this is the real world, not a Nirvana
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnurl] 114/219: http: mark bundle as not for multiuse on < HTTP/2 response,
gnunet <=