From: Amos Jeffries Date: Wed, 1 Jun 2011 08:56:17 +0000 (+1200) Subject: Audit fallout: MemPool the Comm::Connection class X-Git-Tag: take08~55^2~124^2~8 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=fd7b48b9cbef6c77e2ad17c68b8d533bf264bf71;p=thirdparty%2Fsquid.git Audit fallout: MemPool the Comm::Connection class --- diff --git a/src/comm/Connection.h b/src/comm/Connection.h index 7bf2dcf49f..42519ad0bb 100644 --- a/src/comm/Connection.h +++ b/src/comm/Connection.h @@ -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