|
Squid Web Cache master
|
#include "clients/Client.h"#include "comm.h"#include "http/forward.h"#include "http/StateFlags.h"#include "sbuf/SBuf.h"#include <optional>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) |
| int httpCachable | ( | const HttpRequestMethod & | ) |
| SBuf httpMakeVaryMark | ( | HttpRequest * | request, |
| HttpReply const * | reply | ||
| ) |
Definition at line 590 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().
| void httpStart | ( | FwdState * | fwd | ) |
Definition at line 2531 of file http.cc.
References debugs, FwdState::entry, HttpRequest::method, FwdState::request, AsyncJob::Start(), and StoreEntry::url().
Referenced by FwdState::dispatch().
| std::ostream & operator<< | ( | std::ostream & | os, |
| const HttpStateData::ReuseDecision & | d | ||
| ) |
Definition at line 2673 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.