Hi All,
I'm unable to get the MiniHttpServer in tst_qnetworkreply to work with
SSL enabled.
Here's the code that I'm using:
<snip>
// I've left the HTTP response out for brevity, but its supposed to
return 200 OK
MiniHttpServer server("", true);
QUrl localhost = QUrl("https://localhost/");
localhost.setPort(server.serverPort());
QNetworkReplyPtr reply(manager.get(QNetworkRequest(localhost)));
</snip>
With the above code, I'm always getting an error:
...
slotError QAbstractSocket::RemoteHostClosedError "The remote host
closed the connection"
...
Any idea, why its not working for SSL?
Regards,
-mandeep
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development