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