diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-12-27 18:45:20 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-12-27 18:45:20 +0100 |
commit | 263097e22bdf0a56007644e4d19605371dc79a8f (patch) | |
tree | 1ed40707f9714e178ed07abf834b1a13c33bddc0 /httpd.h | |
parent | cd8874addb61e11cef83d4be31110ed670b58884 (diff) |
Basic directory listing for HTTP.
Diffstat (limited to 'httpd.h')
-rw-r--r-- | httpd.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,7 +12,9 @@ class HTTPConnection : public boost::enable_shared_from_this<HTTPConnection> { private: HTTPConnection(boost::asio::io_service& io_service); void handle_write(const boost::system::error_code& error, size_t bytes_transferred); + void handle_read(const boost::system::error_code& error, size_t bytes_transferred); tcp::socket socket; + boost::asio::streambuf buf; public: typedef boost::shared_ptr<HTTPConnection> pointer; |