Server.h
Definition: AsyncJob.h:31
bool mayBufferMoreRequestBytes() const
whether client_request_buffer_max_size allows inBuf.length() increase
Definition: Server.cc:89
virtual bool handleReadData()=0
Definition: Pipeline.h:34
virtual void receivedFirstByte()=0
Update flags and timeout after the first byte received.
Definition: LogTags.h:17
virtual bool shouldCloseOnEof() const =0
whether to stop serving our client after reading EOF on its connection
Definition: Server.h:31
void maybeMakeSpaceAvailable()
grows the available read buffer space (if possible)
Definition: Server.cc:74
virtual void terminateAll(const Error &, const LogTagsErrors &)=0
abort any pending transactions and prevent new ones (by closing)
virtual void afterClientWrite(size_t)
processing to sync state after a Comm::Write()
Definition: Server.h:86
Definition: MemBuf.h:23
Definition: CommCalls.h:113
Definition: BodyPipe.h:22
Definition: CommCalls.h:165
#define JobCallback(dbgSection, dbgLevel, Dialer, job, method)
Convenience macro to create a Dialer-based job callback.
Definition: AsyncJobCalls.h:70
void Write(const Comm::ConnectionPointer &conn, const char *buf, int size, AsyncCall::Pointer &callback, FREE *free_func)
Definition: Write.cc:33
AnyP::PortCfgPointer port
Squid listening port details where this connection arrived.
Definition: Server.h:110
bool receivedFirstByte_
true if at least one byte received on this connection
Definition: Server.h:115
virtual void writeSomeData()
maybe find some data to send and schedule a Comm::Write()
Definition: Server.h:69
Definition: ProtocolVersion.h:23
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