summaryrefslogtreecommitdiff
path: root/http/http_request.hpp
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2020-10-28 18:23:15 +0300
committerEd Tanous <ed@tanous.net>2020-10-29 02:10:06 +0300
commit10f0d240a56e33acf78dae93fa6f71387f2e2af2 (patch)
tree5a46bcb9489b7249f9d47bc12c10310175bcedf6 /http/http_request.hpp
parentdc3fa6671cd588d5a09416da09030f82aff2e50b (diff)
downloadbmcweb-10f0d240a56e33acf78dae93fa6f71387f2e2af2.tar.xz
Revert "Redfish Session : Support ClientOriginIPAddress"
This reverts commit e436008377fbcf287be02c9e9e1b59c6627d7673. Reason for revert: This breaks several things. 1. Not all login endpoints are handled, which lead to returning blank ip addresses 2. IP addresses are not persisted. 3. This crashes occasionally on remote_endpoint, and ignores ec. Change-Id: I58c875721cf48bf02db833c9c57a9eead5e249d5
Diffstat (limited to 'http/http_request.hpp')
-rw-r--r--http/http_request.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/http/http_request.hpp b/http/http_request.hpp
index d9d6cf723c..e5c0c9e982 100644
--- a/http/http_request.hpp
+++ b/http/http_request.hpp
@@ -4,7 +4,6 @@
#include "sessions.hpp"
#include <boost/asio/io_context.hpp>
-#include <boost/asio/ip/address.hpp>
#include <boost/beast/http/message.hpp>
#include <boost/beast/http/string_body.hpp>
#include <boost/beast/websocket.hpp>
@@ -25,7 +24,6 @@ struct Request
const std::string& body;
boost::asio::io_context* ioService{};
- boost::asio::ip::address ipAddress;
std::shared_ptr<persistent_data::UserSession> session;