Skip to content

Commit

Permalink
Tiny cleanups.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelKatz authored and vinniefalco committed May 3, 2013
1 parent ec4100d commit 1c7e7b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/roles/server.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 1c7e7b4

Please sign in to comment.