use 443 (HTTPS) port when testing help URLs

This commit is contained in:
Alexander Bruy 2017-12-11 20:00:48 +02:00
parent 1c6ba5503c
commit 678758c9ba

View File

@ -152,7 +152,7 @@ bool QgsHelp::urlExists( const QString &url )
socket.setProxy( proxy );
}
socket.connectToHost( helpUrl.host(), 80 );
socket.connectToHost( helpUrl.host(), 443 );
if ( socket.waitForConnected() )
{
socket.write( "HEAD " + helpUrl.path().toUtf8() + " HTTP/1.1\r\n"