Server.h
Definition: AsyncJob.h:32
virtual bool handleReadData()=0
Definition: Pipeline.h:35
virtual void receivedFirstByte()=0
Update flags and timeout after the first byte received.
Definition: LogTags.h:18
virtual bool shouldCloseOnEof() const =0
whether to stop serving our client after reading EOF on its connection
Definition: Server.h:30
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:84
Definition: MemBuf.h:24
Definition: CommCalls.h:119
Definition: BodyPipe.h:23
Definition: CommCalls.h:181
#define JobCallback(dbgSection, dbgLevel, Dialer, job, method)
Convenience macro to create a Dialer-based job callback.
Definition: AsyncJobCalls.h:69
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:108
bool receivedFirstByte_
true if at least one byte received on this connection
Definition: Server.h:113
virtual void writeSomeData()
maybe find some data to send and schedule a Comm::Write()
Definition: Server.h:67
Definition: ProtocolVersion.h:24