qhttpthreaddelegate: Fix build with -no-ssl after @70d8460fc20
Just fixing the typo -> misplaced #ifndef guard. Change-Id: Ib3b0ceb615f45291cb64a0ed6c7f3a370dc506bf Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
parent
affb6700a4
commit
bf21f71b43
@ -293,10 +293,10 @@ void QHttpThreadDelegate::startRequest()
|
||||
= httpRequest.isHTTP2Allowed() ? QHttpNetworkConnection::ConnectionTypeHTTP2
|
||||
: QHttpNetworkConnection::ConnectionTypeHTTP;
|
||||
|
||||
#ifndef QT_NO_SSL
|
||||
if (ssl && !incomingSslConfiguration.data())
|
||||
incomingSslConfiguration.reset(new QSslConfiguration);
|
||||
|
||||
#ifndef QT_NO_SSL
|
||||
if (httpRequest.isHTTP2Allowed() && ssl) {
|
||||
QList<QByteArray> protocols;
|
||||
protocols << QSslConfiguration::ALPNProtocolHTTP2
|
||||
|
Loading…
Reference in New Issue
Block a user