#include <Update.h>
Inherits Continuation.
Public Member Functions | |
RecursiveHttpGet () | |
~RecursiveHttpGet () | |
void | Init (Continuation *, char *, char *, URL *, HTTPHdr *, int, Ptr< UpdateConfigList >, struct html_tag *allowed_html_tags) |
int | RecursiveHttpGetEvent (int, Event *) |
int | ExitEventHandler (int, Event *) |
Data Fields | |
int | _id |
Continuation * | _caller_cont |
char * | _request_headers |
URL * | _url_data |
HTTPHdr * | _http_hdr |
int | _recursion_depth |
Ptr< UpdateConfigList > | _CL |
ObjectReloadCont * | _OL |
UpdateEntry * | _group_link_head |
int | _active_child_state_machines |
HtmlParser | html_parser |
Definition at line 458 of file Update.h.
RecursiveHttpGet::RecursiveHttpGet | ( | ) |
Definition at line 1589 of file Update.cc.
References RecursiveHttpGetEvent(), and SET_HANDLER.
Referenced by RecursiveHttpGetEvent().
int RecursiveHttpGet::ExitEventHandler | ( | int | event, | |
Event * | ||||
) |
Definition at line 1766 of file Update.cc.
References _caller_cont, _id, HtmlParser::_url, Debug, EVENT_IMMEDIATE, EVENT_INTERVAL, eventProcessor, Continuation::handleEvent(), HRTIME_MSECONDS, html_parser, ink_release_assert, Continuation::mutex, MUTEX_TRY_LOCK, EventProcessor::schedule_in(), this_ethread(), and UPDATE_EVENT_SUCCESS.
Referenced by RecursiveHttpGetEvent().
void RecursiveHttpGet::Init | ( | Continuation * | cont, | |
char * | url, | |||
char * | request_headers, | |||
URL * | url_data, | |||
HTTPHdr * | http_hdr, | |||
int | recursion_depth, | |||
Ptr< UpdateConfigList > | L, | |||
struct html_tag * | allowed_html_tags | |||
) |
Definition at line 1603 of file Update.cc.
References _caller_cont, _CL, _http_hdr, _id, _OL, _recursion_depth, _request_headers, HtmlParser::_url, _url_data, Debug, global_id, html_parser, HtmlParser::Init(), ObjectReloadCont::Init(), and ObjectReloadContAllocator.
Referenced by UpdateSM::http_scheme(), and RecursiveHttpGetEvent().
int RecursiveHttpGet::RecursiveHttpGetEvent | ( | int | event, | |
Event * | d | |||
) |
Definition at line 1627 of file Update.cc.
References _active_child_state_machines, _CL, UpdateEntry::_group_link, _group_link_head, _http_hdr, UpdateEntry::_id, _id, _recursion_depth, _request_headers, UpdateEntry::_request_headers, UpdateEntry::_url, HtmlParser::_url, _url_data, UpdateEntry::_url_md5, UpdateEntry::_URLhandle, ats_strdup, UpdateEntry::BuildHttpRequest(), Debug, EVENT_IMMEDIATE, ExitEventHandler(), Continuation::handleEvent(), URL::hash_get(), URL::host_get(), html_parser, Init(), UpdateEntry::Init(), ink_release_assert, NET_EVENT_OPEN_FAILED, HtmlParser::ParseHtml(), ptr_len_casecmp(), IOBufferReader::read_avail(), RecursiveHttpGet(), SET_HANDLER, UpdateEntry::SetTerminalStatus(), UpdateEntry::TerminalURL(), UPDATE_EVENT_FAILED, UPDATE_EVENT_SUCCESS, UpdateEntry::ValidURL(), VC_EVENT_EOS, VC_EVENT_ERROR, VC_EVENT_READ_COMPLETE, and VC_EVENT_READ_READY.
Referenced by RecursiveHttpGet().
Definition at line 479 of file Update.h.
Referenced by RecursiveHttpGetEvent().
Definition at line 471 of file Update.h.
Referenced by ExitEventHandler(), and Init().
Definition at line 476 of file Update.h.
Referenced by Init(), RecursiveHttpGetEvent(), and ~RecursiveHttpGet().
Definition at line 478 of file Update.h.
Referenced by RecursiveHttpGetEvent().
Definition at line 474 of file Update.h.
Referenced by Init(), and RecursiveHttpGetEvent().
Definition at line 470 of file Update.h.
Referenced by ExitEventHandler(), Init(), and RecursiveHttpGetEvent().
Definition at line 475 of file Update.h.
Referenced by Init(), and RecursiveHttpGetEvent().
Definition at line 472 of file Update.h.
Referenced by Init(), and RecursiveHttpGetEvent().
Definition at line 473 of file Update.h.
Referenced by Init(), and RecursiveHttpGetEvent().
Definition at line 481 of file Update.h.
Referenced by ExitEventHandler(), Init(), and RecursiveHttpGetEvent().