rpms/squid/F-10 squid-3.0.STABLE19-3-9986.patch, NONE, 1.1 squid.spec, 1.121, 1.122

Henrik Nordström hno at fedoraproject.org
Sat Sep 19 22:22:06 UTC 2009


Author: hno

Update of /cvs/pkgs/rpms/squid/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28904

Modified Files:
	squid.spec 
Added Files:
	squid-3.0.STABLE19-3-9986.patch 
Log Message:
Patch for Squid Bug #2626: Invalid response for IMS request


squid-3.0.STABLE19-3-9986.patch:
 client_side_reply.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE squid-3.0.STABLE19-3-9986.patch ---
diff -up squid-3.0.STABLE19/src/client_side_reply.cc.3-9987 squid-3.0.STABLE19/src/client_side_reply.cc
--- squid-3.0.STABLE19/src/client_side_reply.cc.3-9987	2009-09-06 13:29:37.000000000 +0200
+++ squid-3.0.STABLE19/src/client_side_reply.cc	2009-09-19 04:17:12.000000000 +0200
@@ -366,7 +366,7 @@ clientReplyContext::handleIMSReply(Store
 
 	// if client sent IMS
 
-	if (http->request->flags.ims) {
+        if (http->request->flags.ims && !old_entry->modifiedSince(http->request)) {
 	    // forward the 304 from origin
 	    debugs(88, 3, "handleIMSReply: origin replied 304, revalidating existing entry and forwarding 304 to client");
 	    sendClientUpstreamResponse();


Index: squid.spec
===================================================================
RCS file: /cvs/pkgs/rpms/squid/F-10/squid.spec,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -p -r1.121 -r1.122
--- squid.spec	10 Sep 2009 22:19:00 -0000	1.121
+++ squid.spec	19 Sep 2009 22:22:06 -0000	1.122
@@ -4,7 +4,7 @@
 
 Name:     squid
 Version:  3.0.STABLE19
-Release:  1%{?dist}
+Release:  3%{?dist}
 Summary:  The Squid proxy caching server
 Epoch:    7
 License:  GPLv2+
@@ -24,7 +24,9 @@ Source98: perl-requires-squid.sh
 #Patch001: http://www.squid-cache.org/Versions/v3/3.0/changesets/bXXXX.patch
 
 
-# External patches
+# Backported patches
+# http://www.squid-cache.org/Versions/v3/HEAD/changesets/squid-3-9986.patch
+Patch101: squid-3.0.STABLE19-3-9986.patch
 
 # Local patches
 # Applying upstream patches first makes it less likely that local patches
@@ -60,6 +62,7 @@ lookup program (dnsserver), a program fo
 %prep
 %setup -q
 
+%patch101 -p1 -b .3-9986
 %patch201 -p1 -b .config
 %patch202 -p1 -b .location
 %patch203 -p1 -b .build
@@ -341,6 +344,9 @@ fi
     chgrp squid /var/cache/samba/winbindd_privileged >/dev/null 2>&1 || :
 
 %changelog
+* Sun Sep 20 2009 Henrik Nordstrom <henrik at henriknordstrom.net> 7:3.0.STABLE19-3
+- Patch for Squid Bug #2626: Invalid response for IMS request
+
 * Fri Sep 11 2009 Henrik Nordstrom <henrik at henriknordstrom.net> - 3.0.STABLE19-1
 - Update to 3.0.STABLE19
 - Bug #520445 silence logrotate when Squid is not running




More information about the scm-commits mailing list