Skip to content

Commit

Permalink
Merge branch 'master' into drone_coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
The-EDev committed Aug 14, 2021
2 parents 6812d80 + 4157f41 commit 1743815
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/crow/http_connection.h
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ namespace crow
req_ = std::move(parser_.to_request());
request& req = req_;

req.remoteIpAddress = adaptor_.remote_endpoint().address().to_string();
req.remote_ip_address = adaptor_.remote_endpoint().address().to_string();

if (parser_.check_version(1, 0))
{
Expand Down
2 changes: 1 addition & 1 deletion include/crow/http_request.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ namespace crow
query_string url_params; ///< The parameters associated with the request. (everything after the `?`)
ci_map headers;
std::string body;
std::string remoteIpAddress; ///< The IP address from which the request was sent.
std::string remote_ip_address; ///< The IP address from which the request was sent.

void* middleware_context{};
boost::asio::io_service* io_service{};
Expand Down

0 comments on commit 1743815

Please sign in to comment.