[DRE-commits] [ruby-http-parser.rb] 03/05: Add 0006-disable-folding-header-test.patch to support newer http-parser (Closes #881627)

Cédric Boutillier boutil at moszumanska.debian.org
Wed Nov 15 23:50:59 UTC 2017


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

boutil pushed a commit to annotated tag debian/0.6.0-4
in repository ruby-http-parser.rb.

commit 4c0a99433583d566d60cb978d1bcc17bf8f5aa5f
Author: Cédric Boutillier <boutil at debian.org>
Date:   Wed Nov 15 23:14:03 2017 +0100

    Add 0006-disable-folding-header-test.patch to support newer http-parser (Closes #881627)
---
 .../patches/0006-disable-folding-header-test.patch | 34 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 35 insertions(+)

diff --git a/debian/patches/0006-disable-folding-header-test.patch b/debian/patches/0006-disable-folding-header-test.patch
new file mode 100644
index 0000000..a3b3aee
--- /dev/null
+++ b/debian/patches/0006-disable-folding-header-test.patch
@@ -0,0 +1,34 @@
+Subject: Disable folding header test
+Author: Christoph Biedl <debian.axhn at manchmal.in-ulm.de>
+Bug-Debian: https://bugs.debian.org/881627
+
+--- a/spec/support/requests.json
++++ b/spec/support/requests.json
+@@ -440,27 +440,6 @@
+     "strict": true
+   },
+   {
+-    "name": "line folding in header value",
+-    "type": "HTTP_REQUEST",
+-    "raw": "GET / HTTP/1.1\r\nLine1:   abc\r\n\tdef\r\n ghi\r\n\t\tjkl\r\n  mno \r\n\t \tqrs\r\nLine2: \t line2\t\r\n\r\n",
+-    "should_keep_alive": true,
+-    "message_complete_on_eof": false,
+-    "http_major": 1,
+-    "http_minor": 1,
+-    "method": "GET",
+-    "query_string": "",
+-    "fragment": "",
+-    "request_path": "/",
+-    "request_url": "/",
+-    "num_headers": 2,
+-    "headers": {
+-      "Line1": "abcdefghijklmno qrs",
+-      "Line2": "line2\t"
+-    },
+-    "body": "",
+-    "strict": true
+-  },
+-  {
+     "name": "host terminated by a query string",
+     "type": "HTTP_REQUEST",
+     "raw": "GET http://hypnotoad.org?hail=all HTTP/1.1\r\n\r\n",
diff --git a/debian/patches/series b/debian/patches/series
index 8e407a3..2ee6f22 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 0003-Build-with-system-libhttp-parser.patch
 0004-Do-not-overload-loadpath.patch
 0005-tweak-to-support-rspec3.patch
+0006-disable-folding-header-test.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-http-parser.rb.git



More information about the Pkg-ruby-extras-commits mailing list