Server.cc
Go to the documentation of this file.
85 debugs(33, 4, "request buffer full: client_request_buffer_max_size=" << Config.maxRequestBufferSize);
#define JobCallback(dbgSection, dbgLevel, Dialer, job, method)
Convenience macro to create a Dialer-based job callback.
Definition: AsyncJobCalls.h:69
Definition: AsyncJob.h:32
Definition: CommCalls.h:166
Definition: CommCalls.h:114
void leaveOrphanage()
resume relying on owner(s) to initiate an explicit connection closure
Definition: Connection.h:92
Definition: LogTags.h:18
Http::StreamPointer front() const
get the first request context in the pipeline
Definition: Pipeline.cc:28
Named SBuf::reserve() parameters. Defaults ask for and restrict nothing.
Definition: SBuf.h:697
size_type reserve(const SBufReservationRequirements &requirements)
Definition: SBuf.cc:112
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
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
struct StatCounters::@122 client_http
static ErrorDetail::Pointer NewIfAny(const int errorNo)
Definition: SysErrorDetail.h:22
void ReadCancel(int fd, AsyncCall::Pointer &callback)
Cancel the read pending on FD. No action if none pending.
Definition: Read.cc:219
void Read(const Comm::ConnectionPointer &conn, AsyncCall::Pointer &callback)
Definition: Read.cc:40