mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 08:14:48 +02:00
don't request a cert from peer in HTTPSManager
This commit is contained in:
parent
b5bfc84521
commit
0fc2713be1
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ void HTTPSManager::incomingConnection(qintptr socketDescriptor) {
|
|||
|
||||
sslSocket->setLocalCertificate(_certificate);
|
||||
sslSocket->setPrivateKey(_privateKey);
|
||||
sslSocket->setPeerVerifyMode(QSslSocket::VerifyNone);
|
||||
|
||||
if (sslSocket->setSocketDescriptor(socketDescriptor)) {
|
||||
new HTTPSConnection(sslSocket, this);
|
||||
|
@ -48,4 +49,4 @@ bool HTTPSManager::handleHTTPSRequest(HTTPSConnection* connection, const QUrl& u
|
|||
|
||||
bool HTTPSManager::requestHandledByRequestHandler(HTTPConnection* connection, const QUrl& url) {
|
||||
return _sslRequestHandler && _sslRequestHandler->handleHTTPSRequest(reinterpret_cast<HTTPSConnection*>(connection), url);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue