From 263097e22bdf0a56007644e4d19605371dc79a8f Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Mon, 27 Dec 2010 18:45:20 +0100 Subject: Basic directory listing for HTTP. --- httpd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'httpd.h') diff --git a/httpd.h b/httpd.h index f5a3414..34866aa 100644 --- a/httpd.h +++ b/httpd.h @@ -12,7 +12,9 @@ class HTTPConnection : public boost::enable_shared_from_this { 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 pointer; -- cgit v1.2.3