From: Amos Jeffries Date: Wed, 1 Mar 2017 15:19:59 +0000 (+1300) Subject: Bug 4674: delay_parameters for class 3 and 4 assertion failed X-Git-Tag: M-staged-PR71~235 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f410a027c73630c7a0f98128d8744cf017f5350d;p=thirdparty%2Fsquid.git Bug 4674: delay_parameters for class 3 and 4 assertion failed --- diff --git a/src/delay_pools.cc b/src/delay_pools.cc index 4014b56b05..495b317da8 100644 --- a/src/delay_pools.cc +++ b/src/delay_pools.cc @@ -107,6 +107,7 @@ private: /// \ingroup DelayPoolsInternal class VectorPool : public CompositePoolNode { + MEMPROXY_CLASS(VectorPool); public: typedef RefCount Pointer; @@ -189,6 +190,7 @@ public: /// \ingroup DelayPoolsInternal class ClassCHostPool : public CompositePoolNode { + MEMPROXY_CLASS(ClassCHostPool); public: typedef RefCount Pointer; diff --git a/test-suite/squidconf/regressions-4.0.18 b/test-suite/squidconf/regressions-4.0.18 new file mode 100644 index 0000000000..8b4e54ec8b --- /dev/null +++ b/test-suite/squidconf/regressions-4.0.18 @@ -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