Cleanups.

This commit is contained in:
JoelKatz
2013-01-25 19:14:53 -08:00
parent 4cf0b3d9f3
commit 2fe728bf4e
2 changed files with 2 additions and 2 deletions

View File

@@ -591,7 +591,7 @@ void server<endpoint>::connection<connection_type>::handle_read_request(
m_version = -1;
shared_const_buffer buffer(reply);
m_connection.get_socket().async_write(
buffer,
shared_const_buffer(reply),
boost::bind(
&type::handle_write_response,
m_connection.shared_from_this(),

View File

@@ -73,7 +73,7 @@ public:
}
}
// TLS policy adds the on_autotls_init method to the handler to allow the user
// TLS policy adds the on_tls_init method to the handler to allow the user
// to set up their asio TLS context.
class handler_interface {
public: