Corrected boost::asio::streambuf to asio::streambuf
This commit is contained in:
parent
a20a729a40
commit
9cdfe80ce6
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue