ClientInfo.h
Go to the documentation of this file.
107 void setWriteLimiter(const int aWriteSpeedLimit, const double anInitialBurst, const double aHighWatermark);
Definition: ClientInfo.h:34
struct ClientInfo::Protocol Icp
void writeOrDequeue()
either selects the head descriptor for writing or calls quotaDequeue()
Definition: comm.cc:1224
void setWriteLimiter(const int aWriteSpeedLimit, const double anInitialBurst, const double aHighWatermark)
Definition: comm.cc:1376
void onFdClosed() override
Performs cleanup when the related file descriptor becomes closed.
Definition: comm.cc:1359
void scheduleWrite(Comm::IoCallback *state) override
Will plan another write call.
Definition: comm.cc:1350
unsigned int quotaEnqueue(int fd)
client starts waiting in queue; create the queue if necessary
Definition: comm.cc:1277
struct ClientInfo::Protocol Http
bool applyQuota(int &nleft, Comm::IoCallback *state) override
Definition: comm.cc:1336
struct ClientInfo::Cutoff cutoff
MEMPROXY_CLASS(ClientInfo)
Definition: ClientInfo.h:114
unsigned int enqueue(int fd)
places the given fd at the end of the queue; returns reservation ID
Definition: comm.cc:1413
Definition: Address.h:41
Definition: SquidConfig.h:62
Definition: ClientInfo.h:59
Definition: ClientInfo.h:47