diff options
-rwxr-xr-x | apps/consumers/icnet_consumer_test.cc | 1 | ||||
-rw-r--r-- | icnet/http/icnet_http_client_connection.h | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/consumers/icnet_consumer_test.cc b/apps/consumers/icnet_consumer_test.cc index c10f25ce..5c7eecb0 100755 --- a/apps/consumers/icnet_consumer_test.cc +++ b/apps/consumers/icnet_consumer_test.cc @@ -1,5 +1,4 @@ /* -/* * Copyright (c) 2017 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/icnet/http/icnet_http_client_connection.h b/icnet/http/icnet_http_client_connection.h index ae52aa3e..b4f8fcc3 100644 --- a/icnet/http/icnet_http_client_connection.h +++ b/icnet/http/icnet_http_client_connection.h @@ -55,9 +55,11 @@ class HTTPClientConnection { void processLeavingInterest(transport::ConsumerSocket &c, const transport::Interest &interest, std::string &payload); - std::shared_ptr<HTTPResponse> response_; transport::ConsumerSocket consumer_; + std::unique_ptr<boost::asio::steady_timer> timer_; + + std::shared_ptr<HTTPResponse> response_; }; } // end namespace http |