]> git.ipfire.org Git - thirdparty/squid.git/commit
bug 4321: ssl_bump terminate does not terminate at step1
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Sun, 7 May 2017 21:53:15 +0000 (00:53 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Sun, 7 May 2017 21:53:15 +0000 (00:53 +0300)
commitbf352fb26c1408c1cd638cc554cd0b0799d03c05
tree2187778de88aca0b3bb17d85d1b7cecb018a9c11
parent8fcf19ec9bdabc9027a3712324a6b48b95585e6a
bug 4321: ssl_bump terminate does not terminate at step1

The following trivial configuration should terminate all connections that
are subject to SslBumping:
  ssl_bump terminate all
but Squid either splices or bumps instead.

This patch fixes Squid to immediately close the connection.

Also this patch:
 - solves wrong use of Ssl::bumpNone in cases where the Ssl::bumpEnd
   (do not bump) or Ssl::bumpSplice (splice after peek/stare at step1)
   must be used.
 - updates %ssl::bump_mode documetation.
 - fixes %ssl::bump_mode formating code to print last bumping action

This is a Measurement Factory project
src/cf.data.pre
src/client_side.cc
src/client_side_request.cc
src/ssl/PeekingPeerConnector.cc