#include <HttpSM.h>
Public Member Functions | |
HttpVCTable () | |
HttpVCTableEntry * | new_entry () |
HttpVCTableEntry * | find_entry (VConnection *) |
HttpVCTableEntry * | find_entry (VIO *) |
void | remove_entry (HttpVCTableEntry *) |
void | cleanup_entry (HttpVCTableEntry *) |
void | cleanup_all () |
bool | is_table_clear () const |
Static Public Attributes | |
static const int | vc_table_max_entries = 4 |
Definition at line 109 of file HttpSM.h.
void HttpVCTable::cleanup_all | ( | ) |
Definition at line 265 of file HttpSM.cc.
References cleanup_entry(), and vc_table_max_entries.
Referenced by HttpSM::kill_this().
void HttpVCTable::cleanup_entry | ( | HttpVCTableEntry * | e | ) |
Definition at line 242 of file HttpSM.cc.
References VConnection::do_io_close(), HTTP_UA_VC, HttpVCTableEntry::in_tunnel, ink_assert, remove_entry(), HttpVCTableEntry::vc, and HttpVCTableEntry::vc_type.
Referenced by cleanup_all(), HttpSM::handle_post_failure(), HttpSM::handle_server_setup_error(), HttpSM::release_server_session(), HttpSM::set_next_state(), HttpSM::setup_error_transfer(), HttpSM::state_common_wait_for_transform_read(), HttpSM::state_read_client_request_header(), and HttpSM::tunnel_handler_post_or_put().
HttpVCTableEntry * HttpVCTable::find_entry | ( | VConnection * | vc | ) |
Definition at line 185 of file HttpSM.cc.
References vc_table_max_entries.
Referenced by HttpSM::main_handler().
HttpVCTableEntry * HttpVCTable::find_entry | ( | VIO * | vio | ) |
Definition at line 197 of file HttpSM.cc.
References ink_assert, and vc_table_max_entries.
bool HttpVCTable::is_table_clear | ( | ) | const [inline] |
Definition at line 127 of file HttpSM.h.
References vc_table_max_entries.
Referenced by HttpSM::kill_this().
HttpVCTableEntry * HttpVCTable::new_entry | ( | ) |
Definition at line 172 of file HttpSM.cc.
References ink_release_assert, and vc_table_max_entries.
Referenced by HttpSM::attach_client_session(), HttpSM::attach_server_session(), HttpSM::do_post_transform_open(), HttpSM::do_transform_open(), and HttpSM::state_raw_http_server_open().
void HttpVCTable::remove_entry | ( | HttpVCTableEntry * | e | ) |
Definition at line 216 of file HttpSM.cc.
References HttpVCTableEntry::eos, free_MIOBuffer(), HttpVCTableEntry::in_tunnel, ink_assert, HttpVCTableEntry::read_buffer, HttpVCTableEntry::read_vio, HttpVCTableEntry::vc, HttpVCTableEntry::vc_handler, HttpVCTableEntry::vc_type, HttpVCTableEntry::write_buffer, and HttpVCTableEntry::write_vio.
Referenced by cleanup_entry(), HttpSM::remove_server_entry(), and HttpSM::remove_ua_entry().
const int HttpVCTable::vc_table_max_entries = 4 [static] |
Definition at line 111 of file HttpSM.h.
Referenced by cleanup_all(), find_entry(), is_table_clear(), and new_entry().