]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bug 4674: delay_parameters for class 3 and 4 assertion failed
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 1 Mar 2017 15:19:59 +0000 (04:19 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 1 Mar 2017 15:19:59 +0000 (04:19 +1300)
src/delay_pools.cc
test-suite/squidconf/regressions-4.0.18 [new file with mode: 0644]

index 4014b56b0588cc917659f7a583949ac3834c5c53..495b317da8d04932aec0fc9718abdce16274f3f4 100644 (file)
@@ -107,6 +107,7 @@ private:
 /// \ingroup DelayPoolsInternal
 class VectorPool : public CompositePoolNode
 {
+    MEMPROXY_CLASS(VectorPool);
 
 public:
     typedef RefCount<VectorPool> Pointer;
@@ -189,6 +190,7 @@ public:
 /// \ingroup DelayPoolsInternal
 class ClassCHostPool : public CompositePoolNode
 {
+    MEMPROXY_CLASS(ClassCHostPool);
 
 public:
     typedef RefCount<ClassCHostPool> Pointer;
diff --git a/test-suite/squidconf/regressions-4.0.18 b/test-suite/squidconf/regressions-4.0.18
new file mode 100644 (file)
index 0000000..8b4e54e
--- /dev/null
@@ -0,0 +1,16 @@
+# see Bug 4674
+delay_pools 5
+
+delay_class 1 1 64000/64000
+
+delay_class 2 2
+delay_parameters 2 64000/64000 32000/32000
+
+delay_class 3 3
+delay_parameters 3 64000/64000 32000/32000 3000/3000
+
+delay_class 4 4
+delay_parameters 4 64000/64000 32000/32000 3000/3000 512/512
+
+delay_class 5 5
+delay_parameters 5 64000/64000