From: Mauro Sardara Date: Thu, 22 Feb 2018 09:56:25 +0000 (+0100) Subject: Set correct response lifetime X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=031327f64f5be8a0a2d865864cace53bf7932c9c;p=cicn.git Set correct response lifetime Change-Id: If67480382600941c29152fdb7d2c70c8389f2551 Signed-off-by: Mauro Sardara --- diff --git a/http-server/icn_response.cc b/http-server/icn_response.cc index 630ee001..ab2d0915 100644 --- a/http-server/icn_response.cc +++ b/http-server/icn_response.cc @@ -31,7 +31,7 @@ void IcnResponse::send(const SendCallback &callback) { this->publisher_->publishContent(boost::asio::buffer_cast(this->streambuf_.data()), buffer_size, - std::chrono::milliseconds(100000), + response_lifetime_, this->response_id_, this->is_last_);