From 031327f64f5be8a0a2d865864cace53bf7932c9c Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Thu, 22 Feb 2018 10:56:25 +0100 Subject: Set correct response lifetime Change-Id: If67480382600941c29152fdb7d2c70c8389f2551 Signed-off-by: Mauro Sardara --- http-server/icn_response.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_); -- cgit 1.2.3-korg