Store the connection and url parameters in std::string

This commit is contained in:
Dávid Major
2017-09-21 17:51:06 +02:00
committed by Felipe Zimmerle
parent ba4e2e3737
commit a5266d6d1c
2 changed files with 15 additions and 19 deletions

View File

@@ -348,22 +348,22 @@ class Transaction : public TransactionAnchoredVariables {
/**
* Holds the client IP address.
*/
const char *m_clientIpAddress;
std::string m_clientIpAddress;
/**
* Holds the HTTP version: 1.2, 2.0, 3.0 and so on....
*/
const char *m_httpVersion;
std::string m_httpVersion;
/**
* Holds the server IP Address
*/
const char *m_serverIpAddress;
std::string m_serverIpAddress;
/**
* Holds the raw URI that was requested.
*/
const char *m_uri;
std::string m_uri;
/**
* Holds the URI that was requests (without the query string).