Remove an assert that can false trigger.

This commit is contained in:
JoelKatz
2013-04-17 15:48:57 -07:00
parent bade087b4e
commit d7ac3cf5cf

View File

@@ -600,7 +600,6 @@ 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),