r13933 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r13932‎ | r13933 | r13934 >
Date:18:46, 29 April 2006
Author:mark
Status:old
Tags:
Comment:
squid-2.5.STABLE13-5wm
- Include a patch that does not mangle headers using header_replace for
request headers generated by squid to origin servers
Modified paths:
  • /trunk/rpms/SOURCES/squid-2.5.STABLE13-nomanglerequestheaders.patch (added) (history)
  • /trunk/rpms/SPECS/squid.spec (modified) (history)

Diff [purge]

Index: trunk/rpms/SOURCES/squid-2.5.STABLE13-nomanglerequestheaders.patch
@@ -0,0 +1,13 @@
 2+--- src/http.c.orig 2006-04-29 15:51:43.000000000 +0000
 3+@@ -1030,8 +1030,10 @@
 4+ httpHeaderPutStr(hdr_out, HDR_CONNECTION, "keep-alive");
 5+ }
 6+ }
 7++#if 0
 8+ /* Now mangle the headers. */
 9+ httpHdrMangleList(hdr_out, orig_request);
 10++#endif
 11+ stringClean(&strConnection);
 12+ }
 13+
Index: trunk/rpms/SPECS/squid.spec
@@ -5,7 +5,7 @@
66 Summary: The Squid proxy caching server.
77 Name: squid
88 Version: 2.5.STABLE13
9 -Release: 4wm
 9+Release: 5wm
1010 Epoch: 7
1111 License: GPL
1212 Group: System Environment/Daemons
@@ -36,6 +36,7 @@
3737 # Wikimedia patches
3838 Patch251: squid-htcp-clr.diff
3939 Patch252: squid-2.5.STABLE12RC1-errors.patch
 40+Patch253: squid-2.5.STABLE13-nomanglerequestheaders.patch
4041
4142 BuildRoot: %{_tmppath}/%{name}-%{version}-root
4243 Prereq: /sbin/chkconfig logrotate shadow-utils
@@ -70,6 +71,7 @@
7172 %patch207 -p0 -b .htcp
7273 %patch251 -p0 -b .htcpclr
7374 %patch252 -p1 -b .errors
 75+%patch253 -p0 -b .nomanglerequestheaders
7476
7577 %build
7678 export CFLAGS="-fPIE -Os -g -pipe -fsigned-char" ; export LDFLAGS=-pie ;
@@ -108,7 +110,7 @@
109111 --enable-carp \
110112 --datadir=%{_datadir}
111113
112 -export CFLAGS="-fPIE -Os -g -pipe -fsigned-char -DPURIFY=1" ; export LDFLAGS=-pie ;
 114+export CFLAGS="-fPIE -Os -g -pipe -fsigned-char" ; export LDFLAGS=-pie ;
113115 make %{?_smp_mflags}
114116
115117 mkdir faq
@@ -304,6 +306,10 @@
305307 chgrp squid /var/cache/samba/winbindd_privileged > /dev/null 2>& 1 || true
306308
307309 %changelog
 310+* Sat Apr 29 2006 Mark Bergsma <mark@nedworks.org> 7:2.5.STABLE13-5.WM
 311+- Include a patch that does not mangle headers using header_replace for
 312+ request headers generated by squid to origin servers
 313+
308314 * Thu Apr 27 2006 Mark Bergsma <mark@nedworks.org> 7:2.5.STABLE13-4.WM
309315 - New production build with HTCP memleak fix
310316

Status & tagging log