Summary(uk.UTF-8): Squid - кеш об'єктів Internet
Summary(zh_CN.UTF-8): SQUID 高速缓冲代理服务器
Name: squid
-Version: 3.5.15
+Version: 3.5.16
Release: 1
Epoch: 7
License: GPL v2
Group: Networking/Daemons
Source0: http://www.squid-cache.org/Versions/v3/3.5/%{name}-%{version}.tar.xz
-# Source0-md5: 997084b40aaed7d0fa9db11904638ea9
+# Source0-md5: 557b1011a880ec3291797367e2ca4c45
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: http://squid-docs.sourceforge.net/latest/zip-files/book-full-html.zip
diff -urNp squid-3.5.1.orig/src/http.cc squid-3.5.1/src/http.cc
--- squid-3.5.1.orig/src/http.cc 2015-01-13 12:52:01.000000000 +0000
+++ squid-3.5.1/src/http.cc 2015-01-28 20:48:48.962000000 +0000
-@@ -926,6 +926,12 @@ HttpStateData::haveParsedReplyHeaders()
+@@ -937,6 +937,12 @@ HttpStateData::haveParsedReplyHeaders()
varyFailure = true;
} else {
- entry->mem_obj->vary_headers = xstrdup(vary);
+ entry->mem_obj->vary_headers = vary;
+ /* XXX: Currently we are losing vary_headers when
+ * saving objects to shm, so we now add them as header
+ * and remove on preparing client reply.