summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-12-28 17:09:48 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-12-28 17:09:48 +0100
commita1ba5c60d8660751f2765c8ee2cd69453bcbe5f7 (patch)
treeb58254fb075134ef17146ab37db0b97ca52bd577
parentf33934505764d66ae56fdfea9dbcc5c6eb08b39b (diff)
Remove unused buffers in handle_read().
-rw-r--r--httpd.cpp3
1 files changed, 0 insertions, 3 deletions
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);