r13930 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r13929‎ | r13930 | r13931 >
Date:18:37, 29 April 2006
Author:mark
Status:old
Tags:
Comment:
squid-2.5.STABLE13-4wm
- New production build with the big HTCP memleak fix
Modified paths:
  • /trunk/rpms/SOURCES/squid-2.5.STABLE13-htcp.patch (added) (history)
  • /trunk/rpms/SPECS/squid.spec (modified) (history)

Diff [purge]

Index: trunk/rpms/SOURCES/squid-2.5.STABLE13-htcp.patch
@@ -0,0 +1,12 @@
 2+--- src/htcp.c.orig 2006-04-27 20:33:35.000000000 +0000
 3+@@ -598,6 +598,9 @@
 4+ packerClean(&p);
 5+ }
 6+ pkt = htcpBuildPacket(&stuff, &pktlen);
 7++ safe_free(stuff.D.resp_hdrs);
 8++ safe_free(stuff.D.entity_hdrs);
 9++ safe_free(stuff.D.cache_hdrs);
 10+ if (pkt == NULL) {
 11+ debug(31, 0) ("htcpTstReply: htcpBuildPacket() failed\n");
 12+ return;
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: 1wm
 9+Release: 4wm
1010 Epoch: 7
1111 License: GPL
1212 Group: System Environment/Daemons
@@ -31,6 +31,7 @@
3232 Patch204: squid-2.5.STABLE4-perlpath.patch
3333 Patch205: squid-2.5.STABLE5-pipe.patch
3434 #Patch206: squid-2.5.STABLE11-libbind.patch
 35+Patch207: squid-2.5.STABLE13-htcp.patch
3536
3637 # Wikimedia patches
3738 Patch251: squid-htcp-clr.diff
@@ -66,6 +67,7 @@
6768 %patch204 -p1 -b .perlpath
6869 %patch205 -p1 -b .pipe
6970 #%patch206 -p1 -b .libbind
 71+%patch207 -p0 -b .htcp
7072 %patch251 -p0 -b .htcpclr
7173 %patch252 -p1 -b .errors
7274
@@ -106,7 +108,7 @@
107109 --enable-carp \
108110 --datadir=%{_datadir}
109111
110 -export CFLAGS="-fPIE -Os -g -pipe -fsigned-char" ; export LDFLAGS=-pie ;
 112+export CFLAGS="-fPIE -Os -g -pipe -fsigned-char -DPURIFY=1" ; export LDFLAGS=-pie ;
111113 make %{?_smp_mflags}
112114
113115 mkdir faq
@@ -302,6 +304,12 @@
303305 chgrp squid /var/cache/samba/winbindd_privileged > /dev/null 2>& 1 || true
304306
305307 %changelog
 308+* Thu Apr 27 2006 Mark Bergsma <mark@nedworks.org> 7:2.5.STABLE13-4.WM
 309+- New production build with HTCP memleak fix
 310+
 311+* Wed Apr 26 2006 Mark Bergsma <mark@nedworks.org> 7:2.5.STABLE13-3.WM
 312+- Experimental build with AIO and an alternative malloc lib
 313+
306314 * Wed Apr 26 2006 Mark Bergsma <mark@nedworks.org> 7:2.5.STABLE13-1.WM
307315 - New upstream version 2.5.STABLE13 which hopefully fixes the grave memleak
308316

Status & tagging log