#include <Prefetch.h>
Public Member Functions | |
PrefetchConfiguration () | |
int | readConfiguration () |
void | readHtmlTags (int fd, html_tag **ptags, html_tag **pattrs) |
Data Fields | |
int | prefetch_enabled |
IpMap | ip_map |
struct html_tag * | html_tags_table |
struct html_tag * | html_attrs_table |
int | local_http_server_port |
int | stuffer_port |
int | url_buffer_size |
int | url_buffer_timeout |
TSPrefetchBlastData | default_url_blast |
TSPrefetchBlastData | default_data_blast |
int | keepalive_timeout |
int | push_cached_objects |
unsigned int | max_object_size |
unsigned int | max_recursion |
unsigned int | redirection |
TSPrefetchHook | pre_parse_hook |
TSPrefetchHook | embedded_url_hook |
TSPrefetchHook | embedded_obj_hook |
Definition at line 40 of file Prefetch.h.
PrefetchConfiguration::PrefetchConfiguration | ( | ) | [inline] |
Definition at line 68 of file Prefetch.h.
int PrefetchConfiguration::readConfiguration | ( | ) |
Definition at line 1898 of file Prefetch.cc.
References ats_free(), config_read_proto(), default_data_blast, default_url_blast, Error, HttpProxyPort::findHttp(), html_attrs_table, html_tags_table, ink_assert, ip_map, keepalive_timeout, Load_IpMap_From_File(), local_http_server_port, max_object_size, max_recursion, prefetch_enabled, push_cached_objects, readHtmlTags(), REC_ConfigReadInteger(), REC_ConfigReadString(), REC_ReadConfigInteger, RecConfigReadConfigPath(), redirection, stuffer_port, url_buffer_size, url_buffer_timeout, and Warning.
Referenced by PrefetchConfigCont::conf_update_handler(), and PrefetchProcessor::start().
Definition at line 1974 of file Prefetch.cc.
References ats_malloc(), ats_strdup, html_tag::attr, Debug, memcpy, and html_tag::tag.
Referenced by readConfiguration().
Definition at line 54 of file Prefetch.h.
Referenced by PrefetchBlaster::invokeBlaster(), and readConfiguration().
Definition at line 53 of file Prefetch.h.
Referenced by PrefetchBlaster::invokeBlaster(), and readConfiguration().
Definition at line 66 of file Prefetch.h.
Referenced by PrefetchBlaster::blastObject(), and TSPrefetchHookSet().
Definition at line 65 of file Prefetch.h.
Referenced by PrefetchBlaster::invokeBlaster(), and TSPrefetchHookSet().
Definition at line 45 of file Prefetch.h.
Referenced by PrefetchTransform::PrefetchTransform(), and readConfiguration().
Definition at line 44 of file Prefetch.h.
Referenced by PrefetchTransform::PrefetchTransform(), and readConfiguration().
Definition at line 43 of file Prefetch.h.
Referenced by check_n_attach_prefetch_transform(), and readConfiguration().
Definition at line 56 of file Prefetch.h.
Referenced by KeepAliveConn::handleEvent(), and readConfiguration().
Definition at line 47 of file Prefetch.h.
Referenced by PrefetchBlaster::httpClient(), and readConfiguration().
unsigned int PrefetchConfiguration::max_object_size |
Definition at line 59 of file Prefetch.h.
Referenced by PrefetchBlaster::bufferObject(), and readConfiguration().
unsigned int PrefetchConfiguration::max_recursion |
Definition at line 61 of file Prefetch.h.
Referenced by check_n_attach_prefetch_transform(), PrefetchBlaster::invokeBlaster(), and readConfiguration().
Definition at line 64 of file Prefetch.h.
Referenced by check_n_attach_prefetch_transform(), and TSPrefetchHookSet().
Definition at line 42 of file Prefetch.h.
Referenced by readConfiguration(), and PrefetchProcessor::start().
Definition at line 57 of file Prefetch.h.
Referenced by PrefetchBlaster::invokeBlaster(), and readConfiguration().
unsigned int PrefetchConfiguration::redirection |
Definition at line 62 of file Prefetch.h.
Referenced by readConfiguration().
Definition at line 48 of file Prefetch.h.
Referenced by PrefetchBlaster::blastObject(), readConfiguration(), and PrefetchUrlBlaster::udpUrlBlaster().
Definition at line 50 of file Prefetch.h.
Referenced by PrefetchTransform::PrefetchTransform(), and readConfiguration().
Definition at line 51 of file Prefetch.h.
Referenced by PrefetchTransform::PrefetchTransform(), and readConfiguration().