32 pool_(aPool), compositeId(aCompositeId), markedAsNoDelay(false)
36 debugs(77, 3,
"DelayId::DelayId: Pool " << aPool <<
"u");
57DelayId::operator bool()
const
59 return compositeId && !markedAsNoDelay;
72 debugs(77, 2,
"delayClient: WARNING: Called with 'NO_ADDR' address, ignoring");
81 " has no delay_access configured. This means that no clients will ever use it.");
89#if FOLLOW_X_FORWARDED_FOR
121 const auto maxBytes =
max(minimum, maximum);
SBuf StringToSBuf(const String &s)
create a new SBuf from a String by copying contents
Acl::Answer const & fastCheck()
void updateReply(const HttpReply::Pointer &)
HttpRequest *const request
Auth::UserRequest::Pointer user
virtual void bytesIn(int qty)=0
virtual int bytesWanted(int min, int max) const =0
virtual void delayRead(const AsyncCallPointer &)
DelayIdComposite::Pointer compositeId
bool operator==(DelayId const &rhs) const
unsigned short pool() const
int bytesWanted(int min, int max) const
void setNoDelay(bool const)
void delayRead(const AsyncCallPointer &)
static DelayId DelayClient(ClientHttpRequest *, HttpReply *reply=nullptr)
static unsigned short pools()
static DelayPool * delay_data
Ip::Address indirect_client_addr
Auth::UserRequest::Pointer auth_user_request
int delay_pool_uses_indirect_client
struct SquidConfig::@90 onoff
void clientAclChecklistFill(ACLFilledChecklist &checklist, ClientHttpRequest *http)
A const & max(A const &lhs, A const &rhs)
#define debugs(SECTION, LEVEL, CONTENT)