From 152801e9dee2416257179c46ac960d7c696b318f5f3dda4575e411946a08cac1 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 24 Sep 2012 03:20:34 +0000 Subject: [PATCH 1/2] Accepting request 135522 from home:ketheriel:branches:server:http update to 3.0.3 OBS-URL: https://build.opensuse.org/request/show/135522 OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=57 --- varnish-3.0.2.tar.xz | 3 --- varnish-3.0.3.tar.gz | 3 +++ varnish.changes | 63 ++++++++++++++++++++++++++++++++++++++++++++ varnish.spec | 12 ++++----- 4 files changed, 72 insertions(+), 9 deletions(-) delete mode 100644 varnish-3.0.2.tar.xz create mode 100644 varnish-3.0.3.tar.gz diff --git a/varnish-3.0.2.tar.xz b/varnish-3.0.2.tar.xz deleted file mode 100644 index 1ba760c..0000000 --- a/varnish-3.0.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:81243b849308defc2996ed72a1f4acc1351b3ae4ce8fc57d608d0e9429581f9e -size 1101616 diff --git a/varnish-3.0.3.tar.gz b/varnish-3.0.3.tar.gz new file mode 100644 index 0000000..0708094 --- /dev/null +++ b/varnish-3.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d37d18d952f58b208ac3a0706d4d3e4c0de304b1fcc9df5019571c75f148ab2 +size 2070020 diff --git a/varnish.changes b/varnish.changes index 0df15cd..e567504 100644 --- a/varnish.changes +++ b/varnish.changes @@ -1,3 +1,66 @@ +------------------------------------------------------------------- +Sun Sep 23 21:30:35 UTC 2012 - nmo.marques@gmail.com + +- Update to version 3.0.3: + + Fix a race on the n_sess counter. This race made varnish do + excessive session workspace allocations. Bug #897. + + Fix some crashes in the gzip code when it runs out of memory. + Bug #1037. Bug #1043. Bug #1044. + + Fix a bug where the regular expression parser could end up in + an infinite loop. Bug #1047. + + Fix a memory leak in the regex code. + + DNS director now uses port 80 by default if not specified. + + Introduce idle_send_timeout and increase default value for + send_timeout to 600s. This allows a long send timeout for slow + clients while still being able to disconnect idle clients. + + Fix an issue where did not remove HTML comments. + Bug #1092. + + Fix a crash when passing with streaming on. + + Fix a crash in the idle session timeout code. + + Fix an issue where the poll waiter did not timeout clients if + all clients were idle. Bug #1023. + + Log regex errors instead of crashing. + + Introduce pcre_match_limit, and pcre_match_limit_recursion + parameters. + + Add CLI commands to manually control health state of a + backend. + + Fix an issue where the s_bodybytes counter is not updated + correctly on gunzipped delivery. + + Fix a crash when we couldn't allocate memory for a fetched + object. Bug #1100. + + Fix an issue where objects could end up in the transient store + with a long TTL, when memory could not be allocated for them in + the requested store. Bug #1140. + + Activate req.hash_ignore_busy when req.hash_always_miss is + activated. Bug #1073. + + Reject invalid tcp port numbers for listen address. Bug #1035. + + Enable JIT for better performing regular expressions. + Bug #1080. + + Return VCL errors in exit code when using -C. Bug #1069. + + Stricter validation of acl syntax, to avoid a crash with + 5-octet IPv4 addresses. Bug #1126. + + Fix a crash when first argument to regsub was null. + Bug #1125. + + Fix a case where varnish delivered corrupt gzip content when + using ESI. Bug #1109. + + Fix a case where varnish didn't remove the old Date header + and served it alongside the varnish-generated Date header + Bug #1104. + + Make saint mode work, for the case where we have no object with + that hash. Bug #1091. + + Don't save the object body on hit-for-pass objects. + + n_ban_gone counter added to count the number of "gone" bans. + + Ban lurker rewritten to properly sleep when no bans are + present, and otherwise to process the list at the configured + speed. + + Fix a case where varnish delivered wrong content for an + uncompressed page with compressed ESI child. Bug #1029. + + Fix an issue where varnish runs out of thread workspace when + processing many ESI includes on an object. Bug #1038. + + Fix a crash when streaming was enabled for an empty body. + + Better error reporting for some fetch errors. + + Small performance optimizations. + ------------------------------------------------------------------- Wed Feb 8 23:26:10 UTC 2012 - jengelh@medozas.de diff --git a/varnish.spec b/varnish.spec index e3c2fc1..f88e539 100644 --- a/varnish.spec +++ b/varnish.spec @@ -1,5 +1,5 @@ # -# spec file for package varnish (Version 2.0.5) +# spec file for package varnish # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -17,7 +17,7 @@ Name: varnish %define library_name libvarnishapi1 -Version: 3.0.2 +Version: 3.0.3 Release: 0 Summary: Varnish is a high-performance HTTP accelerator License: BSD-2-Clause @@ -25,12 +25,12 @@ Group: Productivity/Networking/Web/Proxy URL: http://varnish-cache.org/ #DL-URL: http://downloads.sf.net/varnish/%name-%version.tar.bz2 -Source0: %name-%version.tar.xz -Source2: varnish.init -Source3: varnish.sysconfig +Source0: http://repo.varnish-cache.org/source/%{name}-%{version}.tar.gz +Source2: varnish.init +Source3: varnish.sysconfig Source4: vcl.conf Source5: varnish.logrotate -Source6: varnishlog.init +Source6: varnishlog.init Source7: varnish.service Source8: varnishlog.service From a30833aec90ac109f5bc6de6f0b77d23eadb3dc322c4fd0ed350a93bbf5d6106 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 24 Sep 2012 03:29:35 +0000 Subject: [PATCH 2/2] Trim changelog OBS-URL: https://build.opensuse.org/package/show/server:http/varnish?expand=0&rev=58 --- varnish-3.0.3.tar.gz | 3 -- varnish-3.0.3.tar.xz | 3 ++ varnish.changes | 76 ++++++++++---------------------------------- varnish.spec | 6 ++-- 4 files changed, 23 insertions(+), 65 deletions(-) delete mode 100644 varnish-3.0.3.tar.gz create mode 100644 varnish-3.0.3.tar.xz diff --git a/varnish-3.0.3.tar.gz b/varnish-3.0.3.tar.gz deleted file mode 100644 index 0708094..0000000 --- a/varnish-3.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2d37d18d952f58b208ac3a0706d4d3e4c0de304b1fcc9df5019571c75f148ab2 -size 2070020 diff --git a/varnish-3.0.3.tar.xz b/varnish-3.0.3.tar.xz new file mode 100644 index 0000000..a9a58f6 --- /dev/null +++ b/varnish-3.0.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5ca91011229ca8d225aa1080dd827041b8121436d8dcddef507b95305533741 +size 1152008 diff --git a/varnish.changes b/varnish.changes index e567504..9221c50 100644 --- a/varnish.changes +++ b/varnish.changes @@ -1,65 +1,23 @@ ------------------------------------------------------------------- Sun Sep 23 21:30:35 UTC 2012 - nmo.marques@gmail.com -- Update to version 3.0.3: - + Fix a race on the n_sess counter. This race made varnish do - excessive session workspace allocations. Bug #897. - + Fix some crashes in the gzip code when it runs out of memory. - Bug #1037. Bug #1043. Bug #1044. - + Fix a bug where the regular expression parser could end up in - an infinite loop. Bug #1047. - + Fix a memory leak in the regex code. - + DNS director now uses port 80 by default if not specified. - + Introduce idle_send_timeout and increase default value for - send_timeout to 600s. This allows a long send timeout for slow - clients while still being able to disconnect idle clients. - + Fix an issue where did not remove HTML comments. - Bug #1092. - + Fix a crash when passing with streaming on. - + Fix a crash in the idle session timeout code. - + Fix an issue where the poll waiter did not timeout clients if - all clients were idle. Bug #1023. - + Log regex errors instead of crashing. - + Introduce pcre_match_limit, and pcre_match_limit_recursion - parameters. - + Add CLI commands to manually control health state of a - backend. - + Fix an issue where the s_bodybytes counter is not updated - correctly on gunzipped delivery. - + Fix a crash when we couldn't allocate memory for a fetched - object. Bug #1100. - + Fix an issue where objects could end up in the transient store - with a long TTL, when memory could not be allocated for them in - the requested store. Bug #1140. - + Activate req.hash_ignore_busy when req.hash_always_miss is - activated. Bug #1073. - + Reject invalid tcp port numbers for listen address. Bug #1035. - + Enable JIT for better performing regular expressions. - Bug #1080. - + Return VCL errors in exit code when using -C. Bug #1069. - + Stricter validation of acl syntax, to avoid a crash with - 5-octet IPv4 addresses. Bug #1126. - + Fix a crash when first argument to regsub was null. - Bug #1125. - + Fix a case where varnish delivered corrupt gzip content when - using ESI. Bug #1109. - + Fix a case where varnish didn't remove the old Date header - and served it alongside the varnish-generated Date header - Bug #1104. - + Make saint mode work, for the case where we have no object with - that hash. Bug #1091. - + Don't save the object body on hit-for-pass objects. - + n_ban_gone counter added to count the number of "gone" bans. - + Ban lurker rewritten to properly sleep when no bans are - present, and otherwise to process the list at the configured - speed. - + Fix a case where varnish delivered wrong content for an - uncompressed page with compressed ESI child. Bug #1029. - + Fix an issue where varnish runs out of thread workspace when - processing many ESI includes on an object. Bug #1038. - + Fix a crash when streaming was enabled for an empty body. - + Better error reporting for some fetch errors. - + Small performance optimizations. +- Update to version 3.0.3 +* Fixed excessive session workspace allocations. +* Fixed some crashes in the case of out of memory +* Fixed an infinite loop in the regex parser. +* DNS director now uses port 80 by default if not specified. +* Introduce idle_send_timeout and increase default value for + send_timeout to 600s. This allows a long send timeout for slow + clients while still being able to disconnect idle clients. +* Fixed a crash when passing with streaming on. +* Fixed a crash in the idle session timeout code. +* Fixed an issue where the poll waiter did not timeout clients if + all clients were idle. +* Log regex errors instead of crashing. +* Introduce pcre_match_limit, and pcre_match_limit_recursion + parameters. +* Add CLI commands to manually control health state of a + backend. ------------------------------------------------------------------- Wed Feb 8 23:26:10 UTC 2012 - jengelh@medozas.de diff --git a/varnish.spec b/varnish.spec index f88e539..1d0ed89 100644 --- a/varnish.spec +++ b/varnish.spec @@ -25,7 +25,7 @@ Group: Productivity/Networking/Web/Proxy URL: http://varnish-cache.org/ #DL-URL: http://downloads.sf.net/varnish/%name-%version.tar.bz2 -Source0: http://repo.varnish-cache.org/source/%{name}-%{version}.tar.gz +Source0: %name-%version.tar.xz Source2: varnish.init Source3: varnish.sysconfig Source4: vcl.conf @@ -107,7 +107,7 @@ make %{?_smp_mflags} %install b="%buildroot"; -%makeinstall +make install DESTDIR="%buildroot"; # There is no use for them to normal users mv "$b/%_bindir"/* "$b/%_sbindir/"; # @@ -162,7 +162,7 @@ mkdir -p "$b/%pkg_logdir" %endif %postun -# Does not sysv+systemd very much conflict? But rpmlint wants to have it... +# Does sysv+systemd not very much conflict? But rpmlint wants to have it... %restart_on_update varnish %restart_on_update varnishlog %if 0%{?_unitdir:1}