BlindPeerConnector.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
3  *
4  * Squid software is distributed under GPLv2+ license and includes
5  * contributions from numerous individuals and organizations.
6  * Please see the COPYING and CONTRIBUTORS files for details.
7  */
8 
9 #ifndef SQUID_SRC_SECURITY_BLINDPEERCONNECTOR_H
10 #define SQUID_SRC_SECURITY_BLINDPEERCONNECTOR_H
11 
12 #include "security/PeerConnector.h"
13 
14 class ErrorState;
15 
16 namespace Security
17 {
18 
22 public:
24  const Comm::ConnectionPointer &aServerConn,
25  AsyncCall::Pointer &aCallback,
26  const AccessLogEntryPointer &alp,
27  const time_t timeout = 0) :
28  AsyncJob("Security::BlindPeerConnector"),
29  Security::PeerConnector(aServerConn, aCallback, alp, timeout)
30  {
31  request = aRequest;
32  }
33 
34  /* Security::PeerConnector API */
35 
40  virtual bool initialize(Security::SessionPointer &);
41 
44 
47  virtual void noteNegotiationDone(ErrorState *);
48 };
49 
50 } // namespace Security
51 
52 #endif /* SQUID_SRC_SECURITY_BLINDPEERCONNECTOR_H */
53 
BlindPeerConnector(HttpRequestPointer &aRequest, const Comm::ConnectionPointer &aServerConn, AsyncCall::Pointer &aCallback, const AccessLogEntryPointer &alp, const time_t timeout=0)
CBDATA_CLASS(BlindPeerConnector)
virtual void noteNegotiationDone(ErrorState *)
std::shared_ptr< SSL_CTX > ContextPointer
Definition: Context.h:28
virtual bool initialize(Security::SessionPointer &)
HttpRequestPointer request
peer connection trigger or cause
A simple PeerConnector for SSL/TLS cache_peers. No SslBump capabilities.
virtual Security::ContextPointer getTlsContext()
Return the configured TLS context object.
std::shared_ptr< SSL > SessionPointer
Definition: Session.h:41

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors