summaryrefslogtreecommitdiff
path: root/httpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'httpd.h')
-rw-r--r--httpd.h2
1 files changed, 2 insertions, 0 deletions
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<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;