Inheritance diagram for htcpSpecifier:
Collaboration diagram for htcpSpecifier:

Public Types

typedef RefCount< htcpSpecifierPointer
 

Public Member Functions

void * operator new (size_t byteCount)
 
void operator delete (void *address)
 
void checkHit ()
 
void checkedHit (StoreEntry *)
 
void setFrom (Ip::Address &anIp)
 
void setDataHeader (htcpDataHeader *aDataHeader)
 
void created (StoreEntry *)
 
virtual LogTagsloggingTags ()
 
virtual void fillChecklist (ACLFilledChecklist &) const
 configure the ACL checklist with the current transaction state More...
 

Static Public Member Functions

static int UseCount ()
 

Public Attributes

const char * method = nullptr
 
char * uri = nullptr
 
char * version = nullptr
 
char * req_hdrs = nullptr
 
size_t reqHdrsSz = 0
 size of the req_hdrs content More...
 
HttpRequest::Pointer request
 
AccessLogEntryPointer al
 optimization: nil until needed More...
 

Protected Member Functions

bool startCollapsingOn (const StoreEntry &, const bool doingRevalidation)
 
bool mayInitiateCollapsing () const
 whether Squid configuration allows us to become a CF initiator More...
 
bool onCollapsingPath () const
 whether Squid configuration allows collapsing for this transaction More...
 

Static Private Member Functions

static Mem::AllocatorProxyPool ()
 

Private Attributes

HttpRequest::Pointer checkHitRequest
 
Ip::Address from
 
htcpDataHeaderdhdr = nullptr
 

Detailed Description

Definition at line 122 of file htcp.cc.

Member Typedef Documentation

◆ Pointer

Definition at line 124 of file htcp.cc.

Member Function Documentation

◆ checkedHit()

void htcpSpecifier::checkedHit ( StoreEntry e)

Definition at line 1157 of file htcp.cc.

References htcpLogHtcp(), htcpTstReply(), LOG_UDP_HIT, LOG_UDP_MISS, and NULL.

◆ checkHit()

void htcpSpecifier::checkHit ( )

Definition at line 918 of file htcp.cc.

References debugs, StoreEntry::getPublicByRequest(), and request().

◆ created()

void htcpSpecifier::created ( StoreEntry )
virtual

Handle a StoreEntry::getPublic*() result. A nil entry indicates a cache miss.

Implements StoreClient.

Definition at line 939 of file htcp.cc.

References debugs, StoreEntry::hittingRequiresCollapsing(), refreshCheckHTCP(), and StoreEntry::validToSend().

◆ fillChecklist()

void htcpSpecifier::fillChecklist ( ACLFilledChecklist checklist) const
virtual

Implements StoreClient.

Definition at line 973 of file htcp.cc.

References ACLFilledChecklist::al, htcpSyncAle(), request(), and ACLFilledChecklist::setRequest().

◆ loggingTags()

LogTags * htcpSpecifier::loggingTags ( )
virtual
Returns
LogTags (if the class logs transactions) or nil (otherwise)

Implements StoreClient.

Definition at line 964 of file htcp.cc.

◆ mayInitiateCollapsing()

bool StoreClient::mayInitiateCollapsing ( ) const
inlineprotectedinherited

◆ onCollapsingPath()

◆ operator delete()

void htcpSpecifier::operator delete ( void *  address)
inline

Definition at line 124 of file htcp.cc.

◆ operator new()

void* htcpSpecifier::operator new ( size_t  byteCount)
inline

Definition at line 124 of file htcp.cc.

◆ Pool()

static Mem::AllocatorProxy& htcpSpecifier::Pool ( )
inlinestaticprivate

Definition at line 124 of file htcp.cc.

◆ setDataHeader()

void htcpSpecifier::setDataHeader ( htcpDataHeader aDataHeader)
inline

Definition at line 133 of file htcp.cc.

◆ setFrom()

void htcpSpecifier::setFrom ( Ip::Address anIp)
inline

Definition at line 132 of file htcp.cc.

◆ startCollapsingOn()

bool StoreClient::startCollapsingOn ( const StoreEntry e,
const bool  doingRevalidation 
)
protectedinherited
Returns
whether the caller must collapse on the given entry Before returning true, updates common collapsing-related stats. See also: StoreEntry::hittingRequiresCollapsing().

Definition at line 65 of file store_client.cc.

References debugs, StoreEntry::hittingRequiresCollapsing(), StoreClient::loggingTags(), and StoreClient::onCollapsingPath().

Referenced by ICPState::confirmAndPrepHit(), UrnState::created(), clientReplyContext::identifyFoundObject(), clientReplyContext::processExpired(), and StoreClient::~StoreClient().

◆ UseCount()

static int htcpSpecifier::UseCount ( )
inlinestatic

Definition at line 124 of file htcp.cc.

Member Data Documentation

◆ al

AccessLogEntryPointer htcpSpecifier::al
mutable

Definition at line 151 of file htcp.cc.

◆ checkHitRequest

HttpRequest::Pointer htcpSpecifier::checkHitRequest
private

Definition at line 154 of file htcp.cc.

◆ dhdr

htcpDataHeader* htcpSpecifier::dhdr = nullptr
private

Definition at line 157 of file htcp.cc.

◆ from

Ip::Address htcpSpecifier::from
private

Definition at line 156 of file htcp.cc.

◆ method

const char* htcpSpecifier::method = nullptr

Definition at line 143 of file htcp.cc.

Referenced by htcpBuildSpecifier(), htcpClear(), htcpQuery(), and htcpTstReply().

◆ req_hdrs

char* htcpSpecifier::req_hdrs = nullptr

Definition at line 146 of file htcp.cc.

Referenced by htcpBuildSpecifier(), htcpClear(), htcpQuery(), and htcpTstReply().

◆ reqHdrsSz

size_t htcpSpecifier::reqHdrsSz = 0

Definition at line 147 of file htcp.cc.

Referenced by htcpBuildSpecifier(), and htcpTstReply().

◆ request

HttpRequest::Pointer htcpSpecifier::request

Definition at line 148 of file htcp.cc.

◆ uri

char* htcpSpecifier::uri = nullptr

Definition at line 144 of file htcp.cc.

Referenced by htcpBuildSpecifier(), htcpClear(), htcpQuery(), and htcpTstReply().

◆ version

char* htcpSpecifier::version = nullptr

Definition at line 145 of file htcp.cc.

Referenced by htcpBuildSpecifier(), htcpClear(), htcpQuery(), and htcpTstReply().


The documentation for this class was generated from the following file:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors