]> git.ipfire.org Git - thirdparty/squid.git/commit
De-duplicate the ContextPointer creation code
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 14 Feb 2017 09:56:34 +0000 (22:56 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 14 Feb 2017 09:56:34 +0000 (22:56 +1300)
commitdf473b362a708ad70b474b71ba236eb4c71da9d3
treed079d27aa1a1fa2f113f67bed703d177a7f9b0c7
parent1c1fae0f30020cde7d3c39854a3870fb6d62f801
De-duplicate the ContextPointer creation code

Making the actual raw-pointer to Pointer conversion and lambda logic
into a protected method shared by both classes creatign ContextPointer.

Also improve debug a bit for libsecurity shared_ptr.
src/security/PeerOptions.cc
src/security/PeerOptions.h
src/security/ServerOptions.cc