Get rid of extra/broken async_read.

This commit is contained in:
Arthur Britto
2013-02-01 19:34:06 -08:00
parent 4258e15b58
commit bee86c9b6f

View File

@@ -179,15 +179,6 @@ public:
boost::asio::async_read(PlainSocket(), buffers, cond, handler);
}
template <typename Allocator, typename Handler>
void async_read(basio::basic_streambuf<Allocator>& buffers, Condition cond, Handler handler)
{
if (isSecure())
boost::asio::async_read(*mSocket, buffers, handler);
else
boost::asio::async_read(PlainSocket(), buffers, handler);
}
template <typename Buf, typename Handler> void async_read(const Buf& buffers, Handler handler)
{
if (isSecure())