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
diff --git a/http/http_server.h b/http/http_server.h
index 50e96c2..3287ed9 100644
--- a/http/http_server.h
+++ b/http/http_server.h
@@ -1,25 +1,19 @@
#pragma once
+#include "http_connection.h"
+#include "logging.h"
+#include "timer_queue.h"
+
#include <boost/asio/ip/address.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <boost/asio/signal_set.hpp>
#include <boost/asio/ssl/context.hpp>
#include <boost/asio/steady_timer.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_connection.h"
-#include "logging.h"
-#include "timer_queue.h"
-
#include <boost/date_time/posix_time/posix_time.hpp>
#include <ssl_key_handler.hpp>
+#include <atomic>
#include <chrono>
#include <cstdint>
#include <filesystem>