clear input/output buffers during keepalive clean-up procedure.
Should fix #5545
This commit is contained in:
parent
f1a4b70a56
commit
145974bc92
@ -149,6 +149,8 @@ void Connection::handle_write(const boost::system::error_code &error)
|
|||||||
current_request = http::request();
|
current_request = http::request();
|
||||||
current_reply = http::reply();
|
current_reply = http::reply();
|
||||||
request_parser = RequestParser();
|
request_parser = RequestParser();
|
||||||
|
incoming_data_buffer = boost::array<char, 8192>();
|
||||||
|
output_buffer.clear();
|
||||||
this->start();
|
this->start();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user