From a246286c46b7009ac759134269d4405b07535ef2 Mon Sep 17 00:00:00 2001 From: Lena Biliaieva Date: Tue, 14 May 2024 14:57:51 +0200 Subject: [PATCH] Http2: Export configurationToSettingsFrame(const QHttp2Configuration &) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Q_AUTOTEST_EXPORT to access it from tests Task-number: QTBUG-122312 Change-Id: I4f7b93d476ac9cdb4b9d8338680cd681c949b039 Reviewed-by: MÃ¥rten Nordheim --- src/network/access/http2/http2protocol_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/access/http2/http2protocol_p.h b/src/network/access/http2/http2protocol_p.h index fb5ff199c5c..f0f18d1dd54 100644 --- a/src/network/access/http2/http2protocol_p.h +++ b/src/network/access/http2/http2protocol_p.h @@ -117,7 +117,7 @@ const qint32 maxSessionReceiveWindowSize((quint32(1) << 31) - 1); // Presumably, we never use up to 100 streams so let it be 10 simultaneous: const qint32 qtDefaultStreamReceiveWindowSize = maxSessionReceiveWindowSize / 10; -struct Frame configurationToSettingsFrame(const QHttp2Configuration &configuration); +struct Frame Q_AUTOTEST_EXPORT configurationToSettingsFrame(const QHttp2Configuration &configuration); QByteArray settingsFrameToBase64(const Frame &settingsFrame); void appendProtocolUpgradeHeaders(const QHttp2Configuration &configuration, QHttpNetworkRequest *request); std::vector assemble_hpack_block(const std::vector &frames);