From 9cdfe80ce6b1f2eb8066e8efa55e288ba5c07b55 Mon Sep 17 00:00:00 2001 From: eidheim Date: Wed, 13 May 2020 10:38:03 +0200 Subject: [PATCH] Corrected boost::asio::streambuf to asio::streambuf --- client_http.hpp | 2 +- server_http.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client_http.hpp b/client_http.hpp index bcd31fa..025c274 100644 --- a/client_http.hpp +++ b/client_http.hpp @@ -734,7 +734,7 @@ namespace SimpleWeb { if(!ec) { // Remove "\r\n" - auto null_buffer = std::make_shared(2); + auto null_buffer = std::make_shared(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) diff --git a/server_http.hpp b/server_http.hpp index 03ff51d..3d78858 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -645,7 +645,7 @@ namespace SimpleWeb { if(!ec) { // Remove "\r\n" - auto null_buffer = std::make_shared(2); + auto null_buffer = std::make_shared(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)