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 | |
parent | 953f18b834951680c738e9ce367b5a3eff91ccda (diff) |
Improvements for HTTP messages processing
Change-Id: I7274a4ace481cc468c1844d1278e2905721c128f
Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
-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 |