From 9b35eadcca5b19078c55a10e68abeace81cf032c Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Fri, 16 Feb 2018 17:43:34 +0100 Subject: Improvements for HTTP messages processing Change-Id: I7274a4ace481cc468c1844d1278e2905721c128f Signed-off-by: Mauro Sardara --- apps/consumers/icnet_consumer_test.cc | 1 - 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,4 +1,3 @@ -/* /* * Copyright (c) 2017 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (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 response_; transport::ConsumerSocket consumer_; + std::unique_ptr timer_; + + std::shared_ptr response_; }; } // end namespace http -- cgit 1.2.3-korg