summaryrefslogtreecommitdiffstats
path: root/src/network/access/http2/http2streams_p.h
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>2016-08-16 16:23:54 +0200
committerTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>2016-08-19 16:26:36 +0000
commit4c27221295cbe61bb84adefaa58b1f27fc58a6bf (patch)
treebbf665d68336d6dd36aa592ffbdbd02eebf7dcf5 /src/network/access/http2/http2streams_p.h
parent691dc71a011a28743e4cdbd716c192b21d63b68b (diff)
Refactor Http2::FrameReader/Http2::FrameWriter
Introduce new entity: class Http2::Frame with accessors like payloadSize/type/flags/streamID etc. (they actually read /interpret raw bytes from a frame's buffer) instead of duplicating this functionality in reader/writer classes. Delete defaulted members and remove explicitly defined move ctors/operators (not needed actually). Update auto-test ('HTTP/2 server') to use these new classes. Change-Id: Ie3516efbd095704e212142eef9e792323678ccfa Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/network/access/http2/http2streams_p.h')
-rw-r--r--src/network/access/http2/http2streams_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/access/http2/http2streams_p.h b/src/network/access/http2/http2streams_p.h
index 5d9a6ab512..8a825a5457 100644
--- a/src/network/access/http2/http2streams_p.h
+++ b/src/network/access/http2/http2streams_p.h
@@ -73,11 +73,10 @@ struct Q_AUTOTEST_EXPORT Stream
closed
};
- Stream() = default;
+ Stream();
Stream(const HttpMessagePair &message, quint32 streamID, qint32 sendSize,
qint32 recvSize);
- // TODO: check includes!!!
QHttpNetworkReply *reply() const;
const QHttpNetworkRequest &request() const;
QHttpNetworkRequest &request();