Write.cc
Go to the documentation of this file.
33 Comm::Write(const Comm::ConnectionPointer &conn, const char *buf, int size, AsyncCall::Pointer &callback, FREE * free_func)
104 debugs(5, DBG_IMPORTANT, "FD " << fd << " write failure: connection closed with " << nleft << " bytes remaining.");
void fd_bytes(const int fd, const int len, const IoDirection direction)
Definition: fd.cc:226
void setCallback(iocb_type type, AsyncCall::Pointer &cb, char *buf, FREE *func, int sz)
Definition: IoCallback.cc:55
struct StatCounters::@119 syscalls
virtual void reduceBucket(const int len)
Decreases the bucket level.
Definition: BandwidthBucket.cc:83
virtual bool applyQuota(int &nleft, Comm::IoCallback *state)
Definition: BandwidthBucket.cc:66
Definition: MemBuf.h:23
struct StatCounters::@119::@124 sock
static BandwidthBucket * SelectBucket(fde *f)
Definition: BandwidthBucket.cc:95
void selectOrQueueWrite()
called when fd needs to write but may need to wait in line for its quota
Definition: IoCallback.cc:69
void Write(const Comm::ConnectionPointer &conn, const char *buf, int size, AsyncCall::Pointer &callback, FREE *free_func)
Definition: Write.cc:33
void finish(Comm::Flag code, int xerrn)
finish the IO operation immediately and schedule the callback with the current state.
Definition: IoCallback.cc:110
@ Write
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