|
Squid Web Cache master
|
Class for storing/manipulating LocalContextStorage per local listening address/port. More...
#include <context_storage.h>
Public Member Functions | |
| GlobalContextStorage () | |
| ~GlobalContextStorage () | |
| void | addLocalStorage (Ip::Address const &address, size_t size_of_store) |
| Create new SSL context storage for the local listening address/port. | |
| LocalContextStorage * | getLocalStorage (Ip::Address const &address) |
| Return the local storage for the given listening address/port. | |
| void | reconfigureStart () |
| When reconfigring should be called this method. | |
Private Member Functions | |
| void | reconfigureFinish () |
| Called by getLocalStorage method. | |
Private Attributes | |
| bool | reconfiguring |
| std::map< Ip::Address, size_t > | configureStorage |
| Storage used on configure or reconfigure. | |
| std::map< Ip::Address, LocalContextStorage * > | storage |
| Map for storing all local ip address and their local storages. | |
Friends | |
| class | CertificateStorageAction |
Definition at line 54 of file context_storage.h.
| Ssl::GlobalContextStorage::GlobalContextStorage | ( | ) |
Definition at line 61 of file context_storage.cc.
References Ssl::CertificateStorageAction::Create().
| Ssl::GlobalContextStorage::~GlobalContextStorage | ( | ) |
Definition at line 67 of file context_storage.cc.
| void Ssl::GlobalContextStorage::addLocalStorage | ( | Ip::Address const & | address, |
| size_t | size_of_store | ||
| ) |
Definition at line 74 of file context_storage.cc.
References assert, and reconfiguring.
Referenced by clientHttpConnectionsOpen().
| Ssl::LocalContextStorage * Ssl::GlobalContextStorage::getLocalStorage | ( | Ip::Address const & | address | ) |
Definition at line 80 of file context_storage.cc.
Referenced by ConnStateData::getTlsContextFromCache(), and ConnStateData::storeTlsContextToCache().
|
private |
Definition at line 97 of file context_storage.cc.
References reconfiguring.
| void Ssl::GlobalContextStorage::reconfigureStart | ( | ) |
Definition at line 91 of file context_storage.cc.
References reconfiguring.
Referenced by mainReconfigureStart().
|
friend |
Definition at line 56 of file context_storage.h.
|
private |
Definition at line 71 of file context_storage.h.
|
private |
True if system reconfiguring now.
Definition at line 69 of file context_storage.h.
|
private |
Definition at line 73 of file context_storage.h.
Referenced by Ssl::CertificateStorageAction::dump().