From 9e2a770a26d8b83f8099bd70f19ff8410086d8c1 Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 23 Nov 2015 16:40:06 -0500 Subject: [PATCH] read complete request --- I2PControl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/I2PControl.cpp b/I2PControl.cpp index a0b9081b..a2b5f590 100644 --- a/I2PControl.cpp +++ b/I2PControl.cpp @@ -151,7 +151,7 @@ namespace client void I2PControlService::ReadRequest (std::shared_ptr socket) { auto request = std::make_shared(); - socket->async_read_some ( + boost::asio::async_read (*socket, #if BOOST_VERSION >= 104900 boost::asio::buffer (*request), #else