diff --git a/src/server/connection.cpp b/src/server/connection.cpp index 9cc713a9a..ed3a726c6 100644 --- a/src/server/connection.cpp +++ b/src/server/connection.cpp @@ -149,6 +149,8 @@ void Connection::handle_write(const boost::system::error_code &error) current_request = http::request(); current_reply = http::reply(); request_parser = RequestParser(); + incoming_data_buffer = boost::array(); + output_buffer.clear(); this->start(); } else