#include "clients/Client.h"
#include "comm.h"
#include "http/forward.h"
#include "http/StateFlags.h"
#include "sbuf/SBuf.h"
Go to the source code of this file.
Classes | |
class | HttpStateData |
class | HttpStateData::ReuseDecision |
assists in making and relaying entry caching/sharing decision More... | |
Functions | |
std::ostream & | operator<< (std::ostream &os, const HttpStateData::ReuseDecision &d) |
int | httpCachable (const HttpRequestMethod &) |
void | httpStart (FwdState *) |
SBuf | httpMakeVaryMark (HttpRequest *request, HttpReply const *reply) |
Function Documentation
◆ httpCachable()
int httpCachable | ( | const HttpRequestMethod & | ) |
◆ httpMakeVaryMark()
SBuf httpMakeVaryMark | ( | HttpRequest * | request, |
HttpReply const * | reply | ||
) |
Definition at line 588 of file http.cc.
References assembleVaryKey(), String::clean(), debugs, HttpHeader::getList(), Http::HDR_X_ACCELERATOR_VARY, Http::Message::header, and Http::VARY.
Referenced by StoreEntry::adjustVary(), HttpStateData::haveParsedReplyHeaders(), and varyEvaluateMatch().
◆ httpStart()
void httpStart | ( | FwdState * | fwd | ) |
Definition at line 2459 of file http.cc.
References debugs, FwdState::entry, HttpRequest::method, FwdState::request, AsyncJob::Start(), and StoreEntry::url().
Referenced by FwdState::dispatch().
◆ operator<<()
std::ostream & operator<< | ( | std::ostream & | os, |
const HttpStateData::ReuseDecision & | d | ||
) |
Definition at line 2633 of file http.cc.
References HttpStateData::ReuseDecision::answer, assert, HttpStateData::ReuseDecision::doNotCacheButShare, HttpStateData::ReuseDecision::entry, HttpStateData::ReuseDecision::reason, HttpStateData::ReuseDecision::reuseNot, and HttpStateData::ReuseDecision::statusCode.