[libanyevent-http-perl] 01/02: Add ae-http-connection-tokens.patch

Salvatore Bonaccorso carnil at debian.org
Tue Feb 18 13:11:48 UTC 2014


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

carnil pushed a commit to branch master
in repository libanyevent-http-perl.

commit 113b988bf567353f256dd44338b736c0537b8f90
Author: Salvatore Bonaccorso <carnil at debian.org>
Date:   Tue Feb 18 14:10:40 2014 +0100

    Add ae-http-connection-tokens.patch
    
    Separate connection tokens with comma.
    
    Thanks:  Raphael Geissert <geissert at debian.org>
    
    Closes: #739236
---
 debian/patches/ae-http-connection-tokens.patch | 18 ++++++++++++++++++
 debian/patches/series                          |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/ae-http-connection-tokens.patch b/debian/patches/ae-http-connection-tokens.patch
new file mode 100644
index 0000000..1a04e41
--- /dev/null
+++ b/debian/patches/ae-http-connection-tokens.patch
@@ -0,0 +1,18 @@
+Description: Separate connection tokens with comma
+Origin: upstream, http://cvs.schmorp.de/AnyEvent-HTTP/HTTP.pm?r1=1.117&r2=1.118&pathrev=MAIN
+Bug-Debian: https://bugs.debian.org/739236
+Forwarded: not-needed
+Author: Salvatore Bonaccorso <carnil at debian.org>
+Last-Update: 2014-02-18
+
+--- a/HTTP.pm
++++ b/HTTP.pm
+@@ -785,7 +785,7 @@
+    # the key to use in the keepalive cache
+    my $ka_key = "$uscheme\x00$uhost\x00$uport\x00$arg{sessionid}";
+ 
+-   $hdr{connection} = ($persistent ? $keepalive ? "keep-alive " : "" : "close ") . "Te"; #1.1
++   $hdr{connection} = ($persistent ? $keepalive ? "keep-alive, " : "" : "close, ") . "Te"; #1.1
+    $hdr{te}         = "trailers" unless exists $hdr{te}; #1.1
+ 
+    my %state = (connect_guard => 1);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1562beb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+ae-http-connection-tokens.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libanyevent-http-perl.git



More information about the Pkg-perl-cvs-commits mailing list