store_client.cc
Go to the documentation of this file.
507 if (!entry->mem_obj->adjustableBaseReply().parseCharBuf(copyInto.data, headersEnd(copyInto.data, len))) {
514 if (len > 0 && rep && entry->mem_obj->inmem_lo == 0 && entry->objectLen() <= (int64_t)Config.Store.maxInMemObjSize && Config.onoff.memory_cache_disk) {
691 debugs(90, 3, "storeUnregister: Consistency failure - store client being unregistered is not in the mem object's list for '" << e->getMD5Text() << "'");
862 debugs(90, 3, "quick-abort? YES bad content length (" << curlen << " of " << expectlen << " bytes received)");
Definition: parse.c:104
struct store_client::Callback _callback
int storeClientIsThisAClient(store_client *sc, void *someClient)
Definition: FilledChecklist.h:33
void readHeader(const char *buf, ssize_t len)
Definition: store_client.cc:602
void appendf(const char *fmt,...) PRINTF_FORMAT_ARG2
Append operation with printf-style arguments.
Definition: Packable.h:61
void STRCB(void *their_data, const char *buf, ssize_t len, StoreIOState::Pointer self)
Definition: StoreIOState.h:29
acl_access * collapsedForwardingAccess
Definition: SquidConfig.h:412
struct SquidConfig::@95 quickAbort
void error(char *format,...)
Definition: StoreClient.h:113
Definition: CbcPointer.h:26
Definition: cbdata.cc:60
bool moreToSend() const
Whether there is (or will be) more entry data for us.
Definition: store_client.cc:284
static void storeClientCopy2(StoreEntry *e, store_client *sc)
Definition: store_client.cc:312
bool parseCharBuf(const char *buf, ssize_t end)
Definition: Message.cc:140
struct StoreIOBuffer::@146 flags
static void Reset()
forgets the current context, setting it to nil/unknown
Definition: CodeContext.cc:75
struct store_client::@145 flags
void storeRead(StoreIOState::Pointer sio, char *buf, size_t size, off_t offset, StoreIOState::STRCB *callback, void *callback_data)
Definition: store_io.cc:79
Definition: StoreIOBuffer.h:16
bool hasDisk(const sdirno dirn=-1, const sfileno filen=-1) const
Definition: store.cc:1891
bool memReaderHasLowerOffset(int64_t) const
Definition: store_client.cc:89
Definition: MemBuf.h:24
Definition: dlink.h:15
bool onCollapsingPath() const
whether Squid configuration allows collapsing for this transaction
Definition: store_client.cc:51
virtual LogTags * loggingTags() const =0
Definition: StoreMetaUnpacker.h:16
virtual void fillChecklist(ACLFilledChecklist &) const =0
configure the given checklist (to reflect the current transaction state)
static bool CheckQuickAbortIsReasonable(StoreEntry *entry)
Definition: store_client.cc:793
bool startCollapsingOn(const StoreEntry &, const bool doingRevalidation) const
Definition: store_client.cc:65
Definition: MemObject.h:33
struct SquidConfig::@111 accessList
Definition: Store.h:42
Definition: DelayId.h:22
struct SquidConfig::@110 onoff
void dumpStats(MemBuf *output, int clientNumber) const
Definition: store_client.cc:892
Definition: StoreClient.h:56
int storeClientCopyPending(store_client *sc, StoreEntry *e, void *data)
Definition: store_client.cc:649
void copy(StoreEntry *, StoreIOBuffer, STCB *, void *)
Definition: store_client.cc:227
struct StatCounters::@136 swap
bool startSwapin()
opens the swapin "file" if possible; otherwise, fail()s and returns false
Definition: store_client.cc:397
bool unpackHeader(char const *buf, ssize_t len)
Definition: store_client.cc:561
bool hittingRequiresCollapsing() const
whether this entry can feed collapsed requests and only them
Definition: Store.h:214
bool swappingOut() const
whether we are in the process of writing this entry to disk
Definition: Store.h:132
Definition: CodeContext.h:52
bool swappedOut() const
whether the entire entry is now on disk (possibly marked for deletion)
Definition: Store.h:134
int storeUnregister(store_client *sc, StoreEntry *e, void *data)
Definition: store_client.cc:671
size_t headersEnd(const char *mime, size_t l, bool &containsObsFold)
Definition: mime_header.cc:17
void storeClientCopy(store_client *sc, StoreEntry *e, StoreIOBuffer copyInto, STCB *callback, void *data)
Definition: store_client.cc:216
void eventAdd(const char *name, EVH *func, void *arg, double when, int weight, bool cbdata)
Definition: event.cc:107
store_client * storeClientListAdd(StoreEntry *e, void *data)
Definition: store_client.cc:128
struct SquidConfig::@108 Store