|
Squid Web Cache master
|
#include <helper.h>
Public Types | |
| using | Answer = CertValidationResponse::Pointer |
| using | Callback = AsyncCallback< Answer > |
| typedef void | CVHCB(void *, Ssl::CertValidationResponse const &) |
| typedef ClpMap< SBuf, CertValidationResponse::Pointer, CertValidationResponse::MemoryUsedByResponse > | CacheType |
Static Public Member Functions | |
| static void | Init () |
| Init helper structure. | |
| static void | Shutdown () |
| Shutdown helper structure. | |
| static void | Reconfigure () |
| static void | Submit (const Ssl::CertValidationRequest &, const Callback &) |
| Submit crtd request message to external crtd server. | |
Static Public Attributes | |
| static CacheType * | HelperCache = nullptr |
| cache for cert validation helper | |
Static Private Attributes | |
| ::Helper::ClientPointer | ssl_crt_validator |
| helper for management of ssl_crtd. | |
| typedef void Ssl::CertValidationHelper::CVHCB(void *, Ssl::CertValidationResponse const &) |
|
static |
Definition at line 175 of file helper.cc.
References assert, Debug::Extra(), Here, HttpPortList, IPC_STREAM, Helper::Client::Make(), strwordtok(), Ssl::TheConfig, ToSBuf(), wordlistAdd(), xatoi(), xfree, and xstrdup.
Referenced by mainInitialize().
|
static |
Reconfigure helper structure
Definition at line 252 of file helper.cc.
Referenced by mainReconfigureFinish().
|
static |
Definition at line 236 of file helper.cc.
References helperShutdown(), and wordlistDestroy().
Referenced by SquidShutdown().
|
static |
Definition at line 303 of file helper.cc.
References AsyncCallback< Answer >::answer(), SBuf::append(), SBuf::assign(), Helper::BrokenHelper, SBuf::c_str(), submitData::callback, Ssl::CertValidationMsg::code_cert_validate, Ssl::CrtdMessage::compose(), Ssl::CertValidationMsg::composeRequest(), debugs, HelperCache, submitData::query, AsyncCallback< Answer >::release(), Ssl::CrtdMessage::REQUEST, ScheduleCallHere, Ssl::CrtdMessage::setCode(), Ssl::CertValidationRequest::ssl, submitData::ssl, and sslCrtvdHandleReplyWrapper().
Referenced by Security::PeerConnector::sslFinalized().
|
static |
Definition at line 59 of file helper.h.
Referenced by sslCrtvdHandleReplyWrapper(), and Submit().
|
staticprivate |