Http1Server.h
Go to the documentation of this file.
62 void setReplyError(Http::StreamPointer &context, HttpRequest::Pointer &request, err_type requestError, Http::StatusCode errStatusCode, const char *requestErrorBytes);
noteTakeServerConnectionControl() callback parameter
Definition: client_side.h:213
Definition: client_side.h:84
Definition: HttpReply.h:25
Definition: RequestMethod.h:27
Manages a connection from an HTTP/1 or HTTP/0.9 client.
Definition: Http1Server.h:24
CBDATA_CHILD(Server)
const bool isHttpsServer
temporary hack to avoid creating a true HttpsServer class
Definition: Http1Server.h:68
void handleReply(HttpReply *rep, StoreIOBuffer receivedData) override
Definition: Http1Server.cc:295
Server(const MasterXaction::Pointer &xact, const bool beHttpsServer)
Definition: Http1Server.cc:27
void proceedAfterBodyContinuation(Http::StreamPointer context)
Definition: Http1Server.cc:222
bool buildHttpRequest(Http::StreamPointer &context)
Definition: Http1Server.cc:94
void setReplyError(Http::StreamPointer &context, HttpRequest::Pointer &request, err_type requestError, Http::StatusCode errStatusCode, const char *requestErrorBytes)
Definition: Http1Server.cc:203
void noteTakeServerConnectionControl(ServerConnectionContext) override
Definition: Http1Server.cc:375
void processParsedRequest(Http::StreamPointer &context) override
start processing a freshly parsed request
Definition: Http1Server.cc:240
time_t idleTimeout() const override
timeout to use when waiting for the next request
Definition: Http1Server.cc:35
bool writeControlMsgAndCall(HttpReply *rep, AsyncCall::Pointer &call) override
handle a control message received by context from a peer and call back
Definition: Http1Server.cc:327
void handleHttpRequestData()
void processHttpRequest(Http::Stream *const context)
void readSomeHttpData()
Http::Stream * parseOneRequest() override
Definition: Http1Server.cc:73
void noteBodyConsumerAborted(BodyPipe::Pointer) override
Definition: Http1Server.cc:288
void noteMoreBodySpaceAvailable(BodyPipe::Pointer) override
Definition: Http1Server.cc:60
int pipelinePrefetchMax() const override
returning N allows a pipeline of 1+N requests (see pipeline_prefetch)
Definition: Http1Server.cc:229
Definition: Stream.h:73
Definition: StoreIOBuffer.h:16
Definition: forward.h:18