Stream.h
Go to the documentation of this file.
168 bool mayUseConnection_; /* This request may use the connection. Don't read anymore requests for now */
void sendStartOfMessage(HttpReply *, StoreIOBuffer bodyData)
send an HTTP reply message headers and maybe some initial payload
Definition: Stream.cc:267
void buildRangeHeader(HttpReply *)
add Range headers (if any) to the given HTTP reply message
Definition: Stream.cc:417
void finished()
cleanup when the transaction has finished. may destroy 'this'
Definition: Stream.cc:534
MessageBucket::Pointer writeQuotaHandler
response write limiter, if configured
Definition: Stream.h:171
clientStream_status_t socketState()
Adapt stream status to account for Range cases.
Definition: Stream.cc:211
Definition: LogTags.h:17
Definition: Stream.h:150
Definition: forward.h:17
void writeComplete(size_t size)
update stream state after a write, may initiate more I/O
Definition: Stream.cc:68
Definition: clientStream.h:75
void noteIoError(const Error &, const LogTagsErrors &)
update state to reflect I/O error
Definition: Stream.cc:525
Definition: Range.h:18
size_t lengthToSend(Range< int64_t > const &available) const
Definition: Stream.cc:338
Definition: StoreIOBuffer.h:15
Definition: client_side_request.h:30
Definition: client_side.h:79
Definition: MemBuf.h:23
clientStreamNode * getClientReplyContext() const
Definition: Stream.cc:511
Comm::ConnectionPointer clientConnection
details about the client connection socket
Definition: Stream.h:134
Stream(const Comm::ConnectionPointer &aConn, ClientHttpRequest *aReq)
construct with HTTP/1.x details
Definition: Stream.cc:24
void packChunk(const StoreIOBuffer &bodyData, MemBuf &)
Definition: Stream.cc:579
unsigned deferred
This is a pipelined request waiting for the current object to complete.
Definition: Stream.h:139
Definition: HttpReply.h:24
Definition: Stream.h:72
MEMPROXY_CLASS(Stream)
struct Http::Stream::@65 flags
void deferRecipientForLater(clientStreamNode *, HttpReply *, StoreIOBuffer receivedData)
Definition: Stream.cc:556
void initiateClose(const char *reason)
terminate due to a send/write error (may continue reading)
Definition: Stream.cc:549
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