diff options
author | Mauro Sardara <msardara+fdio@cisco.com> | 2018-02-16 17:43:34 +0100 |
---|---|---|
committer | Mauro Sardara <msardara+fdio@cisco.com> | 2018-02-16 17:43:34 +0100 |
commit | 9b35eadcca5b19078c55a10e68abeace81cf032c (patch) | |
tree | c3fbac3dbddad1fc2c3c5988b0df4251a9b73ede /icnet | |
parent | 953f18b834951680c738e9ce367b5a3eff91ccda (diff) |
Improvements for HTTP messages processing
Change-Id: I7274a4ace481cc468c1844d1278e2905721c128f
Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'icnet')
-rw-r--r-- | icnet/http/icnet_http_client_connection.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |