| 1196 | } |
| 1197 | |
| 1198 | void HTTPConnection::Receive () |
| 1199 | { |
| 1200 | m_Socket->async_read_some (boost::asio::buffer (m_Buffer, HTTP_CONNECTION_BUFFER_SIZE), |
| 1201 | std::bind(&HTTPConnection::HandleReceive, shared_from_this (), |
| 1202 | std::placeholders::_1, std::placeholders::_2)); |
| 1203 | } |
| 1204 | |
| 1205 | void HTTPConnection::HandleReceive (const boost::system::error_code& ecode, std::size_t bytes_transferred) |
| 1206 | { |