PeekingPeerConnector.h
Go to the documentation of this file.
void error(char *format,...)
Definition: Acl.h:128
Definition: errorpage.h:89
Definition: PeerConnector.h:49
A PeerConnector for HTTP origin servers. Capable of SslBumping.
Definition: PeekingPeerConnector.h:20
bool initialize(Security::SessionPointer &) override
Definition: PeekingPeerConnector.cc:152
bool serverCertificateHandled
whether handleServerCertificate() succeeded
Definition: PeekingPeerConnector.h:72
void checkForPeekAndSpliceDone(Acl::Answer)
Callback function for ssl_bump acl check in step3 SSL bump step.
Definition: PeekingPeerConnector.cc:59
void noteNegotiationError(const Security::ErrorDetailPointer &) override
Called when the SSL_connect function aborts with an SSL negotiation error.
Definition: PeekingPeerConnector.cc:311
void startTunneling()
Abruptly stops TLS negotiation and starts tunneling.
Definition: PeekingPeerConnector.cc:274
void checkForPeekAndSpliceMatched(const Ssl::BumpMode finalMode)
Handles the final bumping decision.
Definition: PeekingPeerConnector.cc:93
Comm::ConnectionPointer clientConn
TCP connection to the client.
Definition: PeekingPeerConnector.h:69
CBDATA_CHILD(PeekingPeerConnector)
void checkForPeekAndSplice()
Definition: PeekingPeerConnector.cc:68
AsyncCall::Pointer closeHandler
we call this when the connection closed
Definition: PeekingPeerConnector.h:70
void noteNegotiationDone(ErrorState *error) override
Definition: PeekingPeerConnector.cc:227
void handleServerCertificate()
Definition: PeekingPeerConnector.cc:373
Security::ContextPointer getTlsContext() override
Definition: PeekingPeerConnector.cc:146
static void cbCheckForPeekAndSpliceDone(Acl::Answer, void *data)
A wrapper function for checkForPeekAndSpliceDone for use with acl.
Definition: PeekingPeerConnector.cc:51
PeekingPeerConnector(HttpRequestPointer &aRequest, const Comm::ConnectionPointer &aServerConn, const Comm::ConnectionPointer &aClientConn, const AsyncCallback< Security::EncryptorAnswer > &aCallback, const AccessLogEntryPointer &alp, time_t timeout=0)
Definition: PeekingPeerConnector.cc:28
void tunnelInsteadOfNegotiating()
Inform caller class that the SSL negotiation aborted.
void serverCertificateVerified()
Definition: PeekingPeerConnector.cc:395
Ssl::BumpMode checkForPeekAndSpliceGuess() const
Guesses the final bumping decision when no ssl_bump rules match.
Definition: PeekingPeerConnector.cc:129
void noteWantWrite() override
Definition: PeekingPeerConnector.cc:294
Definition: Xaction.cc:40