Squid Web Cache master
Loading...
Searching...
No Matches
BlindPeerConnector.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2025 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"
14
15class ErrorState;
16
17namespace Security
18{
19
23public:
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
a smart AsyncCall pointer for delivery of future results
A PeerConnector for TLS cache_peers and origin servers. No SslBump capabilities.
CBDATA_CHILD(BlindPeerConnector)
void noteNegotiationDone(ErrorState *) override
bool initialize(Security::SessionPointer &) override
FuturePeerContext * peerContext() const override
A combination of PeerOptions and the corresponding Context.
Network/connection security abstraction layer.
Definition Connection.h:34
std::shared_ptr< SSL > SessionPointer
Definition Session.h:53