From d3292dbeb60cc4f13be06e07a7408a0d0817975d Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Thu, 6 Mar 2025 17:40:01 +0100 Subject: [PATCH] Swap sending of SETTINGS ACK frame and emitting the signal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This allows API users sending the HEADERS and DATA frames after the SETTINGS ACK right from settingsFrameReceived slot, and keep the expected frame order. Pick-to: 6.8 6.9 Change-Id: I7900e786074d1d534c2e14f00e2aedf8dbb3a9d9 Reviewed-by: MÃ¥rten Nordheim --- src/network/access/qhttp2connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/access/qhttp2connection.cpp b/src/network/access/qhttp2connection.cpp index c9b3bf11545..82fe73998d8 100644 --- a/src/network/access/qhttp2connection.cpp +++ b/src/network/access/qhttp2connection.cpp @@ -1602,8 +1602,8 @@ void QHttp2Connection::handleSETTINGS() } qCDebug(qHttp2ConnectionLog, "[%p] Sending SETTINGS ACK", this); - emit settingsFrameReceived(); sendSETTINGS_ACK(); + emit settingsFrameReceived(); } void QHttp2Connection::handlePUSH_PROMISE()