mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Initialize member variables
This commit is contained in:
parent
29c05ed3e8
commit
73134d5f4d
29 changed files with 49 additions and 64 deletions
|
@ -222,21 +222,21 @@ private:
|
|||
bool m_translationFileLoaded = false;
|
||||
|
||||
AuthController *m_authController = nullptr;
|
||||
bool m_isLocalAuthEnabled;
|
||||
bool m_isAuthSubnetWhitelistEnabled;
|
||||
bool m_isLocalAuthEnabled = false;
|
||||
bool m_isAuthSubnetWhitelistEnabled = false;
|
||||
QVector<Utils::Net::Subnet> m_authSubnetWhitelist;
|
||||
int m_sessionTimeout;
|
||||
int m_sessionTimeout = 0;
|
||||
QString m_sessionCookieName;
|
||||
|
||||
// security related
|
||||
QStringList m_domainList;
|
||||
bool m_isCSRFProtectionEnabled;
|
||||
bool m_isSecureCookieEnabled;
|
||||
bool m_isHostHeaderValidationEnabled;
|
||||
bool m_isHttpsEnabled;
|
||||
bool m_isCSRFProtectionEnabled = true;
|
||||
bool m_isSecureCookieEnabled = true;
|
||||
bool m_isHostHeaderValidationEnabled = true;
|
||||
bool m_isHttpsEnabled = false;
|
||||
|
||||
// Reverse proxy
|
||||
bool m_isReverseProxySupportEnabled;
|
||||
bool m_isReverseProxySupportEnabled = false;
|
||||
QVector<Utils::Net::Subnet> m_trustedReverseProxyList;
|
||||
QHostAddress m_clientAddress;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue