summaryrefslogtreecommitdiff
path: root/lib/httpserver/HTTPServer.cpp
Commit message (Collapse)AuthorAge
* Whitespace, import order and comment fixesChris Wilson2015-08-29
|
* Make Protocol take control of the socket object passed in.Chris Wilson2014-03-01
| | | | | | | | | | | | | We pass a std::auto_ptr<SocketStream> to every Protocol subclass when we construct it, and it takes control of this object. This reduces the risk of: * accidentally reusing the same SocketStream for multiple Protocols (it happened to me in testbackupstore); * holding onto a reference to the SocketStream; * allowing a locally-scoped SocketStream to go out of scope and be released while still being referenced by a live Protocol.
* Move S3Simulator into its own class, like S3Client, for reuse elsewhere.Chris Wilson2009-04-13
|
* Create HTTP responses with the stream that they will be sent to, for 100 Chris Wilson2009-01-05
| | | | | Continue support.
* Allow adding headers to an HTTPRequest.Chris Wilson2009-01-04
| | | | | | | | Allow getting response headers out of HTTPResponse. Rename HTTPRequest Read and Write methods to Send and Receive, to avoid confusion with IOStream.
* Compile and config verify fixes for HTTP server code.Chris Wilson2009-01-03
|
* Copy HTTP server into Box, for use with S3 testing.Chris Wilson2009-01-03