#include "squid.h"
#include "acl/FilledChecklist.h"
#include "acl/Gadgets.h"
#include "base/TextException.h"
#include "clients/Client.h"
#include "comm/Connection.h"
#include "comm/forward.h"
#include "comm/Write.h"
#include "error/Detail.h"
#include "errorpage.h"
#include "fd.h"
#include "HttpHdrContRange.h"
#include "HttpReply.h"
#include "HttpRequest.h"
#include "SquidConfig.h"
#include "StatCounters.h"
#include "Store.h"
#include "tools.h"
#include "adaptation/AccessCheck.h"
#include "adaptation/Answer.h"
#include "adaptation/Iterator.h"
#include "base/AsyncCall.h"
Go to the source code of this file.
Functions | |
void | purgeEntriesByUrl (HttpRequest *req, const char *url) |
static bool | sameUrlHosts (const char *url1, const char *url2) |
static void | purgeEntriesByHeader (HttpRequest *req, const char *reqUrl, Http::Message *rep, Http::HdrType hdr) |
Function Documentation
◆ purgeEntriesByHeader()
|
static |
Definition at line 476 of file Client.cc.
References AnyP::Uri::absolute(), AnyP::Uri::addRelativePath(), SBuf::c_str(), AnyP::Uri::getScheme(), HttpHeader::getStr(), Http::Message::header, HttpRequestMethod::id(), HttpRequest::method, Http::METHOD_CONNECT, AnyP::Uri::path(), AnyP::PROTO_URN, purgeEntriesByUrl(), sameUrlHosts(), HttpRequest::url, and urlIsRelative().
Referenced by Client::maybePurgeOthers().
◆ purgeEntriesByUrl()
void purgeEntriesByUrl | ( | HttpRequest * | req, |
const char * | url | ||
) |
Definition at line 862 of file client_side_reply.cc.
References debugs, Store::Controller::evictIfFound(), HTCP_CLR_INVALIDATION, Http::METHOD_ENUM_END, Http::METHOD_NONE, neighborsHtcpClear(), Store::Root(), storeKeyPublic(), and storeKeyText().
Referenced by Client::maybePurgeOthers(), clientReplyContext::purgeAllCached(), and purgeEntriesByHeader().
◆ sameUrlHosts()
|
static |
Definition at line 447 of file Client.cc.
Referenced by purgeEntriesByHeader().