Set correct response lifetime 45/10745/1
authorMauro Sardara <[email protected]>
Thu, 22 Feb 2018 09:56:25 +0000 (10:56 +0100)
committerMauro Sardara <[email protected]>
Thu, 22 Feb 2018 09:56:25 +0000 (10:56 +0100)
Change-Id: If67480382600941c29152fdb7d2c70c8389f2551
Signed-off-by: Mauro Sardara <[email protected]>
http-server/icn_response.cc

index 630ee00..ab2d091 100644 (file)
@@ -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_);