mirror of https://github.com/kiwix/libkiwix.git
Renamed a data member
This commit is contained in:
parent
02f631fdb6
commit
c2fffacbbd
|
@ -415,7 +415,7 @@ InternalServer::InternalServer(Library* library,
|
||||||
m_addr(addr),
|
m_addr(addr),
|
||||||
m_port(port),
|
m_port(port),
|
||||||
m_root(normalizeRootUrl(root)),
|
m_root(normalizeRootUrl(root)),
|
||||||
m_rootWithSeparator(m_root + "/"),
|
m_rootPrefixOfDecodedURL(m_root + "/"),
|
||||||
m_nbThreads(nbThreads),
|
m_nbThreads(nbThreads),
|
||||||
m_multizimSearchLimit(multizimSearchLimit),
|
m_multizimSearchLimit(multizimSearchLimit),
|
||||||
m_verbose(verbose),
|
m_verbose(verbose),
|
||||||
|
@ -522,7 +522,7 @@ MHD_Result InternalServer::handlerCallback(struct MHD_Connection* connection,
|
||||||
printf("full_url : %s\n", fullUrl);
|
printf("full_url : %s\n", fullUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto url = fullURL2LocalURL(fullUrl, m_rootWithSeparator);
|
const auto url = fullURL2LocalURL(fullUrl, m_rootPrefixOfDecodedURL);
|
||||||
RequestContext request(connection, m_root, url, method, version);
|
RequestContext request(connection, m_root, url, method, version);
|
||||||
|
|
||||||
if (m_verbose.load() ) {
|
if (m_verbose.load() ) {
|
||||||
|
|
|
@ -163,8 +163,8 @@ class InternalServer {
|
||||||
private: // data
|
private: // data
|
||||||
std::string m_addr;
|
std::string m_addr;
|
||||||
int m_port;
|
int m_port;
|
||||||
std::string m_root; // URI-encoded
|
std::string m_root; // URI-encoded
|
||||||
std::string m_rootWithSeparator; // URI-decoded
|
std::string m_rootPrefixOfDecodedURL; // URI-decoded
|
||||||
int m_nbThreads;
|
int m_nbThreads;
|
||||||
unsigned int m_multizimSearchLimit;
|
unsigned int m_multizimSearchLimit;
|
||||||
std::atomic_bool m_verbose;
|
std::atomic_bool m_verbose;
|
||||||
|
|
Loading…
Reference in New Issue