BlindPeerConnector.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2023 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 "http/forward.h"
13 #include "security/PeerConnector.h"
14 
15 class ErrorState;
16 
17 namespace Security
18 {
19 
23 public:
25  const Comm::ConnectionPointer &aServerConn,
26  const AsyncCallback<EncryptorAnswer> &aCallback,
27  const AccessLogEntryPointer &alp,
28  time_t timeout = 0);
29 
30  /* Security::PeerConnector API */
31 
36  bool initialize(Security::SessionPointer &) override;
37 
38  FuturePeerContext *peerContext() const override;
39 
42  void noteNegotiationDone(ErrorState *) override;
43 };
44 
45 } // namespace Security
46 
47 #endif /* SQUID_SRC_SECURITY_BLINDPEERCONNECTOR_H */
48 
BlindPeerConnector(HttpRequestPointer &aRequest, const Comm::ConnectionPointer &aServerConn, const AsyncCallback< EncryptorAnswer > &aCallback, const AccessLogEntryPointer &alp, time_t timeout=0)
a smart AsyncCall pointer for delivery of future results
A combination of PeerOptions and the corresponding Context.
Definition: PeerOptions.h:154
void noteNegotiationDone(ErrorState *) override
CBDATA_CHILD(BlindPeerConnector)
bool initialize(Security::SessionPointer &) override
A PeerConnector for TLS cache_peers and origin servers. No SslBump capabilities.
std::shared_ptr< SSL > SessionPointer
Definition: Session.h:53
FuturePeerContext * peerContext() const override
Network/connection security abstraction layer.
Definition: Connection.h:33

 

Introduction

Documentation

Support

Miscellaneous