summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-02-08 21:15:33 +0300
committerEd Tanous <ed@tanous.net>2022-02-08 22:38:38 +0300
commitf70a6d9c2d25cfd4b1a3903803e6975fcec8adcf (patch)
treeb353c54ebc42c9fb37c61a7beabe5682b37e313a /src
parent331b2017f90ba0a043c332aab552e09008682143 (diff)
downloadbmcweb-f70a6d9c2d25cfd4b1a3903803e6975fcec8adcf.tar.xz
Implement TODO in beast source file
Now that https://github.com/chriskohlhoff/asio/issues/533 is resolved and https://github.com/boostorg/beast/pull/2331 and https://github.com/boostorg/beast/pull/2337 Are merged and updated into yocto, we can get rid of this ugliness, and do as the author intends. Tested: Unit tests pass, code compiles. Header changes only. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: Ifa61053c5a7e7fe9b5b0232614e8daa9741b1d6c
Diffstat (limited to 'src')
-rw-r--r--src/boost_beast.cpp46
1 files changed, 1 insertions, 45 deletions
diff --git a/src/boost_beast.cpp b/src/boost_beast.cpp
index 0c275a63b1..149761046f 100644
--- a/src/boost_beast.cpp
+++ b/src/boost_beast.cpp
@@ -1,45 +1 @@
-/*
-TODO(ed) This file is largely copied from boost/beast/src.hpp
-Unfortuately the test streams don't compile with -fno-rtti at the moment, so
-those files are commented out
-*/
-
-#define BOOST_BEAST_SOURCE
-
-#include <boost/beast/core/detail/config.hpp>
-
-#include <boost/beast/_experimental/test/impl/error.ipp>
-#include <boost/beast/_experimental/test/impl/fail_count.ipp>
-//#include <boost/beast/_experimental/test/impl/stream.ipp>
-//#include <boost/beast/_experimental/test/detail/stream_state.ipp>
-
-#include <boost/beast/core/detail/base64.ipp>
-#include <boost/beast/core/detail/impl/temporary_buffer.ipp>
-#include <boost/beast/core/detail/sha1.ipp>
-#include <boost/beast/core/impl/error.ipp>
-#include <boost/beast/core/impl/file_posix.ipp>
-#include <boost/beast/core/impl/file_stdio.ipp>
-#include <boost/beast/core/impl/file_win32.ipp>
-#include <boost/beast/core/impl/flat_static_buffer.ipp>
-#include <boost/beast/core/impl/saved_handler.ipp>
-#include <boost/beast/core/impl/static_buffer.ipp>
-#include <boost/beast/core/impl/string.ipp>
-#include <boost/beast/http/detail/basic_parser.ipp>
-#include <boost/beast/http/detail/rfc7230.ipp>
-#include <boost/beast/http/impl/basic_parser.ipp>
-#include <boost/beast/http/impl/error.ipp>
-#include <boost/beast/http/impl/field.ipp>
-#include <boost/beast/http/impl/fields.ipp>
-#include <boost/beast/http/impl/rfc7230.ipp>
-#include <boost/beast/http/impl/status.ipp>
-#include <boost/beast/http/impl/verb.ipp>
-#include <boost/beast/websocket/detail/hybi13.ipp>
-#include <boost/beast/websocket/detail/mask.ipp>
-#include <boost/beast/websocket/detail/pmd_extension.ipp>
-#include <boost/beast/websocket/detail/prng.ipp>
-#include <boost/beast/websocket/detail/service.ipp>
-#include <boost/beast/websocket/detail/utf8_checker.ipp>
-#include <boost/beast/websocket/impl/error.ipp>
-#include <boost/beast/zlib/detail/deflate_stream.ipp>
-#include <boost/beast/zlib/detail/inflate_stream.ipp>
-#include <boost/beast/zlib/impl/error.ipp>
+#include <boost/beast/src.hpp> \ No newline at end of file