Added HTTPS support (backend)

This commit is contained in:
Ishan Arora
2011-05-07 13:48:42 +00:00
parent 122db6a77e
commit 669d1a3a46
3 changed files with 74 additions and 0 deletions

View File

@@ -63,6 +63,9 @@ public:
void increaseNbFailedAttemptsForIp(QString ip);
void resetNbFailedAttemptsForIp(QString ip);
private:
void incomingConnection(int socketDescriptor);
private slots:
void newHttpConnection();
void onTimer();
@@ -75,6 +78,9 @@ private:
QTimer *timer;
QHash<QString, int> client_failed_attempts;
bool m_localAuth;
bool m_https;
QSslCertificate m_certificate;
QSslKey m_key;
};
#endif