diff options
author | Ed Tanous <ed.tanous@intel.com> | 2018-05-23 01:27:24 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2018-07-27 01:54:37 +0300 |
commit | 55c7b7a2e58779580f33046d2dd8649243776700 (patch) | |
tree | eed2d032dff3e18c4a8d4778e8f52ae5864620ee /README.md | |
parent | 1752c9657b56a6e1950d8725f44f4298c9872c63 (diff) | |
download | bmcweb-55c7b7a2e58779580f33046d2dd8649243776700.tar.xz |
Move over to upstream c++ style
This patchset moves bmcweb over to the upstream style naming
conventions for variables, classes, and functions, as well as imposes
the latest clang-format file.
This changeset was mostly built automatically by the included
.clang-tidy file, which has the ability to autoformat and auto rename
variables. At some point in the future I would like to see this in
greater use, but for now, we will impose it on bmcweb, and see how it
goes.
Tested: Code still compiles, and appears to run, although other issues
are possible and likely.
Change-Id: If422a2e36df924e897736b3feffa89f411d9dac1
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -21,17 +21,17 @@ The crow project has had a number of additions to make it more useful for use in + Crow server now calls stop before destruction of the Crow app object. + Fixed a bug where timed out websockets would seg fault the system by accessing a destroyed socket object without null checks when in SSL mode. + Added a TestSocketAdapter class that could be used to unit test server behavior without utilizing a socket. -+ Added the "get_routes" call to both the app and the routing Trie class that allows consumers to poll the server for all (or a subset of) registered web routes in the system. ++ Added the "getRoutes" call to both the app and the routing Trie class that allows consumers to poll the server for all (or a subset of) registered web routes in the system. + Hardcoded the websocket implementation for binary mode, instead of leaving protocol unspecified. + Move most uses of std::unordered_map to boost::flat_map to lower memory consumption, and (in some cases) to improve memory locality. -+ Adjust the add_headers mechanism to use a fixed string instead of a full map implementation to avoid unnecessary mallocs and reduce the number of scatter gather buffers on an http response. ++ Adjust the addHeaders mechanism to use a fixed string instead of a full map implementation to avoid unnecessary mallocs and reduce the number of scatter gather buffers on an http response. + Change server name header from Crow/0.1 to iBMC + Starts the http server io_service inside the main thread, instead of creating a new thread. -+ Removes all CROW_MSVC_WORKAROUND flags. ++ Removes all BMCWEB_MSVC_WORKAROUND flags. + Removes the behavior that causes a 301 redirect for paths that end in "/", and simply returns the endpoint requested. This was done for redfish compatibility. + Removes the built in crow/json.hpp package and adds nlohmann json package as the first class json package for crow. + Move uses of boost::array to std::array where possible. -+ Add the ability to get a reference to the crow::request object on websocket connection to allow checking header values. ++ Add the ability to get a reference to the crow::Request object on websocket connection to allow checking header values. + Patch http handler to call middlewares on websocket connections to allow authentication to be applied appropriately. + Adds an is_secure flag to provide information about whether or not the payload was delivered over ssl. |