From ee47999333dde1d38b73d04e142e05f06f8c56ed Mon Sep 17 00:00:00 2001 From: Timur Pocheptsov Date: Wed, 23 May 2018 14:17:58 +0200 Subject: [PATCH] Http/2 - remove unused 'compressedData' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and thus reduce memory consumption, allocations etc. Task-number: QTBUG-68394 Change-Id: Ibad9b01a1e709e6abafcd9531fbcfc1eafa9cff3 Reviewed-by: MÃ¥rten Nordheim --- src/network/access/qhttp2protocolhandler.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/network/access/qhttp2protocolhandler.cpp b/src/network/access/qhttp2protocolhandler.cpp index 22541e83ba..c207d6e240 100644 --- a/src/network/access/qhttp2protocolhandler.cpp +++ b/src/network/access/qhttp2protocolhandler.cpp @@ -1150,7 +1150,6 @@ void QHttp2ProtocolHandler::updateStream(Stream &stream, const Frame &frame, auto &httpRequest = stream.request(); auto replyPrivate = httpReply->d_func(); - replyPrivate->compressedData.append(data, length); replyPrivate->totalProgress += length; const QByteArray wrapped(data, length);