]> git.ipfire.org Git - thirdparty/squid.git/commit
author: Alex Rousskov <rousskov@measurement-factory.com>, Christos Tsantilas <chtsant...
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 25 Apr 2014 13:38:22 +0000 (16:38 +0300)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Fri, 25 Apr 2014 13:38:22 +0000 (16:38 +0300)
commita23223bf7fb54242ade248d5be8376f7527cc881
tree260b4ae26b289ebfe6142a538dca698fffa63874
parente44adabd336c7c6f7e8e960450feb80291177ec0
author: Alex Rousskov <rousskov@measurement-factory.com>, Christos Tsantilas <chtsanti@users.sourceforge.net>
Ssl::PeerConnector class

This patch investigates the new Ssl::PeerConnector class. This class connects
Squid client-side to a SSL cache_peer or SSL server. It is used by
TunnelStateData and FwdState to initiate and establish the SSL connection.
This class handles peer certificate validation.

The caller receives a call back with PeerConnectorAnswer. In the SSL connection
is not established because of an error, an error object suitable for error
response generation is attached to PeerConnectorAnser

The Ssl::PeerConnector class includes the old SSL initialization code from
FwdState class.

This is a Measurement Factory project
src/FwdState.cc
src/FwdState.h
src/errorpage.cc
src/errorpage.h
src/ssl/Makefile.am
src/ssl/PeerConnector.cc [new file with mode: 0644]
src/ssl/PeerConnector.h [new file with mode: 0644]
src/tunnel.cc