clear input/output buffers during keepalive clean-up procedure.

Should fix #5545
This commit is contained in:
Denis Chaplygin 2019-09-09 11:20:47 +03:00
parent f1a4b70a56
commit 145974bc92

View File

@ -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<char, 8192>();
output_buffer.clear();
this->start();
}
else