
Functions | |
void | gopherStart (FwdState *) |
int | gopherCachable (const HttpRequest *) |
Detailed Description
Function Documentation
◆ gopherCachable()
int gopherCachable | ( | const HttpRequest * | req | ) |
Parse the request to determine whether it is cachable.
- Parameters
-
req Request data.
- Return values
-
0 Not cachable. 1 Cachable.
Definition at line 346 of file gopher.cc.
References GOPHER_3270, GOPHER_CSO, GOPHER_INDEX, gopher_request_parse(), GOPHER_TELNET, and NULL.
Referenced by clientHierarchical(), and HttpRequest::maybeCacheable().
◆ gopherStart()
void gopherStart | ( | FwdState * | ) |
Definition at line 948 of file gopher.cc.
References StatCounters::all, comm_add_close_handler(), commCbCall(), commSetConnTimeout(), FwdState::complete(), Config, GopherStateData::conversion, debugs, GopherStateData::entry, Comm::Connection::fd, GOPHER_CSO, GOPHER_INDEX, gopher_request_parse(), gopherMimeCreate(), gopherSendRequest, gopherStateFree, gopherTimeout, gopherToHTML(), GopherStateData::HTML_CSO_PAGE, GopherStateData::HTML_INDEX_PAGE, FwdState::markStoredReplyAsWhole(), NULL, StatCounters::other, SquidConfig::read, FwdState::request, GopherStateData::request, StatCounters::server, GopherStateData::serverConn, FwdState::serverConnection(), statCounter, SquidConfig::Timeout, GopherStateData::type_id, and StoreEntry::url().
Referenced by FwdState::dispatch().