]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Audit fallout: MemPool the Comm::Connection class
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 1 Jun 2011 08:56:17 +0000 (20:56 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 1 Jun 2011 08:56:17 +0000 (20:56 +1200)
src/comm/Connection.h

index 7bf2dcf49fe36b634d907177879283d7bde0fd11..42519ad0bbdaafc2ef2e8626233b3dd99f25d9b0 100644 (file)
@@ -41,6 +41,7 @@
 #include "comm/forward.h"
 #include "hier_code.h"
 #include "ip/Address.h"
+#include "MemPool.h"
 #include "RefCount.h"
 #include "typedefs.h"
 #if USE_SQUID_EUI
@@ -88,6 +89,8 @@ namespace Comm {
 class Connection : public RefCountable
 {
 public:
+    MEMPROXY_CLASS(Comm::Connection);
+
     Connection();
 
     /** Clear the connection properties and close any open socket. */
@@ -160,6 +163,8 @@ private:
     peer *_peer;
 };
 
+MEMPROXY_CLASS_INLINE(Connection);
+
 }; // namespace Comm