Package: pound
Version: 2.4.3-1
Severity: important
Tags: patch

The MAXBUF constant defined at compile time was reduced upstream from
2048 to 1024 which results in "line too long" errors for requests that
contain large cookies:

Nov 18 16:25:07 ABC pound: (4361c950) line too long: Cookie: __abc= [...snip...]

The problem has been previously described in more detail here [1].

Most RPM-based distros have amended their SPEC files to pass
--with-maxbuf=2048 to ./configure [2].

We should do likewise, although I suggest using --with-maxbuf=4096 as
this is now the upstream default. (Patch below.)

[1] 
http://www.apsis.ch/pound/pound_list/archive/2008/2008-02/1203715523000/index_html?fullMode=1#1203952046000
[2] 
http://www.mail-archive.com/pld-cvs-com...@lists.pld-linux.org/msg155273.html


Thanks,

Terry


----

--- a/pound-2.4.3/debian/rules  2009-11-19 16:09:26.000000000 +0000
+++ b/pound-2.4.3/debian/rules  2009-11-19 16:10:01.000000000 +0000
@@ -36,7 +36,7 @@
        dh_testdir
        mv config.sub config.sub.upstream && ln -s /usr/share/misc/config.sub
        mv config.guess config.guess.upstream && ln -s 
/usr/share/misc/config.guess
-       env LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" ./configure
--prefix=/usr --mandir=\$${prefix}/share/man
--infodir=\$${prefix}/share/info --sysconfdir=/etc/pound
+       env LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" ./configure
--prefix=/usr --mandir=\$${prefix}/share/man
--infodir=\$${prefix}/share/info --sysconfdir=/etc/pound
--with-maxbuf=4096
        rm config.sub && mv config.sub.upstream config.sub
        rm config.guess && mv config.guess.upstream config.guess



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to