summarylogtreecommitdiffstats
path: root/http2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'http2.patch')
-rw-r--r--http2.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/http2.patch b/http2.patch
deleted file mode 100644
index f40f3ead6c5e..000000000000
--- a/http2.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/legacy_http.c b/src/legacy_http.c
-index f97c5a2..03e2919 100644
---- a/src/legacy_http.c
-+++ b/src/legacy_http.c
-@@ -521,7 +521,7 @@ int range_fetch_read_http_headers(struct range_fetch *rf) {
- }
- if (buf[0] == 0)
- return 0; /* EOF, caller decides if that's an error */
-- if (memcmp(buf, "HTTP/1", 6) != 0 || (p = strchr(buf, ' ')) == NULL) {
-+ if (memcmp(buf, "HTTP/", 5) != 0 || (p = strchr(buf, ' ')) == NULL) {
- log_message("got non-HTTP response '%s'\n", buf);
- return -1;
- }