: Distribution Release: Chakra GNU/Linux 2014.02.: Distribution Release: Chakra GNU/Linux 2014.05.: Distribution Release: Chakra GNU/Linux 2014.09.: Distribution Release: Chakra GNU/Linux 2014.11.: Distribution Release: Chakra GNU/Linux 2015.03.: Distribution Release: Chakra GNU/Linux 2015.11.: Distribution Release: Chakra GNU/Linux 2016.02.: Distribution Release: Chakra GNU/Linux 2017.03.: Distribution Release: Chakra GNU/Linux 2017.10.: Development Release: Chakra GNU/Linux 2019.01 RC2.Releases announcements with download links and checksums: It features a graphical installer, automatic hardware detection and configuration, the latest KDE desktop, and a variety of tools and extras.Īverage visitor rating: 8.25/10 from 20 review(s). Based on: Independent (forked from Arch)Ĭhakra GNU/Linux is a user-friendly and powerful distribution and live CD originally forked from Arch Linux.If (settings.value(QLatin1String("enabled"), false). Settings.beginGroup(QLatin1String("proxy")) Void NetworkAccessManager::loadSettings() QDebug() << "SSL Echo Server listening on port" << port Ĭonnect(m_pWebSocketServer, &QWebSocketServer::newConnection,Ĭonnect(m_pWebSocketServer, &QWebSocketServer::sslErrors, If (m_pWebSocketServer->listen(QHostAddress::Any, port)) ![]() M_pWebSocketServer->setSslConfiguration(sslConfiguration) QSslKey sslKey(&keyFile, QSsl::Rsa, QSsl::Pem) QSslCertificate certificate(&certFile, QSsl::Pem) QFile keyFile(QStringLiteral("./localhost.key")) QFile certFile(QStringLiteral("./localhost.cert")) M_pWebSocketServer = new QWebSocketServer(QStringLiteral("SSL Echo Server"), SslEchoServer::SslEchoServer(quint16 port, QObject *parent) : tPrivateKey( pkibundle->clientCertKey() ) tLocalCertificate( pkibundle->clientCert() ) QSslConfiguration sslConfig( QSslConfiguration::defaultConfiguration() ) QSslConfiguration sslConfig = request.sslConfiguration() QgsDebugMsg( QStringLiteral( "Update request SSL config: PKI bundle valid for authcfg: %1" ).arg( authcfg ) ) QgsDebugMsg( QStringLiteral( "Update request SSL config FAILED for authcfg: %1: PKI bundle invalid" ).arg( authcfg ) ) If ( !pkibundle || !pkibundle->isValid() ) QgsPkiConfigBundle *pkibundle = getPkiConfigBundle( authcfg ) QgsDebugMsg( QStringLiteral( "Update request SSL config: HTTPS connection for authcfg: %1" ).arg( authcfg ) ) QgsDebugMsg( QStringLiteral( "Update request SSL config SKIPPED for authcfg %1: not HTTPS" ).arg( authcfg ) ) If ( request.url().scheme().toLower() != QLatin1String( "https" ) ) ![]() TODO: is this too restrictive, to intercept only HTTPS connections? This->page()->networkAccessManager()->setCookieJar(myjar) Ĭonnect( page()->networkAccessManager(), SIGNAL( sslErrors( QNetworkReply*, const QList & ) ) ,this,SLOT( handleSslErrors( QNetworkReply*, const QList & ) ) ) Ĭonnect( page()->networkAccessManager(), SIGNAL( authenticationRequired( QNetworkReply*,QAuthenticator* ) ), this,SLOT( ProvideAuthentication(QNetworkReply*,QAuthenticator* ) ) ) Ĭonnect( page()->networkAccessManager(), SIGNAL( proxyAuthenticationRequired(const QNetworkProxy &, QAuthenticator *)), this, SLOT( ProvideProxAuthentication( const QNetworkProxy&, QAuthenticator*) ) ) Ĭonnect( page()->networkAccessManager(), SIGNAL( finished ( QNetworkReply *)),this,SLOT(NetworkTaskfinished (QNetworkReply *))) īool QgsAuthIdentCertMethod::updateNetworkRequest( QNetworkRequest &request, const QString &authcfg, QNetworkCookieJar *myjar = new QNetworkCookieJar() Tsettings->setAttribute( QWebSettings::JavascriptCanOpenWindows, true) Tsettings->setAttribute( QWebSettings::JavaEnabled, true ) Tsettings->setAttribute( QWebSettings::AutoLoadImages, true ) Tsettings->setAttribute( QWebSettings::PluginsEnabled, true ) ![]() Tsettings->setAttribute( QWebSettings::JavascriptEnabled, true ) QSslConfiguration::setDefaultConfiguration( sslConfig ) tProtocol( QSsl::SslV3 ) //Seems under ubuntu we need to specify the version QSslConfiguration sslConfig = QSslConfiguration::defaultConfiguration() This is needed in Ubuntu under QT 5 for SSL to work ItsBrowser::itsBrowser( QWidget *parent ) : _googleReply = networkManager->get(qheader) Ĭonnect(_googleReply, &QNetworkReply::finished, this, &UrlFactory::_googleVersionCompleted) Ĭonnect(_googleReply, &QNetworkReply::destroyed, this, &UrlFactory::_replyDestroyed) Ĭonnect(_googleReply, static_cast(&QNetworkReply::error), Ua.append(getQGCMapEngine()->userAgent()) ![]() QSslConfiguration conf = qheader.sslConfiguration() Ĭonf.setPeerVerifyMode(QSslSocket::VerifyNone) QNetworkProxy proxy = networkManager->proxy() QMutexLocker locker(&_googleVersionMutex) UrlFactory::_tr圜orrectGoogleVersions(QNetworkAccessManager* networkManager)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |