]> git.ipfire.org Git - thirdparty/squid.git/commit
Cleanup HttpStateData::peerSupportsConnectionPinning
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 27 Feb 2017 16:41:03 +0000 (05:41 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 27 Feb 2017 16:41:03 +0000 (05:41 +1300)
commitf891baff1897f960538bebdc05d024be38fe4223
tree370ec85f36b50f7433dab8cd843bb999de577351
parentc43405e74fb3a53803d655d66545ead4e9d6e527
Cleanup HttpStateData::peerSupportsConnectionPinning

* move local variable lookups and creation as late as possible. This
  speeds up a bunch of cases where those variables are never needed.

* resolve an XXX about checking Proxy-Support header contents in an
  case-insensitive way, while also simplifying the test.
src/http.cc