mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
fixed incomplete response
This commit is contained in:
@@ -1480,7 +1480,7 @@ namespace http {
|
|||||||
reply.body = content;
|
reply.body = content;
|
||||||
|
|
||||||
m_SendBuffer = reply.to_string();
|
m_SendBuffer = reply.to_string();
|
||||||
boost::asio::async_write (*m_Socket, boost::asio::buffer(m_SendBuffer),
|
boost::asio::async_write (*m_Socket, boost::asio::buffer(m_SendBuffer), boost::asio::transfer_all (),
|
||||||
std::bind (&HTTPConnection::Terminate, shared_from_this (), std::placeholders::_1));
|
std::bind (&HTTPConnection::Terminate, shared_from_this (), std::placeholders::_1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user