Improvements for HTTP messages processing 14/10614/1
authorMauro Sardara <[email protected]>
Fri, 16 Feb 2018 16:43:34 +0000 (17:43 +0100)
committerMauro Sardara <[email protected]>
Fri, 16 Feb 2018 16:43:34 +0000 (17:43 +0100)
Change-Id: I7274a4ace481cc468c1844d1278e2905721c128f
Signed-off-by: Mauro Sardara <[email protected]>
apps/consumers/icnet_consumer_test.cc
icnet/http/icnet_http_client_connection.h

index c10f25c..5c7eecb 100755 (executable)
@@ -1,4 +1,3 @@
-/*
 /*
  * Copyright (c) 2017 Cisco and/or its affiliates.
  * Licensed under the Apache License, Version 2.0 (the "License");
index ae52aa3..b4f8fcc 100644 (file)
@@ -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