Tiny cleanups.

This commit is contained in:
JoelKatz
2013-02-09 20:07:53 -08:00
parent b6f9811001
commit f8f56b96e0
2 changed files with 1 additions and 1 deletions

View File

@@ -589,6 +589,7 @@ void server<endpoint>::connection<connection_type>::handle_read_request(
reply.append("\0", 1);
m_version = -1;
assert(m_response.get_status_code() != http::status_code::SWITCHING_PROTOCOLS);
shared_const_buffer buffer(reply);
m_connection.get_socket().async_write(
shared_const_buffer(reply),