]> git.ipfire.org Git - thirdparty/squid.git/commit - src/cf.data.pre
Added ssl::bump_mode logformat code to log SslBump decisions.
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 1 Jul 2012 03:55:21 +0000 (21:55 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Sun, 1 Jul 2012 03:55:21 +0000 (21:55 -0600)
commit08097970848a2d57a67a0ff3fe5d5d3bd7d04f41
treebaee1f1b86273ee5843d91b2fae697cf46b71bf7
parentd5cbce971f0761a3fc59074b5b1683c595b5caa9
Added ssl::bump_mode logformat code to log SslBump decisions.

Reshuffled (a little) how the bumping decision for CONNECT is made to
streamline the code. This was necessary to consistently distinguish '-' from
'none' logged modes.

Do not evaluate ssl_bump when we are going to respond to a CONNECT request
with an HTTP 407 (Proxy Authentication Required) or with a redirect response.
Such evaluation was pointless because the code never bumps in such cases
because, unlike regular errors, these responses cannot be delayed and served
later inside the bumped tunnel.
src/AccessLogEntry.cc
src/AccessLogEntry.h
src/cf.data.pre
src/client_side.cc
src/client_side.h
src/client_side_request.cc
src/client_side_request.h
src/format/ByteCode.h
src/format/Format.cc
src/format/Token.cc