StoreClient.h
static void FinishCallback(store_client *)
finishCallback() wrapper; TODO: Add NullaryMemFunT for non-jobs.
Definition: store_client.cc:147
Definition: LogTags.h:69
struct store_client::Callback _callback
int storeClientIsThisAClient(store_client *sc, void *someClient)
Definition: FilledChecklist.h:33
void maybeWriteFromDiskToMemory(const StoreIOBuffer &)
Definition: store_client.cc:650
void readHeader(const char *buf, ssize_t len)
Definition: store_client.cc:727
void noteNews()
if necessary and possible, informs the Store reader about copy() result
Definition: store_client.cc:687
void callback(ssize_t)
bool canReadFromMemory() const
whether at least one byte wanted by the client is in memory
Definition: store_client.cc:497
void error(char *format,...)
Definition: StoreClient.h:200
void noteCopiedBytes(size_t)
void storeClientCopy(store_client *, StoreEntry *, StoreIOBuffer, STCB *, void *)
Definition: store_client.cc:224
AsyncCall::Pointer notifier
a scheduled asynchronous finishCallback() call (or nil)
Definition: StoreClient.h:215
void skipHttpHeadersFromDisk()
skips HTTP header bytes previously loaded from disk
Definition: store_client.cc:1039
int64_t nextHttpReadOffset() const
The offset of the next stored HTTP response byte wanted by the client.
Definition: store_client.cc:508
Definition: StoreIOBuffer.h:15
bool mayInitiateCollapsing() const
whether Squid configuration allows us to become a CF initiator
Definition: StoreClient.h:59
int storeUnregister(store_client *sc, StoreEntry *e, void *data)
Definition: store_client.cc:765
Definition: MemBuf.h:23
Definition: dlink.h:14
bool onCollapsingPath() const
whether Squid configuration allows collapsing for this transaction
Definition: store_client.cc:52
virtual LogTags * loggingTags() const =0
bool parseHttpHeadersFromDisk()
Definition: store_client.cc:1001
store_client * storeClientListAdd(StoreEntry *e, void *data)
Definition: store_client.cc:124
bool startCollapsingOn(const StoreEntry &, const bool doingRevalidation) const
Definition: store_client.cc:66
int64_t discardableHttpEnd_
the client will not use HTTP response bytes with lower offsets (if any)
Definition: StoreClient.h:183
bool didCollapse
whether startCollapsingOn() was called and returned true
Definition: StoreClient.h:64
Definition: Store.h:37
std::optional< Store::ParsingBuffer > parsingBuffer
Definition: StoreClient.h:192
auto discardableHttpEnd() const
the client will not use HTTP response bytes with lower offsets (if any)
Definition: StoreClient.h:82
Definition: DelayId.h:21
void dumpStats(MemBuf *output, int clientNumber) const
Definition: store_client.cc:1055
struct store_client::@129 flags
Definition: StoreClient.h:73
Callback()=default
void copy(StoreEntry *, StoreIOBuffer, STCB *, void *)
Definition: store_client.cc:235
bool moreToRead() const
Whether Store has (or possibly will have) more entry data for us.
Definition: store_client.cc:308
bool startSwapin()
opens the swapin "file" if possible; otherwise, fail()s and returns false
Definition: store_client.cc:435
void finishCallback()
finishes a copy()-STCB sequence by synchronously calling STCB
Definition: store_client.cc:154
void handleBodyFromDisk()
de-serializes HTTP response (partially) read from disk storage
Definition: store_client.cc:627
an interface for those capable of configuring an ACLFilledChecklist object
Definition: ChecklistFiller.h:18
void scheduleRead()
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products