mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-27 18:03:52 +08:00
7ac52e2374
* no outline
* disable on qcom for now
* fix qt 5.12.8
* cleanup drive stats
* widgets cleanup
* ssl test
* revert that
* disable by default
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ec8b21c261
23 lines
711 B
C++
23 lines
711 B
C++
#include <QDebug>
|
|
#include <QApplication>
|
|
#include <QSslSocket>
|
|
#include <QNetworkProxy>
|
|
|
|
int main(int argc, char **argv) {
|
|
QCoreApplication app(argc, argv);
|
|
QSslSocket socket;
|
|
|
|
socket.setPeerVerifyMode(QSslSocket::VerifyNone);
|
|
|
|
qDebug() << "Supports SSL: " << QSslSocket::supportsSsl();
|
|
qDebug() << "Version: " << QSslSocket::sslLibraryVersionString() << " " << QSslSocket::sslLibraryVersionNumber();
|
|
qDebug() << "Build Version: " << QSslSocket::sslLibraryBuildVersionString() << " " << QSslSocket::sslLibraryBuildVersionNumber();
|
|
|
|
socket.connectToHost("www.google.com", 443);
|
|
|
|
socket.write("GET / HTTP/1.1rnrn");
|
|
|
|
while (socket.waitForReadyRead())
|
|
qDebug() << socket.readAll().data();
|
|
}
|