9#ifndef SQUID_SRC_SSL_PEEKINGPEERCONNECTOR_H
10#define SQUID_SRC_SSL_PEEKINGPEERCONNECTOR_H
void error(char *format,...)
a smart AsyncCall pointer for delivery of future results
A combination of PeerOptions and the corresponding Context.
A PeerConnector for HTTP origin servers. Capable of SslBumping.
bool initialize(Security::SessionPointer &) override
bool serverCertificateHandled
whether handleServerCertificate() succeeded
void checkForPeekAndSpliceDone(Acl::Answer)
Callback function for ssl_bump acl check in step3 SSL bump step.
void noteNegotiationError(const Security::ErrorDetailPointer &) override
Called when the SSL_connect function aborts with an SSL negotiation error.
void startTunneling()
Abruptly stops TLS negotiation and starts tunneling.
void checkForPeekAndSpliceMatched(const Ssl::BumpMode finalMode)
Handles the final bumping decision.
Comm::ConnectionPointer clientConn
TCP connection to the client.
CBDATA_CHILD(PeekingPeerConnector)
void checkForPeekAndSplice()
bool splice
whether we are going to splice or not
AsyncCall::Pointer closeHandler
we call this when the connection closed
void noteNegotiationDone(ErrorState *error) override
void handleServerCertificate()
static void cbCheckForPeekAndSpliceDone(Acl::Answer, void *data)
A wrapper function for checkForPeekAndSpliceDone for use with acl.
Security::FuturePeerContext * peerContext() const override
void tunnelInsteadOfNegotiating()
Inform caller class that the SSL negotiation aborted.
void serverCertificateVerified()
Ssl::BumpMode checkForPeekAndSpliceGuess() const
Guesses the final bumping decision when no ssl_bump rules match.
void noteWantWrite() override
std::shared_ptr< SSL > SessionPointer