#include <HttpSessionManager.h>

Public Member Functions | |
| HttpSessionManager () | |
| ~HttpSessionManager () | |
| HSMresult_t | acquire_session (Continuation *cont, sockaddr const *addr, const char *hostname, HttpClientSession *ua_session, HttpSM *sm) |
| HSMresult_t | release_session (HttpServerSession *to_release) |
| void | purge_keepalives () |
| void | init () |
| int | main_handler (int event, void *data) |
Definition at line 127 of file HttpSessionManager.h.
| HttpSessionManager::HttpSessionManager | ( | ) | [inline] |
Definition at line 130 of file HttpSessionManager.h.
| HttpSessionManager::~HttpSessionManager | ( | ) | [inline] |
Definition at line 133 of file HttpSessionManager.h.
| HSMresult_t HttpSessionManager::acquire_session | ( | Continuation * | cont, | |
| sockaddr const * | addr, | |||
| const char * | hostname, | |||
| HttpClientSession * | ua_session, | |||
| HttpSM * | sm | |||
| ) |
Definition at line 231 of file HttpSessionManager.cc.
References ServerSessionPool::acquireSession(), HttpSM::attach_server_session(), HttpClientSession::attach_server_session(), HttpServerSession::con_id, Debug, HttpClientSession::get_server_session(), ink_code_md5(), ServerSessionPool::match(), Continuation::mutex, MUTEX_TRY_LOCK, HttpServerSession::release(), EThread::server_session_pool, OverridableHttpConfigParams::server_session_sharing_match, OverridableHttpConfigParams::server_session_sharing_pool, HttpServerSession::state, HttpSM::t_state, this_ethread(), TS_SERVER_SESSION_SHARING_POOL_THREAD, and HttpTransact::State::txn_conf.
Referenced by HttpSM::do_http_server_open().
| void HttpSessionManager::init | ( | void | ) |
Definition at line 212 of file HttpSessionManager.cc.
Referenced by init_HttpProxyServer().
| int HttpSessionManager::main_handler | ( | int | event, | |
| void * | data | |||
| ) |
| void HttpSessionManager::purge_keepalives | ( | ) |
Definition at line 220 of file HttpSessionManager.cc.
References Continuation::mutex, MUTEX_TRY_LOCK, ServerSessionPool::purge(), and this_ethread().
Referenced by HttpSM::do_http_server_open().
| HSMresult_t HttpSessionManager::release_session | ( | HttpServerSession * | to_release | ) |
Definition at line 285 of file HttpSessionManager.cc.
References HttpServerSession::con_id, Debug, HSM_DONE, Continuation::mutex, MUTEX_TRY_LOCK, ServerSessionPool::releaseSession(), EThread::server_session_pool, HttpServerSession::sharing_pool, this_ethread(), and TS_SERVER_SESSION_SHARING_POOL_THREAD.
Referenced by HttpServerSession::release().
1.7.1