From 12b90f5977c01fd6c82d3fc8f68c1498ef501219 Mon Sep 17 00:00:00 2001 From: Justin Karneges Date: Thu, 30 Jan 2025 19:53:15 -0800 Subject: [PATCH] fix --- src/handler/httpsession.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/handler/httpsession.cpp b/src/handler/httpsession.cpp index 3d116df1..6325a28a 100644 --- a/src/handler/httpsession.cpp +++ b/src/handler/httpsession.cpp @@ -861,6 +861,11 @@ class HttpSession::Private : public QObject void sendQueueDone() { + // response mode may have switched the state (to Closing). in that + // case we want to leave the state alone and do nothing else + if(state != SendingQueue) + return; + state = Holding; if(instruct.holdMode == Instruct::StreamHold)