From a1ba5c60d8660751f2765c8ee2cd69453bcbe5f7 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Tue, 28 Dec 2010 17:09:48 +0100 Subject: Remove unused buffers in handle_read(). --- httpd.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'httpd.cpp') diff --git a/httpd.cpp b/httpd.cpp index 6da58b1..92eb9e8 100644 --- a/httpd.cpp +++ b/httpd.cpp @@ -20,9 +20,6 @@ void HTTPConnection::handle_read(const boost::system::error_code& error, size_t std::istream is(&buf); HTTPRequest req(is); - boost::asio::streambuf hdr_buf, data_buf; - std::ostream hdr_os(&hdr_buf), data_os(&data_buf); - HTTPResponse res(socket); MusicListing *ml = music::find(req.path); -- cgit v1.2.3