summaryrefslogtreecommitdiffstats
path: root/src/network/access/qhttpprotocolhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/access/qhttpprotocolhandler.cpp')
-rw-r--r--src/network/access/qhttpprotocolhandler.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/network/access/qhttpprotocolhandler.cpp b/src/network/access/qhttpprotocolhandler.cpp
index ab136af083..b486b75449 100644
--- a/src/network/access/qhttpprotocolhandler.cpp
+++ b/src/network/access/qhttpprotocolhandler.cpp
@@ -129,15 +129,6 @@ void QHttpProtocolHandler::_q_receiveReply()
} else {
replyPrivate->autoDecompress = false;
}
- if (m_connection->connectionType() == QHttpNetworkConnection::ConnectionTypeHTTP2) {
- if (replyPrivate->statusCode == 101) {
- QMetaObject::invokeMethod(m_channel, "_q_protocolSwitch", Qt::QueuedConnection);
- return;
- }
-
- // HTTP/2 is not supported? TODO - but can it be something else?
- m_channel->requeueSpdyRequests();
- }
if (replyPrivate->statusCode == 100) {
replyPrivate->clearHttpLayerInformation();
replyPrivate->state = QHttpNetworkReplyPrivate::ReadingStatusState;