summaryrefslogtreecommitdiff
path: root/http/http_connection.h
diff options
context:
space:
mode:
authorManojkiran Eda <manojkiran.eda@gmail.com>2020-06-16 10:21:38 +0300
committerManojKiran Eda <manojkiran.eda@gmail.com>2020-06-19 06:49:15 +0300
commit4425044ead9d507dddccb92107167d9d367233f7 (patch)
tree86cf47bf3fe8b42fc99e14d73fca6651588c2bb2 /http/http_connection.h
parentc6bfcfc2f0038735d48e1fdaef40e0788f00cef7 (diff)
downloadbmcweb-4425044ead9d507dddccb92107167d9d367233f7.tar.xz
Drop the boost 1.7 related dependency
- There are few pieces in the code, that depends on boost 1.71 & 1.70 library. - Now, that bmcweb is moving towards 1.73, we can safely remove those dependencies. Tested By: - Compiled in all sdks & unittests passed. Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I9ac6a002bf389afcad0ddb92f2e0205043ddb347
Diffstat (limited to 'http/http_connection.h')
-rw-r--r--http/http_connection.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/http/http_connection.h b/http/http_connection.h
index 1a8f6cdca9..5f4681f2a4 100644
--- a/http/http_connection.h
+++ b/http/http_connection.h
@@ -1,6 +1,12 @@
#pragma once
#include "config.h"
+#include "http_response.h"
+#include "logging.h"
+#include "middleware_context.h"
+#include "timer_queue.h"
+#include "utility.h"
+
#include "http_utility.hpp"
#include <boost/algorithm/string.hpp>
@@ -9,23 +15,12 @@
#include <boost/asio/ip/tcp.hpp>
#include <boost/asio/ssl.hpp>
#include <boost/beast/core/flat_static_buffer.hpp>
-
-#include <atomic>
-#if BOOST_VERSION >= 107000
-#include <boost/beast/ssl/ssl_stream.hpp>
-#else
-#include <boost/beast/experimental/core/ssl_stream.hpp>
-#endif
-#include "http_response.h"
-#include "logging.h"
-#include "middleware_context.h"
-#include "timer_queue.h"
-#include "utility.h"
-
#include <boost/beast/http.hpp>
+#include <boost/beast/ssl/ssl_stream.hpp>
#include <boost/beast/websocket.hpp>
#include <ssl_key_handler.hpp>
+#include <atomic>
#include <chrono>
#include <vector>