Merge pull request #5528 from akashihi/nokeepaliveduplicates

connection's reply needs to be reset before handling next request on …
This commit is contained in:
Lev Dragunov 2019-08-29 12:56:27 +03:00 committed by GitHub
commit df60947794
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,6 +147,7 @@ void Connection::handle_write(const boost::system::error_code &error)
{
--processed_requests;
current_request = http::request();
current_reply = http::reply();
request_parser = RequestParser();
this->start();
}