Commit 9cdfe80c authored by Ole Christian Eidheim's avatar Ole Christian Eidheim
Browse files

Corrected boost::asio::streambuf to asio::streambuf

parent a20a729a
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -734,7 +734,7 @@ namespace SimpleWeb {

              if(!ec) {
                // Remove "\r\n"
                auto null_buffer = std::make_shared<boost::asio::streambuf>(2);
                auto null_buffer = std::make_shared<asio::streambuf>(2);
                asio::async_read(*session->connection->socket, *null_buffer, asio::transfer_exactly(2), [this, session, chunk_size_streambuf, null_buffer](const error_code &ec, size_t /*bytes_transferred*/) {
                  auto lock = session->connection->handler_runner->continue_lock();
                  if(!lock)
+1 −1
Original line number Diff line number Diff line
@@ -645,7 +645,7 @@ namespace SimpleWeb {

              if(!ec) {
                // Remove "\r\n"
                auto null_buffer = std::make_shared<boost::asio::streambuf>(2);
                auto null_buffer = std::make_shared<asio::streambuf>(2);
                asio::async_read(*session->connection->socket, *null_buffer, asio::transfer_exactly(2), [this, session, chunk_size_streambuf, null_buffer](const error_code &ec, size_t /*bytes_transferred*/) {
                  auto lock = session->connection->handler_runner->continue_lock();
                  if(!lock)