[PATCH] Ssl::PeerConnector class

From: Tsantilas Christos <chtsanti_at_users.sourceforge.net>
Date: Sat, 12 Apr 2014 21:36:26 +0300

Hi all,

This patch moves the SSL initialization code from FwdState class to a
new Ssl::PeerConnector class, and uses the new class from tunnel.cc and
FwdState.cc code to connect to ssl peer (ssl cache_peer or ssl server).

The Ssl::PeerConnector 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. The Ssl::PeerConnector class
handles peer certificate validation.

The caller receives a call back with PeerConnectorAnswer. In the case
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

Received on Sat Apr 12 2014 - 18:36:40 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 23 2014 - 12:00:13 MDT