diff options
author | Mauro Sardara <msardara+fdio@cisco.com> | 2018-02-22 10:56:25 +0100 |
---|---|---|
committer | Mauro Sardara <msardara+fdio@cisco.com> | 2018-02-22 10:56:25 +0100 |
commit | 031327f64f5be8a0a2d865864cace53bf7932c9c (patch) | |
tree | bf11eaf244d1c600b9f762a0ba8946afafebb926 | |
parent | a81921f0fd4296f8def24665174062782b3480be (diff) |
Set correct response lifetime
Change-Id: If67480382600941c29152fdb7d2c70c8389f2551
Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
-rw-r--r-- | http-server/icn_response.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<const uint8_t *>(this->streambuf_.data()), buffer_size, - std::chrono::milliseconds(100000), + response_lifetime_, this->response_id_, this->is_last_); |