The HTTP connection class is only used by the tcp_adaptor and ssl_tcp_adaptor which are simply wrappers around the ASIO::ip::tcp::socket and ASIO::ssl::streamASIO::ip::tcp::socket respectively.
The overall design could be simplified by redesigning the connection class to use the asio tcp and ssl sockets directly.
The HTTP
connectionclass is only used by thetcp_adaptorandssl_tcp_adaptorwhich are simply wrappers around theASIO::ip::tcp::socketand ASIO::ssl::streamASIO::ip::tcp::socket respectively.The overall design could be simplified by redesigning the
connectionclass to use the asio tcp and ssl sockets directly.