From: Mauro Sardara Date: Fri, 16 Feb 2018 16:43:34 +0000 (+0100) Subject: Improvements for HTTP messages processing X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F14%2F10614%2F1;p=cicn.git Improvements for HTTP messages processing Change-Id: I7274a4ace481cc468c1844d1278e2905721c128f Signed-off-by: Mauro Sardara --- 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